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

Disassembly:
sub esp, 0x20
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x42d052
lea ebx, [esp + 0x24]
cmp dword [edx + 8], ebx
jne 0x42d04e
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
lea edi, [ecx + 0x14]
mov dword [esp + 0x14], edi
movzx ebx, byte [edx + 6]
test bl, bl
jne 0x42d008
mov ebx, dword [edx]
test ebx, ebx
jne 0x42cfc8
mov ebx, dword [edx + 0x10]
mov ebp, dword [0x613370]
test ebp, ebp
jne 0x42cfb4
mov dword [edx + 0x10], 0
mov dword [esp + 0x10], ebx
test byte [ecx], al
mov ebp, dword [0x613370]
mov eax, dword [edx + 0x18]
test ebp, ebp
jne 0x42cfad
mov dword [ecx + 0x14], eax
mov dword [esp], edx
call fcn.0042cca0
mov eax, dword [esp + 0x10]
test byte [eax], al
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.004558b0
add esp, 0x20
ret
call fcn.00455f20
jmp 0x42cf83
lea ebp, [edx + 0x10]
mov eax, edi
mov edi, ebp
mov esi, eax
xor eax, eax
call fcn.00455f20
mov edi, esi
jmp 0x42cf6d
cmp ebx, 4
jne 0x42cfdf
lea ebx, [edx + 0x28]
test byte [ebx], al
mov ebx, dword [edx + 0x28]
nop
mov dword [esp + 0x24], ebx
jmp 0x42cf59
nop
lea eax, [esp + 0x24]
mov dword [esp], eax
lea ecx, [edx + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004568a0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
jmp 0x42cf59
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0042d420
movzx eax, byte [esp + 8]
test al, al
je 0x42d056
mov ecx, dword [esp + 0xc]
test byte [ecx], al
mov edx, dword [0x613370]
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x18]
test edx, edx
jne 0x42d043
mov dword [ecx + 0x14], eax
mov dword [esp], ebx
call fcn.0042cca0
add esp, 0x20
ret
mov edi, dword [esp + 0x14]
call fcn.00455f20
jmp 0x42d037
add esp, 0x20
ret
add esp, 0x20
ret
lea eax, [0x524c03]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.0042dee0
nop
int3
Function at 0x436820
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x18]
inc dword [ecx + 0x78]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6b], 1
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.004367e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.00431df0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
jbe 0x436a06
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ecx, [0x4538d0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
mov dword [esp], ecx
call fcn.004545c0
movzx eax, byte [0x60b128]
test al, al
jne 0x4369df
lea eax, [0x60240c]
mov dword [esp], eax
call fcn.00401f70
mov eax, dword [esp + 4]
test eax, eax
jne 0x4369b8
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
test byte [ecx], al
mov ecx, dword [ecx + 0x13f0]
test ecx, ecx
jne 0x43698d
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x54]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x164], edx
mov byte [eax + 0x6e], 1
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0xbc], 0
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + 0x2c], 0
mov edx, dword [eax + 0x18]
mov ebx, ecx
mov dword [edx + 0x5c], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x54], 0
lea ecx, [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 4], 2
call fcn.00402160
mov eax, dword [0x602400]
test eax, eax
jne 0x436969
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x78]
add esp, 0x18
ret
lea eax, [0x5275e8]
mov dword [esp], eax
call fcn.004545c0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004367e0
jmp 0x43695b
lea eax, [0x5276dc]
mov dword [esp], eax
call fcn.004545c0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004367e0
mov eax, dword [esp + 0xc]
jmp 0x4368ff
lea eax, [0x5275ec]
mov dword [esp], eax
call fcn.004545c0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004367e0
jmp 0x4368e5
lea eax, [0x527724]
mov dword [esp], eax
call fcn.004545c0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004367e0
jmp 0x4368cb
cmp dword [eax + 4], ecx
jb 0x436892
jmp 0x4368bc
Function at 0x43e670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x43e877
sub esp, 0x30
mov eax, dword [esp + 0x34]
mov ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.004020a0
mov eax, dword [esp + 0x20]
shr eax, 3
mov ecx, eax
mov eax, 0x828cbfbf
mul ecx
shr edx, 7
imul eax, edx, 0xfb
sub ecx, eax
shl ecx, 6
mov dword [esp + 0x1c], ecx
lea eax, [0x607260]
lea edx, [eax + ecx + 8]
mov dword [esp + 0x2c], edx
mov dword [esp], edx
call fcn.00401f70
mov eax, dword [esp + 4]
test eax, eax
je 0x43e85c
mov eax, dword [esp + 0x1c]
lea ecx, [0x607260]
lea edx, [ecx + eax]
mov dword [esp + 0x28], edx
mov dword [esp], edx
call fcn.004085d0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00401f70
mov eax, dword [esp + 4]
test eax, eax
je 0x43e84c
mov eax, dword [esp + 0x1c]
lea ecx, [0x607260]
lea eax, [ecx + eax]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.0043ecd0
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test eax, eax
jne 0x43e833
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004087b0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x43e7dc
mov ecx, dword [eax + 0x18]
test ecx, ecx
setne dl
mov ebx, dword [eax + 0x14]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or edx, ebp
test dl, dl
jne 0x43e807
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x43e860
movzx ecx, byte [esp + 0x38]
test cl, cl
jne 0x43e7f0
xor ecx, ecx
test cl, cl
je 0x43e7a8
mov dword [eax + 0x24], 1
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
add ecx, 5
mov dword [esp + 4], ecx
call fcn.0043e2f0
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x24], 1
jne 0x43e7dc
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x43e7e0
add esp, 0x30
ret
lea eax, [0x527650]
mov dword [esp], eax
call fcn.00454560
jmp 0x43e7dc
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0043e890
movzx ecx, byte [esp + 4]
mov eax, dword [esp + 0x24]
jmp 0x43e79d
mov eax, dword [esp + 0x14]
sub eax, ebx
mov dword [esp], eax
mov eax, dword [esp + 0x18]
sbb eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 3]
mov dword [esp + 8], ecx
call fcn.00426f40
mov eax, dword [esp + 0x24]
jmp 0x43e787
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.004020a0
jmp 0x43e755
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004087b0
add esp, 0x30
ret
add esp, 0x30
ret
lea eax, [0x521032]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call fcn.0042dee0
nop
call fcn.004546e0
jmp fcn.0043e670
Function at 0x44aaf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44ac91
sub esp, 0x48
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x4c]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x78]
add ebx, 1
mov edx, dword [edx + 0x54]
mov ebp, dword [ecx + 0x7c]
mov dword [ecx + 0x78], ebx
adc ebp, 0
mov dword [ecx + 0x7c], ebp
mov ebx, edx
mov ebp, dword [edx + 0xb70]
cmp ecx, ebp
jne 0x44abc5
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.0045619a
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 0x54]
mov ebp, dword [ecx + 0x50]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov ebx, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
mov eax, dword [edx + 0xb74]
cmp eax, 3
jae 0x44ac86
lea ecx, [0x613194]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov byte [esp], 0x29
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.00449b50
add esp, 0x48
ret
cmp dword [ecx + 0x80], ebx
jne 0x44ac16
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov eax, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov byte [esp], 0x26
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00449b50
jmp 0x44abc1
mov dword [ecx + 0x80], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x54]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov byte [esp], 0xe
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00449b50
jmp 0x44abc1
mov ecx, 3
call fcn.00455fa0
nop
call fcn.004546e0
jmp fcn.0044aaf0
Function at 0x44d7a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44d83f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00456197
lea ecx, [0x453fe0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.004545c0
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.004546e0
jmp fcn.0044d7a0
Function at 0x455b90
Capabilities:
Encrypt data using aes via x86 extensions
Hash data using murmur3

Disassembly:
cmp byte [0x6131d3], 0
je 0x455baa
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x455bd0
jmp fcn.00407020
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x6133e0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x455c0b
je 0x455c5a
cmp ebx, 0x20
jbe 0x455c60
cmp ebx, 0x40
jbe 0x455c9e
jmp 0x455d2f
test ebx, ebx
je 0x455c50
add eax, 0x10
test ax, 0xff0
je 0x455c3c
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x545c80]
aesenc xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x545d80]
jmp 0x455c28
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x455c28
pxor xmm1, xmmword [0x6133f0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
aesenc xmm2, xmm0
aesenc xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x6133f0]
pxor xmm2, xmmword [0x613400]
pxor xmm3, xmmword [0x613410]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x6133f0]
pxor xmm2, xmmword [0x613400]
pxor xmm3, xmmword [0x613410]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x455d8e
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
Function at 0x455e50
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4072e0
mov eax, dword [0x613360]
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, dword [esp + 8]
lea eax, [ebx + eax*8]
xor edx, eax
imul eax, edx, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
xor ecx, eax
imul eax, ecx, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
mov ecx, eax
shr eax, 0x11
xor eax, ecx
imul eax, eax, 0x319bca41
mov ecx, eax
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0x8b421a21
mov ecx, eax
shr eax, 0x10
xor eax, ecx
mov dword [esp + 0xc], eax
ret
call fcn.004546e0
jmp 0x407270
cmp byte [0x6131d3], 0
je 0x455e8b
mov eax, dword [esp + 4]
movq xmm0, qword [eax]
pinsrd xmm0, dword [esp + 8], 2
aesenc xmm0, xmmword [0x6133e0]
aesenc xmm0, xmmword [0x6133f0]
aesenc xmm0, xmmword [0x613400]
movd dword [esp + 0xc], xmm0
ret
jmp 0x407270

Function at 0x456cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword fs:[0x14]
mov edx, esp
sub esp, 0x1c8
mov dword [esp], esp
mov dword [esp + 4], 0x1c8
call fcn.004566c0
lea ecx, [esp + 0x30]
mov dword fs:[0x14], ecx
mov ebx, esp
sub esp, 0xd8
mov dword [ecx], esp
mov dword [ebx], esp
mov dword [esp], esp
mov dword [esp + 4], 0xd8
call fcn.004566c0
lea ebx, [esp + 0xd8]
mov dword [esp + 0x18], ebx
lea ecx, [esp - 0x8000]
mov dword [esp], ecx
add ecx, 0xb80
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
push eax
push dword [ebp + 0x10]
call dword [ebp + 8]
pop ecx
pop eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov esp, dword [ecx + 4]
pop dword fs:[0x14]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x456dd0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov eax, esp
mov dword [edx + 4], eax
sub eax, 0x10000
mov dword [edx], eax
add eax, 0xb80
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
lea esi, [ecx + 0x30]
mov dword fs:[0x14], esi
mov dword [edx + 0x18], ecx
mov dword [esi], edx
cld
call fcn.00455ae0
call fcn.004326a0
ret
Function at 0x4970e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x497300
sub esp, 0x4c
mov eax, dword [esp + 0x54]
movzx ecx, word [eax + 2]
movzx edx, word [eax + 8]
movzx ebx, word [eax + 0xa]
movzx ebp, word [eax + 0xc]
mov esi, dword [esp + 0x50]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 0
mov ecx, dword [0x5fdca8]
mov dword [esp + 0x1c], ecx
call fcn.004958c0
lea esi, [esp + 0x20]
mov dword [esp + 0x34], esi
lea edi, [esp + 0x38]
call fcn.0045667e
mov edi, esp
mov esi, dword [esp + 0x34]
call fcn.0045667e
call fcn.00494c70
mov eax, dword [esp + 0x14]
add eax, 0x15180
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call fcn.00450de0
mov eax, dword [esp + 0x54]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
lea eax, [ebp + edx]
sar eax, 0x10
sar ebp, 0x1f
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x4972e2
lea edx, [ecx + 7]
movzx ebp, word [ebx + 6]
lea esi, [ebp - 1]
cmp esi, 4
jge 0x49725b
lea ecx, [ebp + ebp*2]
lea ecx, [ebp + ecx*2]
lea ecx, [edx + ecx - 6]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
test edx, 0x80000000
je 0x497251
shl edx, 1
mov ebp, ebx
shr ebx, 0x1f
or ebx, edx
shl ebp, 1
shr ebp, 0x1f
mov edx, ebx
shl ebx, 1
or ebx, ebp
mov ebp, ebx
add ebx, 0xd7b17f80
shr edx, 0x1f
add ebp, 0xd7b17f80
adc edx, 0xd
lea eax, [ecx - 1]
mov ecx, 0x15180
mov ebp, edx
mov esi, eax
mul ecx
mov ecx, eax
add eax, ebx
mov edi, eax
add eax, 0x886e0900
mov dword [esp + 0x58], eax
sar esi, 0x1f
imul esi, esi, 0x15180
add edx, esi
add ecx, ebx
adc edx, ebp
add edi, 0x886e0900
adc edx, 0xfffffff1
mov dword [esp + 0x5c], edx
add esp, 0x4c
ret
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
jmp 0x497214
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x4972dc
mov ebx, dword [esp + 0x50]
test ebx, 3
jne 0x4972d6
mov ecx, eax
mov eax, 0x51eb851f
mov ebp, edx
imul ebx
mov esi, ebx
sar ebx, 0x1f
mov edi, edx
sar edx, 5
sub edx, ebx
imul edx, edx, 0x64
cmp esi, edx
je 0x4972a6
mov eax, 0x1d
lea ecx, [ebp + 0x1d]
cmp ecx, eax
jle 0x4971dc
lea ecx, [ebp + 0x16]
jmp 0x4971dc
sar edi, 7
sub edi, ebx
imul edx, edi, 0x190
cmp edx, esi
je 0x49728e
cmp ecx, 0xd
jae 0x4972f3
lea edx, [0x5ec260]
mov edx, dword [edx + ecx*4]
lea eax, [ecx - 1]
cmp eax, 0xd
jae 0x4972e9
sub edx, dword [ecx*4 + 0x5ec25c]
mov eax, edx
jmp 0x497293
mov ecx, eax
mov ebp, edx
jmp 0x4972b5
mov ecx, eax
mov ebp, edx
jmp 0x4972b5
mov edx, ecx
jmp 0x4971c0
mov ecx, 0xd
call fcn.00455fa0
mov eax, ecx
mov ecx, 0xd
call fcn.00455fa0
nop
call fcn.004546e0
jmp fcn.004970e0
Function at 0x4c5dd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c5f96
sub esp, 0x34
lea eax, [0x4fcee0]
mov dword [esp], eax
call fcn.0040a5d0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4c5e71
xchg edi, eax
mov byte [esp + 0x1f], al
xchg edi, eax
movzx edi, byte [ebx + esi]
xchg edi, eax
mov byte [esp + 0x1e], al
xchg edi, eax
movzx edi, byte [esp + 0x1f]
movzx ebx, byte [esp + 0x1e]
xor edi, ebx
xchg edi, eax
mov byte [ecx + ebp], al
xchg edi, eax
inc esi
inc ebp
mov edi, dword [esp + 0x2c]
mov ebx, edi
cmp esi, edx
jge 0x4c5e4c
cmp ebp, eax
jge 0x4c5e4c
jae 0x4c5f8c
movzx edi, byte [ebp + ecx]
cmp esi, edx
jb 0x4c5e07
jmp 0x4c5f83
mov edx, dword [esp + 0x30]
movzx esi, byte [edx + 3]
lea edi, [esi + 1]
xchg edi, eax
mov byte [edx + 3], al
xchg edi, eax
xchg esi, eax
cmp al, 0xff
xchg esi, eax
je 0x4c5f44
mov eax, edx
mov ecx, ebp
mov edx, ebx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x3c]
cmp ecx, ebp
jge 0x4c5f7f
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x50]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x54]
mov dword [esp + 0xc], esi
call ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], ebx
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx + 0x14]
mov esi, dword [esp + 0x48]
mov dword [esp], esi
call ebp
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
xor esi, esi
jmp 0x4c5e30
movzx esi, byte [edx + 2]
lea edi, [esi + 1]
xchg edi, eax
mov byte [edx + 2], al
xchg edi, eax
xchg esi, eax
cmp al, 0xff
xchg esi, eax
jne 0x4c5e67
movzx esi, byte [edx + 1]
lea edi, [esi + 1]
xchg edi, eax
mov byte [edx + 1], al
xchg edi, eax
xchg esi, eax
cmp al, 0xff
xchg esi, eax
jne 0x4c5e67
movzx esi, byte [edx]
inc esi
xchg esi, eax
mov byte [edx], al
xchg esi, eax
jmp 0x4c5e67
add esp, 0x34
ret
mov eax, esi
mov ecx, edx
call fcn.00455fa0
mov ecx, eax
mov eax, ebp
call fcn.00455fa0
nop
call fcn.004546e0
jmp fcn.004c5dd0
Function at 0x4c8c60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c8e6a
sub esp, 0x74
lea edi, [esp + 0x84]
xor eax, eax
call fcn.0045619b
mov dword [esp], 0
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xc], ecx
call fcn.00443700
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
lea edi, [esp + 0x60]
xor eax, eax
call fcn.0045619b
lea ecx, [0x51e91b]
mov dword [esp], ecx
mov dword [esp + 4], 0x13
mov ebx, dword [esp + 0x40]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov ebp, dword [0x5fdca8]
mov dword [esp + 0x10], ebp
mov ebp, dword [0x5fdca4]
mov dword [esp + 0x14], ebp
call fcn.00491460
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x2c]
lea esi, [esp + 0x18]
lea edi, [esp + 0x60]
call fcn.0045667e
lea edi, [esp + 0x84]
lea esi, [esp + 0x60]
call fcn.0045667e
test edx, edx
jne 0x4c8e54
mov dword [esp + 0x3c], edx
mov edi, esp
lea esi, [esp + 0x60]
call fcn.0045667e
lea eax, [0x51e91b]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x13
call fcn.0048f730
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x34]
cmp ecx, edx
je 0x4c8e24
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00407f70
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.00407f70
mov eax, dword [esp + 8]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea ecx, [0x4fff00]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [0x526a23]
mov dword [esp], eax
mov dword [esp + 4], 0x6a
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a14a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x74
ret
mov dword [esp], eax
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00402380
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c8e4b
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
jmp 0x4c8e12
mov edx, dword [esp + 0x34]
jmp 0x4c8d72
mov dword [esp + 0x98], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x9c], eax
add esp, 0x74
ret
call fcn.004546e0
jmp fcn.004c8c60