joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004a460
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x1004a46d
xor eax, eax
pop ebx
ret
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, 0x44
call fcn.100414d0
mov edi, eax
test edi, edi
jne 0x1004a487
pop edi
pop esi
pop ebx
ret
mov eax, dword [ebx]
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
push eax
push esi
call fcn.10044420
mov dword [edi], eax
mov ecx, dword [ebx + 8]
push ebp
push ecx
push esi
call fcn.1004a210
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ebp
push eax
push esi
call fcn.10050fd0
mov dword [edi + 0xc], eax
mov edx, dword [ebx + 0x10]
push ebp
push edx
push esi
call fcn.10044420
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ebp
push eax
push esi
call fcn.10050fd0
add esp, 0x44
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push ebp
push eax
push esi
call fcn.10044420
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
mov byte [edi + 4], cl
mov edx, dword [ebx + 0x1c]
push ebp
push edx
push esi
call fcn.1004a460
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ebp
push eax
push esi
call fcn.10050fd0
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push ebp
push eax
push esi
call fcn.10050fd0
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
add esp, 0x38
mov edx, 0xfff7
mov dword [edi + 0x24], eax
and cx, dx
or eax, 0xffffffff
pop ebp
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov word [edi + 6], cx
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x100528c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esi]
xor ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
jmp 0x100528e0
mov al, byte [ebp + 0x100f3bb4]
mov byte [esp + 0x10], al
test edi, edi
je 0x10052965
cmp byte [edi], 0
mov eax, edi
je 0x100528fb
inc eax
cmp byte [eax], 0
jne 0x100528f5
mov ecx, dword [esp + 0x20]
sub eax, edi
and eax, 0x3fffffff
add ecx, 0x188
cmp dword [ecx + 0xc], 0
mov ebx, eax
je 0x1005294d
xor eax, eax
mov esi, ebx
mov edx, edi
test ebx, ebx
jle 0x10052943
mov edi, edi
movzx edi, byte [edx]
movzx edi, byte [edi + 0x100f3488]
lea ebp, [eax*8]
xor edi, ebp
dec esi
xor eax, edi
inc edx
test esi, esi
jg 0x10052920
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
xor edx, edx
div dword [ecx]
jmp 0x1005294f
xor edx, edx
push edi
call fcn.10037090
add esp, 4
test eax, eax
je 0x10052961
mov eax, dword [eax + 8]
jmp 0x1005296c
xor eax, eax
jmp 0x1005296c
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x1005297c
movzx ecx, byte [esp + 0x10]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x1005299d
inc ebp
cmp ebp, 3
mov dword [esp + 0x14], ebp
jl 0x100528e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [eax + 0x10]
pop edi
mov dword [esi + 0x10], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x10096841
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi]
cmp dword [eax + 4], 2
push ebx
sete bl
push edi
test bl, bl
je 0x10096863
push dword [eax + 8]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [esi + 0xc]
jmp 0x10096894
cmp dword [esi + 8], 0
jne 0x10096884
push 0x1011d584
push dword [eax + 8]
call fcn.100b0891
pop ecx
pop ecx
mov dword [esi + 8], eax
test eax, eax
jne 0x10096884
or eax, 0xffffffff
jmp 0x100968bb
push dword [esi + 8]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.100b07b8
mov edi, eax
add esp, 0x10
test edi, edi
je 0x100968a2
cmp edi, dword [ebp + 0xc]
jbe 0x100968b9
test bl, bl
jne 0x100968b3
push dword [esi + 8]
call fcn.100b04fa
and dword [esi + 8], 0
pop ecx
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop ebx
pop ebp
ret
Function at 0x1009eeaa
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [esi + 0x140]
test ecx, ecx
je 0x1009eecc
push dword [esi + 0xe4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
push esi
call ecx
add esp, 0x14
pop ebp
ret
test eax, eax
js 0x1009ef03
cmp eax, 2
jg 0x1009ef03
push dword [esi + 0xe0]
imul eax, eax, 3
push 1
add eax, 0x100fa6ac
push 2
push eax
call fcn.100b0d85
push dword [esi + 0xe0]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100b0d85
add esp, 0x20
xor eax, eax
pop ebp
ret

Function at 0x100a0109
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 1
push 0x24
call fcn.100add66
mov esi, eax
xor ebx, ebx
xor eax, eax
pop ecx
lea edi, [ebp - 8]
mov dword [ebp - 0xc], ebx
pop ecx
stosd dword es:[edi], eax
cmp esi, ebx
jne 0x100a013d
push 0xc
call dword [0x100f2054]
xor al, al
jmp 0x100a0282
mov edi, dword [ebp + 8]
lea eax, [edi + 0x2bc]
push dword [eax]
mov dword [ebp - 4], eax
call fcn.100974c6
push dword [ebp + 0xc]
call fcn.100cb6cf
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
cmp eax, ebx
jne 0x100a016c
push esi
call fcn.100ad811
pop ecx
jmp 0x100a012e
mov eax, dword [ebp + 0x10]
push ebx
push 1
mov dword [edi + 0x2c0], eax
mov byte [edi + 0x2c8], bl
mov dword [edi + 0x2cc], ebx
mov dword [edi + 0x2c4], ebx
mov dword [edi + 0x2d0], esi
or dword [esi + 0xc], 0xffffffff
push ebx
call dword [0x100f2268]
mov dword [esi + 0x10], eax
cmp eax, ebx
jne 0x100a01af
push dword [ebp - 4]
call fcn.100a004d
pop ecx
push 0xb
jmp 0x100a0130
push ebx
push ebx
push 1
push ebx
call dword [0x100f2240]
mov dword [esi + 0x14], eax
cmp eax, ebx
je 0x100a01a2
push ebx
push ebx
push ebx
call dword [0x100f2268]
mov dword [esi + 0x1c], eax
cmp eax, ebx
je 0x100a01a2
push ebx
push ebx
push 1
push ebx
call dword [0x100f2240]
mov dword [esi + 0x20], eax
cmp eax, ebx
je 0x100a01a2
push ebx
push ebx
push 1
push ebx
call dword [0x100f2240]
mov dword [esi + 0x18], eax
cmp eax, ebx
je 0x100a01a2
lea eax, [esi + 4]
push eax
push ebx
push edi
push 0x1009ff9b
push ebx
push ebx
call fcn.100b3016
add esp, 0x18
mov dword [esi], eax
cmp eax, ebx
jne 0x100a022b
call fcn.100b2f08
push dword [eax]
call dword [0x100f2054]
push dword [ebp - 4]
call fcn.100a004d
pop ecx
jmp 0x100a0136
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x18]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
push ebx
lea eax, [ebp - 0xc]
push eax
push 2
call dword [0x100f226c]
push ebx
push 2
push 2
call dword [0x100f23ec]
push ebx
mov ecx, eax
push ebx
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 8
lea eax, [ebp - 0x14]
push eax
push 0x9800012c
push ecx
mov dword [esi + 0xc], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x5010000
call dword [0x100f23f0]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100a66da
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 8]
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x100a66e9
jmp dword [eax*4 + 0x100a675e]
mov al, 0x41
pop ebp
ret
mov al, 0x42
pop ebp
ret
mov al, 0x43
pop ebp
ret
mov al, 0x44
pop ebp
ret
mov al, 0x45
pop ebp
ret
mov al, 0x46
pop ebp
ret
mov al, 0x47
pop ebp
ret
mov al, 0x48
pop ebp
ret
mov al, 0x49
pop ebp
ret
mov al, 0x4a
pop ebp
ret
mov al, 0x4b
pop ebp
ret
mov al, 0x4c
pop ebp
ret
mov al, 0x4d
pop ebp
ret
mov al, 0x4e
pop ebp
ret
mov al, 0x4f
pop ebp
ret
mov al, 0x50
pop ebp
ret
mov al, 0x51
pop ebp
ret
mov al, 0x52
pop ebp
ret
mov al, 0x53
pop ebp
ret
mov al, 0x54
pop ebp
ret
mov al, 0x55
pop ebp
ret
mov al, 0x56
pop ebp
ret
mov al, 0x57
pop ebp
ret
mov al, 0x58
pop ebp
ret
mov al, 0x59
pop ebp
ret
mov al, 0x5a
pop ebp
ret
mov al, byte [ebp + 8]
pop ebp
ret

Function at 0x100a8c43
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x100aacf0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x100e51e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101215a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x100aac30
push 0
push 0
call fcn.100b3016
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x100aad5b
lea ecx, [esp + 0x10]
call fcn.100ad0b0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], 0x100fab8c
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x2c], ebx
call fcn.100013dc
mov eax, dword [edi]
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [edi]
mov eax, dword [esi + 8]
test eax, eax
je 0x100aad7e
cmp eax, 0xffffffff
je 0x100aad7e
push eax
call dword [0x100f2238]
mov dword [esi + 8], ebx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push eax
call dword [0x100f21f8]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x100cd3a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100e5870
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x101215a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0
push 0x100faad4
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
mov dword [esi], 0x100fdf44
call fcn.10009020
mov byte [esp + 0x38], 1
call fcn.100a9b4f
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov byte [esp + 0x38], 0
call fcn.100090af
mov dword [esi], 0x100fdf68
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x10005f42
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x10006004
push 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x10006004
mov ecx, dword [ebp - 0xc]
add ecx, 2
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10006004
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10006004
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, 1
jmp 0x1000601f
cmp dword [ebp - 0x10], 0
je 0x10006014
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x7ba6b4
Capabilities:
Encode data using xor

Disassembly:
iretd
jle 0x7ba682
das
cmp al, 0xf1
pop eax
inc edx
cmp eax, 0x8eba62e
jmp 0x7ba6be
add al, ah
add eax, dword [eax]
add byte [eax], al
add byte [eax], al
jmp 0x7ba6be
pushal
call 0x7ba6c4
pop ebp
sub ebp, 0x10
sub ebp, 0x3ba6b4
jmp 0x7ba6da
mov eax, 0x3ba6b4
add eax, ebp
add eax, 0x4c
mov ecx, 0x60e
push cs
push es
add byte [eax], al
mov edx, 0x9bffbd69
xor byte [eax], dl
inc eax
dec ecx
jne 0x7ba6f1
jmp 0x7ba704
loop 0x7ba6aa
loop 0x7ba6e8
push ebp
imul ebp, dword [ecx + 0x69], 0x6991a8e8
imul ebp, dword [ecx + 0x6a], 0x696dd1a4
imul ebp, dword [ecx - 0x2d], 0x69696941
call 0x69e538b9
imul ebp, dword [edx - 0x5c], 0x69696dd1
imul edx, ebx, 0x69696941
sahf
mov ebp, dword [edx - 0x5f]
loop 0x7ba70c
imul ebp, dword gs:[ecx + 0x69], 0x3939ac6a
add dword [ecx + 0x1696712], edi
lea eax, [ebx + 0x44]
imul ebp, dword [eax + 0x45], 0x54eb014d
inc edi
iretd
Function at 0x1021a270
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10241850], 0
mov byte [0x10241854], 0
mov edi, dword [0x10241848]
add edi, 0xffffe149
mov dword [0x10241844], edi
mov dword [0x1024184c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10241848]
mov esi, eax
add esi, 0xffffe149
mov dword [0x10241844], esi
mov esi, dword [0x1024184c]
add esi, 1
mov dword [0x1024184c], esi
cmp esi, 0x100
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
jl 0x1021a2bd
mov eax, dword [ebp - 0x20]
xor ecx, ecx
add eax, 0xffffd525
mov dword [0x10241848], eax
mov dword [0x1024184c], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x10241858], 0
mov dword [0x10241844], 0x2253
mov esi, dword [0x10241850]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x10241858], ebx
mov eax, ebx
cdq
mov ebx, dword [ebp - 0x30]
idiv ebx
mov dword [0x10241850], edx
mov dword [0x10241844], 0x1af3
mov esi, dword [ebp - 0x2c]
mov bl, byte [edi + esi]
mov byte [0x10241854], bl
add ecx, 0xffffe224
mov dword [0x10241848], ecx
mov bl, byte [edi + edx]
mov byte [edi + esi], bl
mov bl, byte [0x10241854]
mov ecx, dword [0x10241850]
mov byte [edi + ecx], bl
mov ecx, dword [0x10241848]
mov edx, ecx
add edx, 0xffffe149
mov dword [0x10241844], edx
mov esi, dword [0x1024184c]
add esi, 1
mov dword [0x1024184c], esi
cmp esi, 0x100
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], edx
jl 0x1021a31c
mov eax, dword [ebp - 0x34]
mov dword [0x10241844], eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1021a980
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1021aa4b
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x1021aa1a
jmp 0x1021aafe
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x1021aac5
jmp 0x1021aafe
mov eax, dword [ebp - 0x24]
mov ecx, 0x106d
xor edx, edx
mov esi, dword [ebp - 0x10]
cmp word [esi + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
je 0x1021aa7d
jmp 0x1021aafe
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x25], dl
mov eax, 0x106d
xor ecx, ecx
mov dl, byte [ebp - 0x25]
test dl, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jne 0x1021aae7
jmp 0x1021aafe
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], edx
je 0x1021a9f6
mov eax, dword [ebp - 0x2c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
jl 0x1021aa4b
jmp 0x1021a9f6
mov eax, 0x106d
xor ecx, ecx
mov dword [0x10241844], 0x11f2
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jne 0x1021aafe
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x1021a9d1
jmp 0x1021aafe
mov eax, 0x106d
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
cmp word [edx + esi*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x1021a9b0
jmp 0x1021aafe
mov eax, 1
mov ecx, dword [0x10241848]
add ecx, 0xef6
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [0x10241848], ecx
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x1021ab10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
lea eax, [esp + 0x38]
lea ecx, [esp + 0x48]
mov edx, dword [0x10241844]
mov esi, edx
add esi, 0xffffff71
mov dword [0x10241844], esi
add edx, 0xfffff428
mov dword [0x10241848], edx
mov dword [esp], eax
mov dword [esp + 0x34], ecx
call fcn.1021a410
lea ecx, [0x1021af20]
mov edx, 0xa69
mov esi, dword [esp + 0x38]
mov dword [esp + 0x48], esi
mov dword [0x10241848], 0x12c8
mov dword [esp + 0x94], 0x110c00
mov esi, dword [0x10241830]
mov dword [esp + 0x6c], esi
mov esi, dword [0x10241834]
mov dword [esp + 0x88], esi
mov esi, dword [0x10241838]
mov dword [esp + 0x4c], esi
mov esi, dword [0x1024183c]
mov dword [esp + 0x60], esi
mov dword [0x10241844], 0x1bd1
mov esi, dword [0x10241840]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp word [ecx], 0x5a4d
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
je 0x1021ac21
jmp 0x1021ac41
lea eax, [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1021b430
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x10241848]
add ecx, 0xffffd92f
mov dword [0x10241844], ecx
mov dword [esp + 0x1c], eax
jmp 0x1021aca6
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
je 0x1021ac69
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
mov eax, 0x890
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
jmp 0x1021abc7
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [0x10241848], eax
mov dword [esp + 0x50], ecx
mov dword [0x10241844], 0x39d
mov eax, dword [ecx + edx + 0x50]
mov dword [esp + 0x64], eax
call fcn.1021a980
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
je 0x1021abe0
mov eax, dword [esp + 0x1c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1021ad50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1024184c], 0
mov dword [0x10241850], 0
mov dword [0x1024185c], 0
mov edi, dword [0x10241848]
mov ebx, edi
add ebx, 0xffffe149
mov dword [0x10241844], ebx
add edi, 0xffffd49d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x20]
mov dword [0x10241848], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
je 0x1021af0a
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
jmp 0x1021add4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1024184c], edx
mov dword [0x10241844], 0x13cb
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10241850], edx
mov dword [0x10241848], 0x7fe
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10241854], cl
mov dword [0x10241844], 0xfae
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x10241848]
add edx, 0xffffe149
mov dword [0x10241844], edx
mov cl, byte [0x10241854]
mov edx, dword [0x10241850]
mov byte [edi + edx], cl
mov edx, dword [0x10241844]
add edx, 0xffffddc4
mov dword [0x10241844], edx
mov edx, dword [0x1024184c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10241850]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov edx, dword [0x10241848]
mov ecx, edx
add ecx, 0xffffe149
and ebx, 0xff
mov dword [0x1024185c], ebx
mov dword [0x10241844], ecx
mov cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x30]
xor cl, byte [ebx + esi]
add edx, 0xffffa56d
mov dword [0x10241844], edx
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], cl
mov dword [0x10241848], 0x87a
add esi, 1
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
mov dword [ebp - 0x3c], esi
je 0x1021af08
mov eax, dword [0x1024184c]
mov dword [ebp - 0x40], eax
mov eax, dword [0x10241850]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], edx
jmp 0x1021add4
jmp 0x1021af0a
mov dword [0x10241844], 0x584
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret