joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100045a0
Capabilities:
Modify service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 2
xor esi, esi
xor bl, bl
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10004688
push edi
push 0x37
push 0x100159c0
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x10004671
push 0x2000
call fcn.1000509c
mov esi, eax
add esp, 4
test esi, esi
je 0x1000466a
lea eax, [ebp - 8]
push eax
push 0x2000
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test al, al
je 0x1000466a
cmp dword [esi + 4], 4
jne 0x10004631
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test al, al
je 0x1000466a
lea eax, [ebp - 0xc]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test al, al
je 0x1000466a
cmp dword [ebp - 0x2c], 4
je 0x10004668
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push 0xbb8
mov bl, al
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000466a
mov bl, 1
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
test esi, esi
je 0x10004688
push esi
call fcn.10005064
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.10004869
mov esp, ebp
pop ebp
ret
Function at 0x100046a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1bc
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x1d0], 0
push 0
push eax
mov esi, ecx
xor bl, bl
call fcn.10008d40
add esp, 0xc
mov dword [ebp - 0x1d4], 0
xor edi, edi
call fcn.100045a0
push edi
lea eax, [ebp - 0xc]
push eax
push 0x1c0
lea eax, [ebp - 0x1d0]
push eax
push edi
push edi
push 0x222594
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test al, al
je 0x10004830
push 0x2c
lea eax, [ebp - 0x200]
mov dword [ebp - 0x204], edi
push edi
push eax
call fcn.10008d40
add esp, 0xc
mov dword [ebp - 0x1f4], str.HLPR_WFP_SESSION
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x1ec], edi
push eax
lea eax, [ebp - 0x204]
push eax
push edi
push 0xa
push edi
call dword [sym.imp.fwpuclnt.dll_FwpmEngineOpen0]
mov edi, eax
test edi, edi
jne 0x10004830
mov esi, dword [ebp - 0x1d4]
test esi, esi
je 0x10004778
push eax
push esi
call dword [sym.imp.fwpuclnt.dll_FwpmTransactionBegin0]
mov esi, dword [ebp - 0x1d4]
mov edi, eax
jmp 0x1000477d
mov edi, 0x57
test edi, edi
jne 0x10004836
lea edx, [ebp - 0x1d0]
mov ecx, esi
call fcn.10003b90
mov edi, eax
test edi, edi
jne 0x10004830
mov ecx, dword [ebp - 0x1d4]
lea edx, [ebp - 0x1d0]
call fcn.10003d00
mov edi, eax
test edi, edi
jne 0x10004830
mov ecx, dword [ebp - 0x1d4]
lea edx, [ebp - 0x1d0]
call fcn.10003e50
mov edi, eax
test edi, edi
jne 0x10004830
mov ecx, dword [ebp - 0x1d4]
lea edx, [ebp - 0x1d0]
call fcn.10003fd0
mov edi, eax
test edi, edi
jne 0x10004830
mov esi, dword [ebp - 0x1d4]
test esi, esi
je 0x10004807
push esi
call dword [sym.imp.fwpuclnt.dll_FwpmTransactionCommit0]
mov edi, eax
test edi, edi
je 0x100047ff
push esi
call dword [sym.imp.fwpuclnt.dll_FwpmTransactionAbort0]
mov esi, dword [ebp - 0x1d4]
jmp 0x1000480c
mov edi, 0x57
test edi, edi
jne 0x10004836
lea eax, [ebp - 8]
mov bl, 1
push eax
push edi
push edi
push 0x10004130
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10004830
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1d4]
test esi, esi
je 0x10004856
test edi, edi
je 0x1000484b
push esi
call dword [sym.imp.fwpuclnt.dll_FwpmTransactionAbort0]
mov esi, dword [ebp - 0x1d4]
test esi, esi
je 0x10004856
push esi
call dword [sym.imp.fwpuclnt.dll_FwpmEngineClose0]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004869
mov esp, ebp
pop ebp
ret
Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x10b809cc
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x10b809d2
pop ebp
sub ebp, 6
sub ebp, 0xb809cc
jmp 0x10b80a30
mov al, byte [esp + 0x28]
cmp al, 1
je 0x10b80a47
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x10b80a50
mov eax, 0xb809cc
add eax, ebp
add eax, 0xaa
mov ecx, 0x598
mov edx, 0x1823bcdf
xor byte [eax], dl
inc eax
dec ecx
jne 0x10b80a67
jmp 0x10b80a7a
push esp
adc dl, byte [esi + edx*2 - 0x1d]
invalid
Function at 0x401a80
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4043ea
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
lea eax, [esp + 0x14]
push ebx
push esi
push edi
push eax
mov esi, ecx
push 0x101
call sub.WSOCK32.dll_WSAStartup
xor ebx, ebx
push ebx
call fcn.00402940
mov ecx, dword [0x407560]
mov edx, dword [ecx + 0x4f50c]
mov ecx, esi
push edx
call fcn.00402350
cmp eax, 0x190
mov dword [esi + 0x64], eax
jge 0x401adc
mov dword [esi + 0x64], 0x190
push 0x100c
mov dword [esi + 0x68], ebx
call sub.MFC42.DLL_operatornew
mov edi, eax
mov ecx, 0x403
xor eax, eax
mov dword [esi + 0x60], edi
rep stosd dword es:[edi], eax
push 0x40
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 8
mov dword [esp + 0x1c], edi
cmp edi, ebx
mov dword [esp + 0x1b8], ebx
je 0x401b21
mov ecx, edi
call fcn.004040ae
mov dword [edi], 0x4057d0
jmp 0x401b23
xor edi, edi
mov eax, dword [esi + 0x60]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1b8], 0xffffffff
mov dword [eax + 0x1004], edi
mov edx, dword [esi + 0x20]
push ecx
push edx
call ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x60]
sub ecx, 0x14
push 0
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x1004]
push 0x999
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push esi
push eax
push 0x50000000
push 0
push 0
call dword [edx + 0x5c]
mov ecx, dword [esi + 0x60]
push 1
mov ecx, dword [ecx + 0x1004]
call fcn.00403df0
push 0x40
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
mov dword [esp + 0x1b8], 1
je 0x401bb5
mov ecx, edi
call fcn.004040ae
mov dword [edi], 0x4057d0
jmp 0x401bb7
xor edi, edi
mov edx, dword [esi + 0x60]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x1bc], 0xffffffff
mov dword [edx + 0x1008], edi
mov ecx, dword [esi + 0x20]
push ecx
call ebx
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x60]
add edx, 0xffffffec
push 0
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 0x1008]
push 0x99a
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push esi
push eax
push 0x50000000
push 0
push 0
call dword [edx + 0x5c]
mov ecx, dword [esi + 0x60]
push 1
mov ecx, dword [ecx + 0x1008]
call fcn.00403df0
mov edx, dword [esi + 0x60]
push 1
mov ecx, dword [edx + 0x1008]
call fcn.00403e20
mov eax, dword [esi + 0x20]
push 0
push 0x7530
push 2
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x1b0]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b0
ret
Function at 0x4023f0
Capabilities:
Allocate or change rwx memory
Check os version
Execute shellcode via indirect call

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x9c
push eax
call esi
test eax, eax
jne 0x40242f
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x94
push ecx
call esi
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp eax, 6
mov dword [esp + 0x10], ebx
jb 0x402451
push ebx
push ebx
call dword [sym.imp.WINMM.dll_waveOutSetVolume]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.DSound.dll
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, ebx
je 0x402490
push str.DirectSoundCreate
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x402490
lea edx, [esp + 0x10]
push edx
push 0x40
push 3
push esi
call edi
mov byte [esi], 0xc2
mov byte [esi + 1], 0xc
mov byte [esi + 2], bl
push str.Winmm.dll
call ebp
mov ebp, eax
cmp ebp, ebx
je 0x4024ed
push str.midiStreamOpen
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x4024c5
lea eax, [esp + 0x10]
push eax
push 0x40
push 3
push esi
call edi
mov byte [esi], 0xc2
mov byte [esi + 1], 4
mov byte [esi + 2], bl
push str.waveOutWrite
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x4024ed
lea ecx, [esp + 0x10]
push ecx
push 0x40
push 3
push esi
call edi
mov byte [esi], 0xc2
mov byte [esi + 1], 0xc
mov byte [esi + 2], bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x402600
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
cmp edi, 4
jb 0x40263e
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, 4
mov ecx, 0x48f086f9
sub esi, eax
mov ebx, dword [eax]
xor edx, ecx
xor ebx, edx
add ecx, 0x209444
mov dword [eax], ebx
add eax, 4
lea ebx, [esi + eax]
cmp ebx, edi
jbe 0x402620
pop esi
pop ebx
xor eax, eax
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x402910
Capabilities:
Resolve dns

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x402930
mov eax, dword [esp + 8]
push eax
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x402930
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esi], eax
pop esi
ret

Function at 0x4038f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov dword [esp + 0x10], 0
lea eax, [ebp + ebp*8]
lea ebp, [ebp + eax*8]
mov al, byte [ebp + 0x407570]
test al, al
lea edi, [ebp + 0x407570]
jne 0x403a48
mov ecx, 0x12
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x403a55
mov edx, dword [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x403a55
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 0x10]
xor eax, eax
push ecx
push 0x40
mov dword [esp + 0x1c], eax
push 5
push ebx
mov byte [esp + 0x28], al
call esi
lea edx, [esp + 0x2c]
lea eax, [esp + 0x14]
push edx
push 5
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [esp + 0x14]
push 5
push ecx
call fcn.00402ff0
add esp, 8
cmp eax, 5
mov dword [esp + 0x20], eax
jb 0x403a63
cmp byte [esp + 0x14], 0xe9
je 0x403a63
mov ecx, eax
lea esi, [esp + 0x14]
mov edx, ecx
lea edi, [ebp + 0x407579]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
sub edx, ebp
rep movsb byte es:[edi], byte [esi]
sub edx, 0x407579
mov cl, 0xe9
sub edx, 5
mov byte [eax + ebp + 0x407579], cl
mov dword [eax + ebp + 0x40757a], edx
mov eax, dword [esp + 0x28]
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x2c]
sub eax, ebx
push ecx
lea edx, [esp + 0x18]
push 5
sub eax, 5
push edx
push ebx
mov dword [esp + 0x25], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [esp + 0x10]
push 0
push eax
push 5
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
mov byte [ebp + 0x407570], 1
add edx, ebx
mov dword [ebp + 0x407571], ecx
pop edi
mov dword [ebp + 0x407575], edx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 0x50
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x10]
push 0
push eax
push 5
push ebx
call esi
pop edi
pop esi
pop ebp
mov eax, 0x32
pop ebx
add esp, 0xc
ret
Function at 0x17dd974
Capabilities:
Encode data using xor

Disassembly:
invalid
pushfd
lea esp, [esp + 0x4c]
je 0x17dfde6
cmc
cmp dl, 0x93
stc
sub al, 0x30
clc
bt ebp, esi
pushal
bt cx, 6
cmp al, 9
pushfd
call fcn.01592080
jnp 0x17dd961
out dx, al
or eax, 0xd9bd5614
popfd
adc dword [0x567f2756], ecx
mov ecx, 0xaf510ab0
out 0xa5, al
sub al, 0x3b
xchg edx, eax
nop
inc edi
inc ecx
or byte [esi], dh
lodsd eax, dword [esi]
mov byte [edi], ch
fcmovb st(0), st(1)
dec ebx
push edx
pop ecx
add byte [ebp + 0x253eb89c], 0x78
in al, 0xb
daa
das
push ss
xor dl, ah
imul edx, dword [edx - 0x3487ae1b], 0xffffff95
in al, dx
inc edx
jle 0x17dd9bc
cmp byte [ecx - 0x4b], cl
fsubr qword [edi]
invalid
Function at 0x4034f0
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x5e90f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4036c0
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.00467db0
jmp fcn.004034f0
Function at 0x40d0e0
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x5e90f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40d2ab
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40d109
mov eax, 0x7000000
jmp 0x40d111
test eax, eax
je 0x40d286
mov dword [esp + 0x34], eax
mov ecx, dword [0x5e90f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x4a4]
mov ebx, dword [ecx + 0x4a8]
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x4a4], ebx
mov dword [ecx + 0x4a8], ebp
mov dword [esp], edx
call fcn.00469160
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x24]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x5a0300]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x40d29e
cmp edx, 0x21
jae 0x40d292
movsd qword [esp + 0x14], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x1c], xmm0
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.00461e90
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00461f60
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x514870]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x5148b0]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40d261
xorps xmm0, xmm0
mov eax, dword [esp + 0x34]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x5148e8]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, edx
mov ecx, 0x21
call fcn.00469240
mov eax, edx
mov ecx, 0x21
call fcn.004692e0
nop
call fcn.00467db0
jmp fcn.0040d0e0
Function at 0x416b80
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x5e90f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x416d7e
sub esp, 0x18
mov eax, dword [0x5e9020]
test eax, eax
jne 0x416d67
nop
nop
lea eax, [0x5e9010]
mov dword [esp], eax
call fcn.0040acc0
mov eax, dword [0x5e9014]
test eax, eax
je 0x416bc8
cmp dword [eax + 8], 0xcc
jne 0x416c3e
mov edx, dword [0x5e9018]
test edx, edx
jne 0x416c20
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x5eb910]
mov dword [esp + 8], eax
call fcn.0040d2c0
mov eax, dword [esp + 0xc]
mov dword [0x5e9018], eax
mov ecx, dword [0x5e901c]
mov dword [eax], ecx
mov eax, dword [0x5e9018]
mov dword [0x5e901c], eax
movzx eax, byte [0x5e9480]
test al, al
jne 0x416c20
xor eax, eax
jmp 0x416d38
mov edx, dword [0x5e9018]
mov ebx, dword [edx + 4]
mov dword [0x5e9018], ebx
mov ebx, dword [0x5e9014]
mov dword [edx + 4], ebx
mov dword [0x5e9014], edx
mov edx, dword [0x5e9014]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x416d17
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402bf0
mov eax, dword [0x5e91b8]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x416c90
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
jmp 0x416cd0
call fcn.00469220
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0x14], esi
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], esi
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x1c], esi
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov dword [edx + ecx*4 + 0x1c], ebx
mov dword [edx + ecx*4 + 0x20], ebp
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4 + 0x14], eax
nop
nop
lea eax, [0x5e9010]
mov dword [esp], eax
call fcn.0040aee0
nop
lea eax, [0x5e900c]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402d70
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00469240
lea edx, [0x59f358]
movzx ebx, byte [edx + eax]
lea ebp, [0x5e9480]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x416c20
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x416d21
mov ecx, 5
call fcn.00469230
lea eax, [0x4f0333]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00438ae0
nop
call fcn.00467db0
jmp fcn.00416b80
Function at 0x42abe0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x5e90f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42ad24
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004289f0
mov eax, dword [esp + 4]
test eax, eax
je 0x42ad0d
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x4c]
mov dword [esp + 0x18], ecx
mov edx, dword [0x5e90f0]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
nop
inc dword [ebx + 0x7c]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.004264d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xa], bl
nop
mov ebp, dword [esp + 0x18]
mov dword [esp], ebp
call fcn.0040acc0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x50]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0xa]
jmp 0x42ac77
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x42aca2
movzx esi, word [ebp + 4]
cmp esi, edx
jne 0x42ac8c
cmp byte [ebp + 6], bl
je 0x42ac97
cmp esi, edx
ja 0x42ac9e
jne 0x42ac75
cmp byte [ebp + 6], bl
jbe 0x42ac75
jmp 0x42ac9e
mov ebx, 1
jmp 0x42aca4
xor ebx, ebx
jmp 0x42aca4
xor ebx, ebx
mov byte [esp + 0xb], bl
test bl, bl
jne 0x42acc2
mov ebx, dword [esp + 0x24]
mov word [ebx + 4], dx
mov edx, dword [ecx]
mov dword [ebx], edx
mov dword [ecx], ebx
mov dword [esp], eax
call fcn.0042aae0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040aee0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x5e90f0]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x42acfd
movzx eax, byte [ebx + 0x65]
test al, al
je 0x42acfd
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xb]
xor eax, 1
mov byte [esp + 0x28], al
add esp, 0x1c
ret
lea eax, [0x4f199d]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00438ae0
nop
call fcn.00467db0
jmp fcn.0042abe0