joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a2690
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5233a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.004a3210
lea edx, [esp + 0x18]
push eax
push edx
call dword [0x5276bc]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [0x527730]
test eax, eax
je 0x4a2739
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004a2320
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x5276fc]
push edi
lea ecx, [esp + 0x4c]
call fcn.005197f3
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.004b0ae0
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [0x52716c]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [0x527760]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [0x5276f0]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.00519865
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0x4a2c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5233d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.004a0870
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x4a2cc9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.0049dcb0
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.0049dca0
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.004a2320
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x527760]
push 0
lea ecx, [esp + 0x4c]
call fcn.005197f3
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.004b0ae0
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.004a02d0
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x527170]
mov ecx, ebx
call fcn.0049dc20
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x4a2d94
push edi
mov ecx, esi
call fcn.004a03e0
push eax
push ebp
mov ecx, esi
call fcn.004a05a0
cmp eax, dword [esp + 0x40]
jg 0x4a2d90
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x4a2d6e
mov eax, ebx
jmp 0x4a2d9a
cmp edi, ebx
jl 0x4a2d98
mov eax, ebx
jmp 0x4a2d9a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x4a2dab
mov dword [esp + 0x30], eax
jmp 0x4a2db6
cmp edi, ebx
jl 0x4a2db1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.0049dbe0
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x4a2dfd
push edi
mov ecx, esi
call fcn.004a0300
push eax
push ebx
mov ecx, esi
call fcn.004a06d0
cmp eax, dword [esp + 0x44]
jg 0x4a2df5
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x4a2dcf
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4a2e07
cmp edi, ebp
jl 0x4a2e01
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4a2e07
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x4a2e10
mov ecx, eax
jmp 0x4a2e19
cmp edi, ebp
jl 0x4a2e16
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.004a02f0
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.00519865
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x4a8d40
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x523888
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4a8d79
inc eax
mov dword [esi + 0x10], eax
jmp 0x4a8e8c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4a8d8d
mov eax, 0xffffffc7
jmp 0x4a8e8e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4a8d9e
cmp dword [esi + 8], eax
jne 0x4a8d8d
cmp dword [esi + 8], eax
jne 0x4a8db7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4a8db7
mov eax, 0xffffffc7
jmp 0x4a8e8e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4a8dcb
push eax
mov ecx, ebx
call fcn.004a8570
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0046fce0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4a8dfc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0046fd00
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004a7ce0
test eax, eax
mov dword [esp + 0x38], eax
je 0x4a8e2f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x14cc5b0
call fcn.0046fee0
mov eax, dword [esp + 0x38]
jmp 0x4a8e8e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004a8ba0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4a8e73
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004a8bc0
mov esi, eax
test esi, esi
jne 0x4a8ea3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004a8ba0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4a8e45
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x14cc5b0
call fcn.0046fee0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x14cc5b0
call fcn.0046fee0
mov eax, esi
jmp 0x4a8e8e
Function at 0x4b1140
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x523eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x527760]
push 0
lea ecx, [esp + 0x20]
call fcn.005197f3
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004b0ae0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00519721
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00515f07
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00515f07
push 1
push 0
push 0
mov ecx, esi
call fcn.00515eaf
push 1
push 0
push 1
mov ecx, esi
call fcn.00515eaf
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00519865
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4b12c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x523ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.005197f3
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004b0ae0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00519721
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x527760]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4b1384
cmp dword [esp + 0x40], 1
jne 0x4b1382
cmp ecx, eax
jge 0x4b1384
mov eax, ecx
cmp eax, 0xc8
jge 0x4b1390
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004b1140
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x527758]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00519865
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4b1b10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x523f43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00514322
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x5270c8]
push eax
mov ecx, edi
call fcn.00519a9b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0051b036
test eax, eax
je 0x4b1c2c
mov ecx, dword [esp + 0x3c]
call fcn.00519ac8
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x527794]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4b1bf0
push edi
mov ecx, esi
call fcn.00517086
mov ecx, esi
call fcn.004b1d90
cmp dword [esp + 0x38], 1
jne 0x4b1c25
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.005171f0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x4b4660
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4b4693
push esi
call fcn.004b7760
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4b468c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4b4719
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4b4702
mov eax, dword [esi + 8]
test eax, eax
je 0x4b46b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4b46fe
cmp eax, 2
je 0x4b4702
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4b46aa
cmp eax, 3
je 0x4b46dd
cmp eax, 1
jne 0x4b46aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4b46aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4b46aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004b4740
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4b4728
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004b4740
add esp, 4
pop esi
ret
Function at 0x4c6ce0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x524460
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004c6890
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004c6910
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004c6910
lea ecx, [esi + 0xc]
call fcn.00512c3c
lea ecx, [esi + 0x10]
call fcn.00512c3c
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004c7ea0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004c7ea0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004c7ea0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00512cb1
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00512cb1
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4d66a8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x524e8c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00514322
mov dword [esi], method.CTreeCtrl.virtual_0
lea edi, [esi + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], fcn.00472220
call fcn.004db630
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.004db630
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 2
call fcn.004db630
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.004db630
mov dword [edi], 0x14d2fec
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 4
call fcn.005112f2
mov dword [esi + 0xd8], 0
mov dword [esi + 0xd4], 0x14d30bc
mov eax, dword [0x15c3524]
mov dword [esi + 0xdc], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 7
call fcn.004db630
lea ecx, [esi + 0xf4]
mov byte [esp + 0x18], 8
call fcn.005112f2
mov ecx, dword [esp + 0x10]
mov dword [esi], method.CTreeCtrl.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4d6790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x524f14
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CTreeCtrl.virtual_0
lea ecx, [esi + 0xf4]
mov dword [esp + 0x18], 5
call fcn.0051131b
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x14d2fe8
call fcn.004db830
lea ecx, [esi + 0xdc]
mov byte [esp + 0x18], 3
call fcn.00512cb1
lea ecx, [esi + 0xd4]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 6
call fcn.00519af2
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 1
call fcn.0051131b
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 9
mov dword [ecx], 0x14d2fe8
call fcn.004db830
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x14d2fe8
call fcn.004db830
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x14d2fe8
call fcn.004db830
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x14d2fe8
call fcn.004db830
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00510e89
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402150
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x402233
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x402173
cmp dword [ebp + 0x18], ebx
je 0x40222b
mov eax, dword [edi + 0x3c]
mov ecx, 0x5a4d
cmp word [edi], cx
jne 0x40222b
cmp dword [eax + edi], 0x4550
jne 0x40222b
mov ecx, dword [eax + edi + 0x7c]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x40222b
mov ecx, dword [eax + edi + 0x78]
mov eax, dword [ecx + edi + 0x24]
mov edx, dword [ecx + edi + 0x20]
add ecx, edi
add eax, edi
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x1c]
add eax, edi
mov dword [ebp - 0xc], eax
mov eax, ebx
add edx, edi
shr eax, 0x10
push esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
test eax, eax
je 0x4021fc
mov eax, dword [ecx + 0x18]
xor esi, esi
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4021fc
lea esp, [esp]
mov eax, dword [edx + esi*4]
add eax, edi
push eax
push ebx
call fcn.004020b0
add esp, 8
test eax, eax
jne 0x402205
mov edx, dword [ebp - 4]
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x4021e0
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x10]
add ecx, edi
cmp ecx, eax
jbe 0x402222
add eax, dword [ebp - 0x14]
cmp ecx, eax
jb 0x4021fc
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x402260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 4]
test edi, edi
je 0x4022e3
cmp dword [esi + 0x18], 0
je 0x4022fe
lea ecx, [ecx]
mov ecx, dword [esi + 0x30]
xor eax, eax
cmp word [ecx], ax
je 0x4022b8
lea ebx, [ebx]
inc eax
cmp word [ecx + eax*2], 0
jne 0x4022b0
lea eax, [eax*2 + 2]
push eax
push edi
push ecx
call fcn.004020e0
add esp, 0xc
test eax, eax
jne 0x4022db
mov esi, dword [esi]
cmp dword [esi + 0x18], eax
jne 0x4022a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4022fe
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4022fe
cmp eax, ecx
je 0x4022db
mov esi, dword [esi]
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4022f1
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4012e0
Capabilities:
Encode data using xor

Disassembly:
push 0x525bac
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edi], cl
push cs
adc edx, esi
pop ebp
inc esp
sub dword [edx - 0x65], ecx
or dh, bh
loopne 0x40130a
dec ecx
rep lodsd eax, dword [esi]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
mov bh, 0
add byte [eax], al
push eax
jb 0x40138e
push 0x65
arpl word [ecx + esi], si
ljmp 0xbd5c
rcl dword [ebx], cl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
rol byte [edi + 0x12], 1
add byte [ebp + 0x25], al
add byte [eax], al
add byte [0x726f4600], al
insd dword es:[edi], dx
and eax, 0x5000000
add byte [esi + 0x6f], al
jb 0x401405
xor dword [eax], eax
or eax, 0x20002401
and byte [ebx + 0x50], dl
pop edi
lodsb al, byte [esi]
jle 0x401365
cli
and byte [0x34302e39], ch
and byte [eax], ah
and byte [eax], ah
and byte [0x37374653], ch
movsb byte es:[edi], byte ss:[esi]
jne 0x401363
inc eax
stosd dword es:[edi], eax
invalid
add byte [eax], al
add byte [eax], al
add al, ch
add al, byte [eax]
add dh, dl
push es
add byte [eax], al
and byte [eax], ah
add byte [eax], al
add byte [eax], al
add byte [eax], al
test al, 8
add byte [eax], al
mov esi, 0x28000009
add byte [eax], al
add byte [eax], dl
add byte [eax], al
add byte [eax], ah
add byte [eax], al
add byte [ecx], al
add byte [eax + eax], al
add byte [eax], al
add byte [eax], al
rol byte [eax], 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, bh
invalid