joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57cf90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x57cffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x57d035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.0057ce00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x57cfc5
mov edi, 0x5978b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x57d035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0057ce00
add edi, 4
add esp, 0xc
cmp edi, 0x5978c0
jb 0x57d000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x57d070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00583082
mov esi, eax
add esp, 8
test esi, esi
je 0x57d107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x57d102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.00582946
add esp, 8
test eax, eax
je 0x57d0e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x57d0e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.00582946
add esp, 8
test eax, eax
jne 0x57d0c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x57d102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x57df10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5929fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x57e002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00581dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x57e002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.005796e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0058220b
push 0x10
call fcn.005821d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x57dfc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.0056e1c0
jmp 0x57dfc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.0057db80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x57dff0
mov ecx, edi
call fcn.0056e2c0
push edi
call fcn.005821c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x57e021
inc ebx
cmp ebx, 0x20
jb 0x57df3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x57f250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593808
push 0x583288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x57f329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x57f329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.005821d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x57f329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x57f329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x57f32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0057f351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x57fd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x57fd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x57fd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x57fd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x57fd94
push eax
push esi
call fcn.0058220b
add esp, 8
pop esi
ret 0x10

Function at 0x57fda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x57fe22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x57fe15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x598320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00581dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x57fdda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x57fe30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x57fec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x57feb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x598320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00581dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x57feab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x57fe6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x580000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x580131
push esi
call fcn.00583145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00572080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x580131
push 0
push ebp
call fcn.005723a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00572260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x58008b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.005722f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x580121
push 0x598918
push edi
call fcn.005813f0
push eax
push ebx
push esi
call fcn.0057ff60
push 0x5988f8
push edi
call fcn.005813f0
push eax
push ebx
push esi
call fcn.0057ff60
push 0x5988d8
push edi
call fcn.005813f0
push eax
push ebx
push esi
call fcn.0057ff60
push 0x5988c0
push edi
call fcn.005813f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0057ff60
push 0x5988a0
push edi
call fcn.005813f0
push eax
push ebx
push esi
call fcn.0057ff60
push 0x598888
push edi
call fcn.005813f0
push eax
push ebx
push esi
call fcn.0057ff60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x5811b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00581140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00581140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00581140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00581140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x581bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x581c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x59387c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x581c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x581c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x427900
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42792d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42792d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4238a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
cmp dword [0x42b444], 0
jne 0x4238c4
push 0x1019
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x4238c4
xor eax, eax
jmp 0x4238f9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, 0xfffffffe
je 0x4238d3
xor eax, eax
jmp 0x4238f9
push 0x11
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 0x1f4
jle 0x4238f1
mov eax, section..text
sub eax, 0x51615
mov dword [0x42b448], eax
mov eax, dword [0x42b448]
add eax, 4
mov esp, ebp
pop ebp
ret

Function at 0x423a60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x423a78
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x423b1c
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x423b17
mov ecx, dword [ebp - 8]
push ecx
call fcn.00423f80
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x423ad6
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x423ad6
xor eax, eax
jmp 0x423b1c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x423a6f
mov esp, ebp
pop ebp
ret
Function at 0x4029c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4e3ae4], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x402a7a
xor ebx, ebx
nop dword [eax]
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x4e3ae0], eax
inc ebx
cmp ebx, 0x100
jb 0x4029e0
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x402aa6
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4e3ae0]
sub edi, 1
jne 0x402a85
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x402ad8
nop dword [eax]
cmp cl, 0x23
jne 0x402abf
cmp byte [esi], cl
jne 0x402abf
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4e3ae0]
test cl, cl
jne 0x402ab0
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x402fe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x402ff2
mov dword [ebx], 0
mov edx, 0x4d5538
call fcn.00402e90
mov esi, eax
test esi, esi
jne 0x403006
pop esi
pop ebx
pop ebp
ret
push edi
push 2
push 0
push esi
call fcn.00496413
add esp, 0xc
test eax, eax
jne 0x4030d0
push esi
call fcn.00495764
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x4030d0
push 0
push 0
push esi
call fcn.00496413
add esp, 0xc
test eax, eax
jne 0x4030d0
mov ecx, dword [0x4e1ef0]
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
mov eax, dword [ecx + 0xbc]
inc dword [ecx + 0x310]
call eax
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x4030d0
push esi
push edi
push 1
push eax
call fcn.0049a621
add esp, 0x10
cmp eax, edi
je 0x4030a1
push esi
call fcn.004960c0
mov eax, dword [0x4e1ef0]
mov ecx, dword [ebp + 8]
push ecx
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
call eax
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4030b9
push eax
mov eax, dword [ebp + 8]
add eax, edi
push 0
push eax
call fcn.00491bb0
add esp, 0xc
push esi
call fcn.004960c0
add esp, 4
test ebx, ebx
je 0x4030c8
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.004960c0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41a9b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0xc], ecx
xor ecx, ecx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebx + 0xc], ecx
jle 0x41ab96
mov esi, dword [ebx + 8]
mov eax, 0x100
add esi, 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x10], esi
movss xmm1, dword [esi - 0x14]
comiss xmm1, xmm0
jbe 0x41aa3e
mov esi, dword [edx + 4]
mov edi, dword [edx + 0x1c]
cwde
movzx ecx, byte [edi + esi + 6]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 7]
add cx, ax
mov eax, 0x100
movsx edx, cx
movzx ecx, byte [edi + esi + 4]
cwde
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 5]
mov esi, dword [ebp - 0x10]
add cx, ax
movsx eax, cx
sub eax, edx
movd xmm0, eax
jmp 0x41aa61
mov eax, dword [ebp - 8]
mov edx, dword [edx + 0x14]
xorps xmm1, xmmword [0x4da620]
mov eax, dword [eax + 4]
movzx ecx, byte [edx + eax + 0x12]
movzx eax, byte [edx + eax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov ecx, dword [ebp - 0xc]
xor edi, edi
cvtdq2ps xmm0, xmm0
movzx eax, byte [ecx + 0x18]
mov byte [esi], al
movzx eax, byte [ecx + 0x1c]
divss xmm1, xmm0
mov byte [esi + 1], al
movss dword [ebp - 0x14], xmm1
cmp dword [esi - 8], edi
jle 0x41ab78
mov eax, dword [ebp - 4]
mov ecx, dword [ebx + 0x10]
shl eax, 4
add ecx, 6
add eax, ecx
mov dword [ebp - 0x10], eax
nop dword [eax]
mov edx, dword [esi - 0xc]
test edx, edx
jne 0x41aaae
mov edx, dword [esi - 0x10]
add edx, edi
jmp 0x41aab1
mov edx, dword [edx + edi*4]
mov ecx, dword [ebp - 8]
call fcn.004153d0
mov ecx, dword [ebp - 0xc]
mov edx, eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ecx + 0x1c]
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [esp + 4], 0
mov dword [esp], 0
addsd xmm0, qword [eax*8 + 0x4da5f0]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 8]
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm3, xmm1
addsd xmm0, qword [eax*8 + 0x4da5f0]
cvtpd2ps xmm2, xmm0
mulss xmm2, xmm1
call fcn.00417830
mov ecx, dword [ebp - 0xc]
inc edi
mov edx, dword [ebp - 0x10]
add esp, 0x18
movss xmm1, dword [ebp - 0x14]
movzx eax, word [ecx + 0x18]
sub ax, word [ebp - 0x18]
dec ax
add ax, word [ecx + 0x14]
add ax, word [ebp - 0x1c]
mov word [edx - 2], ax
movzx eax, word [ecx + 0x1c]
sub ax, word [ebp - 0x20]
dec ax
add ax, word [ecx + 0x14]
add ax, word [ebp - 0x24]
mov ecx, dword [ebp - 4]
mov word [edx], ax
inc ecx
add edx, 0x10
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
cmp edi, dword [esi - 8]
jl 0x41aaa0
jmp 0x41ab7b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
add esi, 0x18
sub dword [ebx + 0xc], 1
xorps xmm0, xmm0
mov dword [ebp - 0x10], esi
mov eax, 0x100
jne 0x41a9f0
pop edi
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x41f2b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9f76
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4e1040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov eax, 0x3f
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
call fcn.0041f410
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x424410
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba32d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4e1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], 0
push 0x40
mov dword [ebp - 4], 0
call fcn.00437d27
mov edi, eax
add esp, 4
mov dword [ebp - 0x18], edi
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0042d9b0
lea esi, [edi + 0x18]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov dword [ebp - 4], 3
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x42448f
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
push 8
mov dword [ebp - 4], 0
call fcn.00437d27
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], 0x424290
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
push ecx
push 0
push eax
push 0x4357c0
push 0
push 0
call fcn.0049f7da
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x424514
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00424250
cmp dword [ebp - 0x18], 0
jne 0x424522
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x4244f9
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00437877
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.00438957
call fcn.0049fa16
int3