joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d4f1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000d534
push 0x19
push 0x40252b8
push 6
call fcn.100199cc
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000d54b
mov eax, 0x1003a21d
jmp 0x1000d5fa
inc dword [ebp - 4]
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x1003a245]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.100018b7
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.1001bbd0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000d599
push ebx
call fcn.100199c6
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.1000525f
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000d5db
push 0x136
push 0x40252b8
push 6
call fcn.100199cc
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000d5f5
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100199c0
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000d5fa
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000d60b
push ebx
call fcn.100199c6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x1000da1c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x1000da6e
mov dword [ebp - 0xc], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000da66
push 0x4f
push 0x402474a
push 6
call fcn.100199cc
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x1000daa7
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000daa4
push 0x7d
push 0x402474a
push 6
call fcn.100199cc
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000dabb
mov eax, 0
jmp 0x1000db23
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000daec
push 0x10b
push 0x402474a
push 6
call fcn.100199cc
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000db1b
push 0x12f
push 0x402474a
push 6
call fcn.100199cc
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x1000db23
mov esp, ebp
pop ebp
ret 8
Function at 0x10014ac4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push 0x40
push 0x1000
push dword [ebp + 8]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 4], esp
je 0x10014b08
push 0x12
push 0x402402b
push 6
call fcn.100199cc
add esp, 0xc
jmp 0x10014b0d
mov esp, ebp
pop ebp
ret 4

Function at 0x10019ea0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1003ca28]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x108], ecx
lea eax, [ecx - 1]
cmp eax, 0xa
ja 0x10019ecd
mov edx, dword [ecx*4 + 0x1003c7ec]
lea eax, [ebp - 0x108]
mov eax, dword [eax - 4]
test eax, eax
je 0x10019f0b
push esi
mov esi, 0xc483
cmp si, word [eax]
pop esi
jne 0x10019f0b
cmp byte [eax + 2], 0xc
jl 0x10019f0b
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push dword [ebp + 0xc]
push edx
push ecx
push 0x100324a4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x10019f22
push edx
push ecx
lea eax, [ebp - 0x104]
push str.program_internal_error_number_is__d.__r_n_s_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [0x1003d300]
test eax, eax
je 0x10019f5b
cmp dword [0x1003d314], 0
jne 0x10019f5b
lea ecx, [ebp - 0x104]
mov dword [0x1003d314], 1
push ecx
push dword [ebp - 0x108]
call eax
mov dword [0x1003d314], 0
test eax, eax
jne 0x10019f71
push 0x10
push str.error
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.10019b00
cmp dword [0x1003d2f8], 0
jne 0x10019f87
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 0
mov ebp, dword [0x1003d2fc]
mov esp, dword [0x1003d2f8]
sub esp, 4
ret
Function at 0x1001a910
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [ebp + 0xc]
call fcn.1001f230
mov esi, dword [ebp + 0x18]
mov edi, eax
push esi
mov dword [ebp - 8], edi
xor ebx, ebx
call dword [0x1003ca20]
add esp, 8
test edi, edi
je 0x1001aa39
test eax, eax
je 0x1001aa39
inc eax
push eax
call fcn.1001f71a
mov edx, eax
mov dword [ebp - 0x10], eax
add esp, 4
sub edx, esi
mov cl, byte [esi]
lea esi, [esi + 1]
mov byte [edx + esi - 1], cl
test cl, cl
jne 0x1001a956
push 0x5c
push eax
call fcn.10020ba0
mov edi, eax
add esp, 8
test edi, edi
je 0x1001a977
mov byte [edi], bl
inc edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1001aa2a
push 0x400
mov dword [ebp - 4], 0x400
mov dword [ebp - 8], 1
call fcn.1001f71a
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1001a9f8
cmp eax, 0xea
jne 0x1001aa18
push esi
call fcn.1001f723
push dword [ebp - 4]
call fcn.1001f71a
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001a9c5
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x1001aa05
cmp eax, 2
jne 0x1001aa18
push esi
call dword [0x1003ca20]
push eax
push esi
call fcn.1001f1f0
add esp, 0xc
mov ebx, eax
push esi
call fcn.1001f723
add esp, 4
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10]
call fcn.1001f723
add esp, 4
test ebx, ebx
jne 0x1001aa5e
cmp dword [ebp + 0x2c], 0
je 0x1001aa5e
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x1001aa5e
push esi
call dword [0x1003ca20]
push eax
push esi
call fcn.1001f1f0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001aaa0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop ebp
ret
Function at 0x1001d7a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, eax
mov dword [ebp - 4], ecx
cmp ecx, 0xffffffff
je 0x1001d82f
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, 1
mov dword [ebp - 8], 1
cmp ebx, esi
jle 0x1001d81f
push edi
lea edi, [ebp + 0x18]
mov eax, dword [edi]
lea edx, [ebp - 0xc]
push 0
push edx
push dword [eax + 4]
add eax, 8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
test eax, eax
je 0x1001d817
inc esi
add edi, 0xc
cmp esi, ebx
jl 0x1001d7e1
pop edi
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
pop edi
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4041f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6639ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x6918e4
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x404280
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x404247
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
nop
call fcn.0081a913
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x404271
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0065e768
jmp 0x404286
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0065e768
jmp 0x404286
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x691094
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.0065e756
mov ecx, esi
mov dword [edi], 0x691080
mov dword [esp + 0x1c], 0xffffffff
call fcn.0065e762
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x431c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x666b0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x179
mov dword [esp + 0x18], esi
call fcn.0065eb46
lea ecx, [esi + 0x74]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ecx
mov dword [ecx + 4], edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 8], edi
push 0xa
push edi
mov byte [esp + 0x24], 1
mov dword [ecx], 0x692d50
call fcn.0048b670
lea ecx, [esi + 0x88]
mov byte [esp + 0x1c], 2
call fcn.0064dc20
push fcn.004d4240
push fcn.004d40f0
push 0xc
lea ecx, [esi + 0xa0]
push 0xa0
push ecx
call fcn.0065f456
push fcn.0065e798
push fcn.0065e79e
push 0xc
lea edx, [esi + 0x828]
push 4
push edx
mov byte [esp + 0x30], 3
call fcn.0065f456
push fcn.004c74f0
push fcn.004c7420
push 0xc
lea eax, [esi + 0x858]
push 0x5c
push eax
mov byte [esp + 0x30], 4
call fcn.0065f456
lea ebx, [esi + 0xca8]
mov byte [esp + 0x1c], 5
mov ecx, ebx
call fcn.0065e8a0
mov dword [ebx], 0x694a70
lea ebx, [esi + 0xce8]
mov byte [esp + 0x1c], 6
mov ecx, ebx
call fcn.0065e8a0
mov dword [ebx], 0x693598
lea ebx, [esi + 0xd28]
mov byte [esp + 0x1c], 7
mov ecx, ebx
call fcn.0065e79e
lea ebp, [esi + 0xd2c]
mov byte [esp + 0x1c], 8
mov ecx, ebp
call fcn.0065e79e
lea ecx, [esi + 0xd30]
mov byte [esp + 0x1c], 9
call fcn.0065e79e
push 0x6fc144
mov ecx, ebx
mov byte [esp + 0x20], 0xa
mov dword [esi], 0x6960c8
call fcn.0065e7a4
push 0x6fc144
mov ecx, ebp
call fcn.0065e7a4
push 0x6fc144
lea ecx, [esi + 0xd30]
call fcn.0065e7a4
mov dword [esi + 0x68], edi
mov ecx, dword [0x6fc710]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x60], edi
mov edx, dword [0x6fc714]
mov dword [esi + 0x70], edx
mov dword [esi + 0x820], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x824], edi
mov dword [0x6fc6e0], edi
mov dword [0x705e18], edi
mov dword [0x705e1c], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x460fe0
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 0x4637c7
Capabilities:
Encode data using xor

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

Function at 0x4637e1
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov ecx, 0x6dca24
push 0x20
sub ecx, eax
pop esi
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x4637f0
pop esi
ret
Function at 0x4851f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66d16b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push esi
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.0064dc20
lea ecx, [esp + 0x88]
call fcn.0064dc20
lea ecx, [esp + 0xc]
call fcn.0065e79e
mov ecx, dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0xa8], esi
call fcn.004d92f0
cmp eax, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], esi
jle 0x4853bf
mov ecx, dword [ebp + 0xc]
push esi
call fcn.004d9300
mov edi, eax
mov ecx, edi
call fcn.004d5290
cmp eax, 1
jne 0x4853ae
mov ecx, edi
call fcn.004d8c90
mov edi, eax
mov ebx, dword [edi + 8]
test ebx, ebx
jle 0x4853ae
xor esi, esi
mov eax, dword [edi + 4]
lea ecx, [eax + esi + 0x38]
push ecx
lea ecx, [esp + 0x10]
call fcn.0065e80a
mov ecx, dword [edi + 4]
lea edx, [esp + 0x88]
lea eax, [esp + 0x58]
push edx
push eax
add ecx, esi
call fcn.00652b10
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18], edx
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], ecx
fld qword [edx + esi + 0x28]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
fstp qword [esp + 0x34]
fld qword [esp + 0x88]
fsub qword [esp + 0x58]
lea eax, [esp + 0x70]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
fstp qword [esp + 0x74]
fld qword [esp + 0x94]
fsub qword [esp + 0x64]
fstp qword [esp + 0x7c]
call fcn.00657020
sub esp, 0x18
lea edx, [esp + 0x58]
mov dword [esp + 0x3c], esp
mov ecx, esp
push edx
call fcn.00657020
call fcn.006570d0
fstp qword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push 1
push eax
call fcn.00480970
add esp, 0x44
add esi, 0x40
dec ebx
jne 0x4852b4
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
inc esi
cmp esi, eax
mov dword [esp + 0x10], esi
jl 0x485283
lea ecx, [esp + 0xc]
mov dword [esp + 0xa8], 0xffffffff
call fcn.0065e798
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4853f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66d18b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push esi
push edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.0064dc20
lea ecx, [esp + 0x88]
call fcn.0064dc20
lea ecx, [esp + 0xc]
call fcn.0065e79e
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0xa8], ebx
call fcn.004f22b0
cmp eax, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], ebx
jle 0x4855da
jmp 0x48548a
mov edi, dword [ebp + 0xc]
push ebx
mov ecx, edi
call fcn.0049f3f0
mov esi, eax
mov ecx, esi
call fcn.004d5290
cmp eax, 1
jne 0x4855c9
push edi
mov ecx, esi
call fcn.004d56a0
cmp eax, 0xffffffff
jne 0x4855c9
mov ecx, esi
call fcn.004d8c90
mov edi, eax
mov eax, dword [edi + 8]
test eax, eax
jle 0x4855c9
xor esi, esi
mov ebx, eax
mov eax, dword [edi + 4]
lea ecx, [esi + eax + 0x38]
push ecx
lea ecx, [esp + 0x10]
call fcn.0065e80a
lea edx, [esp + 0x88]
lea eax, [esp + 0x58]
push edx
push eax
mov eax, dword [edi + 4]
mov ecx, esi
add ecx, eax
call fcn.00652b10
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18], edx
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], ecx
fld qword [esi + edx + 0x28]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
fstp qword [esp + 0x34]
fld qword [esp + 0x88]
fsub qword [esp + 0x58]
lea eax, [esp + 0x70]
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
fstp qword [esp + 0x74]
fld qword [esp + 0x94]
fsub qword [esp + 0x64]
fstp qword [esp + 0x7c]
call fcn.00657020
sub esp, 0x18
lea edx, [esp + 0x58]
mov dword [esp + 0x3c], esp
mov ecx, esp
push edx
call fcn.00657020
call fcn.006570d0
fstp qword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push 1
push eax
call fcn.00480970
add esp, 0x44
add esi, 0x40
dec ebx
jne 0x4854cd
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
inc ebx
cmp ebx, eax
mov dword [esp + 0x10], ebx
jl 0x485487
lea ecx, [esp + 0xc]
mov dword [esp + 0xa8], 0xffffffff
call fcn.0065e798
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48e3d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66d881
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.0064dc20
lea ecx, [esi + 0x30]
call fcn.0065e79e
lea ebp, [esi + 0x40]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x38], ebx
call fcn.0065e79e
lea ecx, [esi + 0x50]
mov byte [esp + 0x38], 1
call fcn.0065e79e
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0x50], 2
mov dword [esi], 4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.0064dc40
mov ecx, dword [eax]
push 0x6d9668
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0x14]
mov dword [edi + 0x14], edx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], ebx
call fcn.0065e7a4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x48], ebx
push 0x6d9668
mov ecx, ebp
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x4c], ebx
call fcn.0065e7a4
push 0x6d9668
mov ecx, ebp
call fcn.0065e7a4
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x498e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x38], 0
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
call fcn.0064dc20
lea ecx, [esp + 0x20]
call fcn.0064dc20
mov ecx, dword [edi + 0x80]
xor ebx, ebx
push 0x3fe00000
lea edx, [esp + 0x8c]
mov eax, dword [ecx]
push ebx
push edx
call dword [eax + 0x90]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x78], ecx
mov ecx, dword [edi + 0x80]
mov dword [esp + 0x7c], edx
lea edx, [esp + 0x88]
mov eax, dword [ecx]
push edx
call dword [eax + 0xdc]
push eax
lea ecx, [esp + 0x54]
call fcn.006578b0
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x4197d784
mov dword [esp + 0x10], ebx
mov eax, dword [eax + 8]
cmp eax, ebx
mov dword [esp + 0x14], eax
jle 0x499026
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov esi, dword [edx + ebx*4]
cmp esi, edi
je 0x499019
mov eax, dword [esi + 4]
mov ecx, dword [edi + 4]
cmp eax, ecx
je 0x499033
mov ecx, esi
call fcn.0048ee40
cmp eax, 2
jne 0x498f52
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x499019
mov ecx, esi
call fcn.004da3a0
mov esi, eax
push 0x3fe00000
lea eax, [esp + 0x8c]
push 0
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x90]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x20]
lea ecx, [esp + 0x68]
push eax
push ecx
mov dword [esp + 0x3c], edx
call fcn.0064def0
mov edx, dword [esi]
add esp, 8
fstp qword [esp + 0x80]
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
call dword [edx + 0xdc]
push eax
lea ecx, [esp + 0x3c]
call fcn.006578b0
lea ecx, [esp + 0x38]
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.00657490
fabs
fsubr qword [0x695748]
add esp, 8
fmul qword [0x692698]
fadd qword [esp + 0x80]
fcom qword [esp + 0x18]
fnstsw ax
test ah, 1
je 0x499017
mov eax, dword [ebp + 8]
fstp qword [esp + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + ebx*4]
mov dword [esp + 0x10], edx
jmp 0x499019
fstp st(0)
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x498f1c
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4ba4d0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x66f2e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x38]
lea esi, [edi + 0x80]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
mov dword [esp + 0x3c], 0
call fcn.00655240
mov edx, dword [eax]
add esp, 0xc
mov dword [esi], edx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov edx, dword [eax + 8]
mov dword [esi + 8], edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x10], edx
mov eax, dword [eax + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0xa8]
test eax, eax
jne 0x4ba646
mov al, byte [edi + 0x9c]
cmp al, 2
je 0x4ba554
cmp al, 0xa
je 0x4ba554
cmp al, 5
jne 0x4ba646
mov ecx, dword [edi + 0xc8]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4ba572
mov edx, dword [edi + 0xcc]
mov eax, dword [edx - 8]
test eax, eax
je 0x4ba646
sub esp, 0x78
lea eax, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
call fcn.00654cc0
sub esp, 0x18
lea esi, [edi + 0x118]
mov ecx, esp
mov dword [esp + 0x9c], esp
push esi
mov byte [esp + 0xc4], 0
call fcn.00657880
lea ecx, [esp + 0xa0]
push ecx
call fcn.00657900
add esp, 0x94
mov ecx, esi
push eax
call fcn.006578b0
lea edx, [esp + 0x10]
push esi
push edx
call fcn.006576a0
add esp, 8
mov ecx, esi
push eax
call fcn.006578b0
sub esp, 0x78
lea eax, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x84], esp
push eax
call fcn.00654cc0
sub esp, 0x18
lea esi, [edi + 0x130]
mov ecx, esp
mov dword [esp + 0x98], esp
push esi
mov byte [esp + 0xc4], 0
call fcn.00657880
lea ecx, [esp + 0xa0]
push ecx
call fcn.00657900
add esp, 0x94
mov ecx, esi
push eax
call fcn.006578b0
lea edx, [esp + 0x10]
push esi
push edx
call fcn.006576a0
add esp, 8
mov ecx, esi
push eax
call fcn.006578b0
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x4ba668
cmp byte [edi + 0x9c], 8
jne 0x4ba668
fld qword [edi + 0xa8]
fchs
fstp qword [edi + 0xa8]
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.00456760
mov ecx, dword [esp + 0x28]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret 0x78