joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cad04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4caf64
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4cad67
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004ca9ac
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d0b4
cmp al, 1
jne 0x4cad67
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004cac74
test al, al
je 0x4caef3
cmp dword [ebp - 8], 0
jge 0x4cad85
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004ca9ac
mov eax, dword [ebp - 0x210]
call fcn.00404af4
cmp ebx, eax
jge 0x4cadcf
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004ca9ac
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x50d5fc]
and eax, 0xff
bt dword [edx], eax
jae 0x4cadcf
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4cade3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004cace0
cmp ebx, dword [ebp - 8]
je 0x4caee5
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4cae0f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c80
and eax, 0x7f
movzx eax, word [eax*2 + 0x50c708]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4caed2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c80
and eax, 0x7f
movzx eax, word [eax*2 + 0x50c708]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045082c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c80
and eax, 0x7f
movzx eax, word [eax*2 + 0x50c708]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045082c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4caed9
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4caf46
cmp dword [ebp - 8], 0
jge 0x4caefe
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004ca9ac
mov eax, dword [ebp - 0x218]
call fcn.00404af4
cmp eax, dword [ebp - 8]
jg 0x4caf38
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004ca9ac
mov eax, dword [ebp - 0x21c]
call fcn.00404af4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004cace0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4caf6b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404858
ret
Function at 0x4cce4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4cce84]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4cce62
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4cce71
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4cce80
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4cd78c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x4460b8]
call fcn.00403c10
test al, al
je 0x4cd7ce
mov eax, dword [0x50d438]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4cd7ce
mov edx, dword [0x50d438]
xor edx, edx
call fcn.004633a8
push 0
mov eax, dword [0x50d438]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4ef5d4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4ef602
mov eax, ebx
call fcn.004f0088
cmp dword [ebx + 0x40], 0
je 0x4ef5fb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4ef673
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4ef665
cmp dword [ebx + 8], 0
je 0x4ef624
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4ef636
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4ef665
cmp dword [ebx + 8], 0
je 0x4ef617
cmp eax, 3
je 0x4ef649
dec eax
jne 0x4ef617
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4ef617
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4ef617
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4ef691
cmp dword [ebx + 0x14], 0xcc
je 0x4ef691
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004ef69c
pop ebx
ret
Function at 0x500064
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x417fd8]
call fcn.004051c8
xor eax, eax
push ebp
push 0x5001a8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x50d078], 0
jne 0x5000b7
mov ecx, dword [0x50d0e4]
mov dl, 1
mov eax, dword [0x407db4]
call fcn.0040c774
call fcn.00404250
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040312c
mov eax, ebx
call fcn.00405098
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x5001b8
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004062e8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004050a8
test eax, eax
jle 0x50014f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x500148
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404abc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404aa4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408c48
test eax, eax
jne 0x500148
mov ebx, 0x15
jmp 0x500154
mov ebx, 0x10
jmp 0x500154
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x50d078]
call fcn.004fff60
mov eax, dword [ebp - 8]
call fcn.004fff60
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406300
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5001af
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404858
lea eax, [ebp - 0x10]
mov edx, dword [0x417fd8]
call fcn.00405298
ret
Function at 0x420cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5104b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 0x268]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ecx
call fcn.004e6910
mov ecx, dword [ebp + 8]
xor esi, esi
push 0xffffffffffffffff
push esi
call fcn.004de680
mov dword [esp + 0x2c], 0x522c30
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov edi, dword [ebx + 0x10a8]
mov dword [esp + 0x48], esi
cmp edi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 0x40e86a00
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 0xc0e86a00
mov dword [esp + 0x18], edi
jle 0x420dcf
jmp 0x420d5b
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x10a4]
mov ebx, dword [eax + esi*4]
mov ecx, ebx
call fcn.0048e7d0
fld qword [eax + 0x10]
fcomp qword [esp + 0x1c]
fnstsw ax
test ah, 1
jne 0x420d87
mov ecx, ebx
call fcn.0048e7d0
fld qword [eax + 0x10]
fstp qword [esp + 0x1c]
mov ecx, ebx
call fcn.0048e7d0
fld qword [eax]
fcomp qword [esp + 0x24]
fnstsw ax
test ah, 0x41
je 0x420da8
mov ecx, ebx
call fcn.0048e7d0
fld qword [eax]
fstp qword [esp + 0x24]
mov eax, dword [esp + 0x34]
push 0xffffffffffffffff
mov dword [esp + 0x14], eax
inc eax
push eax
lea ecx, [esp + 0x34]
call fcn.004de680
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
inc esi
cmp esi, edi
mov dword [ecx + edx*4], ebx
jl 0x420d57
xor esi, esi
fld qword [esp + 0x1c]
fsub qword [esp + 0x24]
xor ebx, ebx
test edi, edi
fstp qword [esp + 0x1c]
jle 0x420e5b
mov eax, dword [esp + 0x30]
push 0
mov ecx, dword [eax + ebx*4]
add ecx, 0x1d0
mov edx, dword [ecx]
call dword [edx + 0x30]
test eax, eax
je 0x420e01
lea esi, [eax - 0x1d0]
jmp 0x420e03
xor esi, esi
mov ecx, dword [esp + 0x14]
push esi
call fcn.004e9360
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
mov edi, dword [eax + 8]
lea ecx, [edi + 1]
push ecx
mov ecx, eax
call fcn.004de680
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
push 0
push 0
mov eax, dword [edx + 4]
mov dword [eax + edi*4], esi
mov eax, dword [esp + 0x28]
mov edx, dword [esi]
push eax
push ecx
mov ecx, esi
mov dword [esi + 0x1e0], 1
mov dword [esi + 0x258], 0x186a0
call dword [edx + 0xc]
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
jl 0x420de1
mov dword [esp + 0x2c], 0x522c30
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], 1
test eax, eax
je 0x420e7c
push eax
call fcn.0050b204
add esp, 4
mov ecx, dword [esp + 0x40]
pop edi
fld qword [esp + 0x18]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4301c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x511fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [edi + 8]
mov ecx, dword [ebp + 0xc]
sub esp, 0x38
mov esi, esp
mov dword [esp + 0x44], esp
mov dword [esp + 0x50], 0
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov ecx, dword [ebp + 0x30]
lea eax, [ebp + 0x38]
mov dword [esi + 0x28], ecx
mov edx, dword [ebp + 0x34]
push eax
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], edx
call fcn.0050b33c
mov ecx, dword [ebp + 0x3c]
push ebx
mov dword [esi + 0x34], ecx
mov ecx, edi
call fcn.00431600
lea ecx, [ebp + 0x38]
mov dword [esp + 0x18], 0xffffffff
call fcn.0050b22e
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x38
Function at 0x435820
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x512598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0x2b4]
test eax, eax
je 0x435874
mov dword [esi + 0x2b4], 0
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x58]
call fcn.0047dc50
mov eax, dword [esi + 0x2a8]
xor edx, edx
test eax, eax
mov dword [esp + 0x10], eax
jle 0x4359e1
mov esi, dword [esi + 0x2a4]
mov ecx, dword [esi]
lea eax, [ecx + 0x1b8]
fld qword [ecx + 0x1c8]
mov edi, eax
fmul qword [0x520168]
mov ebx, dword [edi]
mov dword [esp + 0x18], ebx
mov ebx, dword [edi + 4]
mov dword [esp + 0x1c], ebx
mov ebx, dword [edi + 8]
fsubr qword [esp + 0x18]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
mov edi, eax
fstp qword [esp + 0x58]
mov ebx, dword [edi]
fld qword [ecx + 0x1c8]
fmul qword [0x520168]
mov dword [esp + 0x28], ebx
mov ebx, dword [edi + 4]
mov dword [esp + 0x2c], ebx
mov ebx, dword [edi + 8]
fadd qword [esp + 0x28]
mov edi, dword [edi + 0xc]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov edi, eax
fstp qword [esp + 0x68]
mov ebx, dword [edi]
fld qword [ecx + 0x1d0]
fmul qword [0x520168]
mov dword [esp + 0x38], ebx
mov ebx, dword [edi + 4]
mov dword [esp + 0x3c], ebx
mov ebx, dword [edi + 8]
mov dword [esp + 0x40], ebx
mov edi, dword [edi + 0xc]
mov dword [esp + 0x44], edi
fsubr qword [esp + 0x40]
fstp qword [esp + 0x60]
mov edi, dword [eax]
fld qword [ecx + 0x1d0]
fmul qword [0x520168]
mov dword [esp + 0x48], edi
mov edi, dword [eax + 4]
mov dword [esp + 0x4c], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], eax
fadd qword [esp + 0x50]
fstp qword [esp + 0x70]
fld qword [ebp + 8]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x435999
fld qword [ebp + 8]
fcomp qword [esp + 0x58]
fnstsw ax
test ah, 1
jne 0x435999
fld qword [ebp + 0x10]
fcomp qword [esp + 0x70]
fnstsw ax
test ah, 0x41
je 0x435999
fld qword [ebp + 0x10]
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 1
je 0x4359aa
mov eax, dword [esp + 0x10]
inc edx
add esi, 4
cmp edx, eax
jge 0x4359e1
jmp 0x435897
mov edx, dword [esp + 0x14]
mov dword [esp + 0x80], 0xffffffff
mov dword [edx + 0x2b4], ecx
lea ecx, [esp + 0x58]
call fcn.00507a00
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], 0xffffffff
call fcn.00507a00
mov ecx, dword [esp + 0x78]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45af30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x514c23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x520384
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.0050bcd2
mov dword [ebx], 0x52726c
lea ebx, [esi + 0x18]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.0050bcd2
mov ecx, dword [esp + 0x10]
mov eax, 0x527258
mov dword [ebx], 0x52726c
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x54], edi
mov dword [esi], 0x527244
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x46c6a0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
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 0x46ee87
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov ecx, 0x546b98
push 0x20
sub ecx, eax
pop esi
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x46ee96
pop esi
ret

Function at 0x46eea1
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov ecx, 0x546b98
push 0x20
sub ecx, eax
pop esi
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x46eeb0
pop esi
ret

Function at 0x471db0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x516259
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
lea ecx, [esi + 0x44]
mov dword [esp + 0x18], 3
mov dword [ecx], 0x52057c
call fcn.0050b2a6
lea edi, [esi + 0x30]
mov dword [esp + 0xc], edi
mov dword [edi], 0x522ddc
mov eax, dword [edi + 4]
mov byte [esp + 0x18], 4
test eax, eax
je 0x471e08
push eax
call fcn.0050b204
add esp, 4
lea ecx, [esi + 0x2c]
mov dword [edi], 0x520384
mov byte [esp + 0x18], 1
call fcn.0050b22e
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x52057c
call fcn.0050b2a6
mov dword [esi], 0x5205a4
mov eax, dword [esi + 4]
mov dword [esp + 0x18], 5
test eax, eax
je 0x471e4c
push eax
call fcn.0050b204
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esi], 0x520384
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4773c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51682c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c8
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x70]
mov ebp, dword [esi + 0x38]
call fcn.0047afb0
lea ecx, [esp + 0xe8]
mov dword [esp + 0x1e0], 0
call fcn.0047afb0
fld qword [esi + 0x18]
fld qword [esi + 0x10]
fpatan
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
push eax
mov bl, 1
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x1e8], bl
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x3ff00000
fstp qword [esp + 0x1c]
call fcn.0047b330
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
push edx
push eax
push ecx
lea ecx, [esp + 0xf4]
call fcn.0047b3a0
lea edx, [esp + 0xe8]
lea eax, [esp + 0x70]
push edx
lea ecx, [esp + 0x164]
push eax
push ecx
call fcn.0047b450
add esp, 0xc
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x1e4], 2
call fcn.0047b2e0
lea ecx, [esp + 0x160]
mov byte [esp + 0x1e0], bl
call fcn.00507a00
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push 0
push 0
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
lea ecx, [esp + 0x100]
call fcn.0047b3f0
lea eax, [esp + 0xe8]
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x164]
push ecx
push edx
call fcn.0047b450
add esp, 0xc
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x1e4], 3
call fcn.0047b2e0
mov byte [esp + 0x1e0], bl
lea ecx, [esp + 0x160]
call fcn.00507a00
cmp byte [ebp], 0
je 0x477606
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebp
mov ecx, 0x54ac08
call fcn.00476870
test eax, eax
je 0x4775ab
mov ecx, dword [esp + 0x14]
xor ebx, ebx
test ecx, ecx
jle 0x4775ab
mov edi, eax
mov edx, edi
mov eax, dword [edx]
test al, 6
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x28], edx
jne 0x47756f
push 3
nop
call fcn.00608596
lea eax, [esp + 0x28]
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.0047ba10
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edx
push eax
nop
call fcn.0060859f
cmp dword [esp + 0x20], 4
jne 0x47759f
nop
call fcn.006085a8
mov eax, dword [esp + 0x14]
inc ebx
add edi, 0xc
cmp ebx, eax
jl 0x47754d
fld qword [esp + 0x4c]
fmul qword [esi + 0x28]
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 0
push ecx
lea ecx, [esp + 0x74]
fadd qword [esi + 0x30]
mov dword [esp + 0x70], 0
fst qword [esp + 0x30]
fmul qword [esi + 0x18]
fld qword [esp + 0x30]
fmul qword [esi + 0x10]
fstp qword [esp + 0x5c]
fstp qword [esp + 0x64]
call fcn.0047b160
push ebp
call fcn.00476490
add esp, 4
test al, al
je 0x4775f9
inc ebp
jmp 0x4775fc
add ebp, 2
cmp byte [ebp], 0
jne 0x477528
lea ecx, [esp + 0xe8]
mov byte [esp + 0x1e0], 0
call fcn.00507a00
lea ecx, [esp + 0x70]
mov dword [esp + 0x1e0], 0xffffffff
call fcn.00507a00
mov ecx, dword [esp + 0x1d8]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478640
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5169fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 9
call fcn.0050b22e
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 8
call fcn.0050b22e
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 7
call fcn.0050b22e
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 6
call fcn.0050b22e
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 5
call fcn.0050b22e
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 4
call fcn.0050b22e
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 3
call fcn.0050b22e
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 2
call fcn.0050b22e
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 1
call fcn.0050b22e
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 0
call fcn.0050b22e
lea ecx, [esi + 8]
mov dword [esp + 0x10], 0xffffffff
call fcn.0050b22e
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x487ec0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5175b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.004b7470
mov dword [esp + 0x14], 0x528f10
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call fcn.004b7470
mov dword [esp + 0x10], 0x528f04
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.004b7470
mov dword [esp + 0xc], 0x528ef8
mov eax, dword [ebp + 8]
mov byte [esp + 0x28], 2
mov edi, dword [eax + 0x30]
dec edi
mov dword [esp + 0x18], edi
js 0x488038
jmp 0x487f3d
mov edi, dword [esp + 0x18]
push 0x1d0
call fcn.0050b264
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x28], 3
je 0x487f62
mov ecx, eax
call fcn.0048e5c0
mov esi, eax
jmp 0x487f64
xor esi, esi
mov ecx, dword [ebp + 8]
mov byte [esp + 0x28], 2
mov edx, dword [ecx + 0x2c]
mov ecx, esi
mov eax, dword [edx + edi*4]
push eax
call fcn.0048ec00
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x487f8c
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [ebp + 0x10]
push 0xffffffffffffffff
mov edi, dword [eax + 0x30]
lea ebx, [eax + 0x28]
lea ecx, [edi + 1]
push ecx
mov ecx, ebx
call fcn.004de680
mov edx, dword [ebx + 4]
mov ecx, esi
mov dword [edx + edi*4], esi
call fcn.0040a240
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.004f7aa0
mov edi, eax
mov ebx, edi
mov esi, dword [edi + 0x38]
fld qword [esi]
fcomp qword [edi]
fnstsw ax
test ah, 1
je 0x487fce
mov edi, esi
fld qword [esi]
fcomp qword [ebx]
fnstsw ax
test ah, 0x41
jne 0x487fdb
mov ebx, esi
mov ecx, dword [esp + 0x1c]
mov esi, dword [esi + 0x38]
call fcn.004f7aa0
cmp esi, eax
jne 0x487fc1
mov esi, dword [ebp + 0x10]
lea ecx, [esp + 0x14]
lea eax, [esi + 0x40]
push eax
push ecx
push edi
push ebx
call fcn.00498110
lea edx, [esi + 0x80]
lea eax, [esp + 0x20]
push edx
push eax
push ebx
push edi
call fcn.00498110
add esp, 0x20
add esi, 0xc0
lea ecx, [esp + 0xc]
push esi
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00498340
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jns 0x487f39
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [eax], edx
lea ecx, [eax + 8]
add eax, 0x28
push ecx
push eax
call fcn.004f3e90
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
mov dword [esp + 0xc], 0x528ef8
call fcn.004b74a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
mov dword [esp + 0x10], 0x528f04
call fcn.004b74a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x14], 0x528f10
call fcn.004b74a0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc