joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43acd8
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.004346b7
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004346b7
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x43ad4f
cmp word [ecx], dx
je 0x43ad4f
mov eax, dword [0x4514b4]
push edi
dec eax
push eax
push 0x4513a0
call fcn.0043ac71
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x43adc2
cmp word [eax], dx
je 0x43adc2
mov eax, dword [edi]
test eax, eax
je 0x43ad73
cmp word [eax], dx
je 0x43ad73
lea eax, [ebp - 0x10]
push eax
call fcn.0043a657
jmp 0x43ad7c
lea eax, [ebp - 0x10]
push eax
call fcn.0043a6f2
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x43adec
mov eax, dword [0x45139c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x451090
call fcn.0043ac71
add esp, 0xc
test al, al
je 0x43adec
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x43adb7
cmp word [eax], di
je 0x43adb7
lea eax, [ebp - 0x10]
push eax
call fcn.0043a657
pop ecx
jmp 0x43adee
lea eax, [ebp - 0x10]
push eax
call fcn.0043a6f2
jmp 0x43adb4
mov eax, dword [edi]
test eax, eax
je 0x43add9
cmp word [eax], dx
je 0x43add9
lea eax, [ebp - 0x10]
push eax
call fcn.0043a5ee
pop ecx
jmp 0x43adec
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x43aeb7
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0043aaf6
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43aeb7
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x43aeb7
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x43aeb7
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x43ae44
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0043010d
test ebx, ebx
je 0x43aeb2
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0043010d
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43aeb7
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43aeb7
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004431ab
add esp, 0x10
xor eax, eax
inc eax
jmp 0x43aeb9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004017b4
leave
ret
Function at 0x441b9c
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x441bb6
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x441bcd
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x441c25
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.00438119
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x441c25
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x441c25
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x441c25
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x441c1f
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x441c21
xor bl, bl
mov al, bl
jmp 0x441c27
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x44456f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x51c838]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4445b1
cmp byte [ebx], 0xa
jne 0x4445b1
or byte [edi + eax + 0x28], 4
jmp 0x4445b6
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4446b9
mov cl, byte [eax]
cmp cl, 0x1a
je 0x444694
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x4445e5
mov eax, dword [ebp - 8]
jmp 0x444605
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x444621
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x4445ff
add eax, 2
mov cl, 0xa
jmp 0x444602
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x4445c7
jmp 0x4446b9
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44468f
cmp dword [ebp - 0x10], 0
je 0x44468f
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x51c838]
test byte [eax + edi + 0x28], 0x48
je 0x44466e
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x44465e
mov byte [esi], 0xa
jmp 0x4446b8
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x51c838]
mov byte [eax + edi + 0x2a], cl
jmp 0x4446b8
cmp byte [ebp - 1], 0xa
jne 0x444678
cmp esi, ebx
je 0x444659
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004443c1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4446b9
mov byte [esi], 0xd
jmp 0x4446b8
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x51c838]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x4446b6
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x4446b9
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4446c2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x51c838]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x444706
push 0xa
pop esi
cmp word [ebx], si
jne 0x444706
or byte [eax + edi + 0x28], 4
jmp 0x44470b
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x444876
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x44484e
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x444758
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x444782
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x4447a1
push 0xa
pop ebx
cmp word [edx], bx
jne 0x44476f
push ebx
add eax, 4
pop edx
jmp 0x444777
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x44471d
jmp 0x444876
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x444849
cmp dword [ebp - 0x14], 0
je 0x444849
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x51c838]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x444825
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x4447ed
mov word [esi], ax
jmp 0x444873
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x51c838]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x51c838]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x51c838]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x444873
cmp word [ebp - 4], ax
jne 0x44482f
cmp esi, ebx
je 0x4447e5
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004443c1
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x444876
push 0xd
pop eax
jmp 0x4447e5
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x51c838]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x444870
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x444876
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44a150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44a17d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44a17d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x402d10
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404510
test esi, esi
jne 0x402d47
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404600
jmp 0x402d68
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402bac
mov dword [esp], eax
test esi, esi
je 0x402d68
cmp dword [ebx], 0
je 0x402d68
dec esi
jmp 0x402d4f
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403728
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x414020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4037c0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4037a0
xor eax, eax
push ebp
push 0x403799
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4037dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4037a0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x414020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x414020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40438c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x415044], 0
je 0x4043ed
cmp word [0x415218], 0xd7b2
jne 0x4043b5
cmp dword [0x415220], 0
jbe 0x4043b5
mov eax, 0x415214
call dword [0x415230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x41406c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404414
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41402c], 0
jne 0x404409
push 0
push 0x414064
push 0x41406c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405f88
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405fee
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404780
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403194
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405fd8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ff5
lea eax, [ebp - 0x10]
call fcn.00404510
ret

Function at 0x40a338
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a371
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404600
jmp 0x40a37a
mov eax, ebx
mov edx, esi
call fcn.00404564
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a384
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a3a5
mov al, byte [esp]
jmp 0x40a3a7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40aa3c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a8a4
mov eax, dword [0x414500]
cmp byte [eax], 0
je 0x40aab8
mov eax, dword [0x414420]
call fcn.00403094
call fcn.00402ad8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407c8c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40ab00
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40aaee
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4143fc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x415660]
call fcn.00405430
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40b800
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b864
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404780
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004076ec
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b86b
lea eax, [ebp - 0xc]
call fcn.00404510
ret
Function at 0x40b730
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b8fe
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b75b
mov eax, 0x7000000
jmp 0x40b763
test eax, eax
je 0x40b8d9
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
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
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.0045eb90
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x535160]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40b8f1
cmp ecx, 0x21
jae 0x40b8e5
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00459b50
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.00459c20
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x4c8e44]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x4c8eac]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40b8b4
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x4c8ef4]
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, ecx
mov ecx, 0x21
call fcn.0045ec70
mov eax, ecx
mov ecx, 0x21
call fcn.0045ed10
nop
call fcn.0045d7d0
jmp fcn.0040b730
Function at 0x412f80
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4131a4
sub esp, 0x18
mov eax, dword [0x568d68]
test eax, eax
jne 0x41318d
nop
lea eax, [0x568d54]
mov dword [esp], eax
call fcn.00409520
mov eax, dword [0x568d58]
test eax, eax
je 0x412fc9
cmp dword [eax + 8], 0xcc
jne 0x41303f
mov edx, dword [0x568d4c]
test edx, edx
jne 0x413021
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x56b570]
mov dword [esp + 8], eax
call fcn.0040b910
mov eax, dword [esp + 0xc]
mov dword [0x568d4c], eax
mov ecx, dword [0x568d10]
mov dword [eax], ecx
mov eax, dword [0x568d4c]
mov dword [0x568d10], eax
movzx eax, byte [0x5691e0]
test al, al
jne 0x413021
xor eax, eax
jmp 0x413139
mov edx, dword [0x568d4c]
mov ebx, dword [edx + 4]
mov dword [0x568d4c], ebx
mov ebx, dword [0x568d58]
mov dword [edx + 4], ebx
mov dword [0x568d58], edx
mov edx, dword [0x568d58]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x413121
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.00402130
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x568ef0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41309d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x4130aa
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.0045ebe0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x568ef0]
test edx, edx
jne 0x4130d6
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x4130f7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.0045ebe0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.0045ebe0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.0045ebe0
nop
lea eax, [0x568d54]
mov dword [esp], eax
call fcn.00409720
nop
lea eax, [0x568d50]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004022a0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.0045ec70
lea esi, [0x5691e0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x413021
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x413183
lea edx, [0x53129c]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x41312b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.0045ec60
mov ecx, 5
call fcn.0045ec60
lea eax, [0x4ad78e]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00434410
nop
call fcn.0045d7d0
jmp fcn.00412f80
Function at 0x4265a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x426710
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00424330
mov eax, dword [esp + 4]
test eax, eax
je 0x4266f9
mov dword [esp + 0xc], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call fcn.004220b0
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 + 0xb], bl
lea ebp, [ecx + 0x48]
mov dword [esp + 0x18], ebp
nop
mov dword [esp], ebp
call fcn.00409520
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x426637
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x42669d
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x42664c
cmp byte [ebp + 6], dl
je 0x426657
cmp esi, ebx
ja 0x42669d
jne 0x426635
cmp byte [ebp + 6], dl
jbe 0x426635
jmp 0x42669d
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409720
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x426694
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x426694
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call fcn.004264a0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409720
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x4266f0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4266f0
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x4ae8ec]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00434410
nop
call fcn.0045d7d0
jmp fcn.004265a0
Function at 0x426b90
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x426cac
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x426c25
cmp cl, 2
je 0x426bcd
cmp cl, 3
jne 0x426c95
mov byte [eax + 8], 1
jmp 0x426c91
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042bdc0
nop
lea eax, [0x54d338]
mov dword [esp], eax
call fcn.00409520
nop
mov eax, dword [0x54d304]
sub eax, dword [0x54d2e8]
mov dword [0x54d304], eax
mov eax, dword [0x54d2f4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x54d2f4], ecx
nop
lea eax, [0x54d338]
mov dword [esp], eax
call fcn.00409720
jmp 0x426c91
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00412f80
nop
lea eax, [0x54d338]
mov dword [esp], eax
call fcn.00409520
nop
mov eax, dword [0x54d2dc]
sub eax, dword [0x54d2c0]
mov dword [0x54d2dc], eax
mov eax, dword [0x54d2cc]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x54d2cc], ecx
nop
nop
lea eax, [0x54d338]
mov dword [esp], eax
call fcn.00409720
add esp, 0x14
ret
lea eax, [0x4ab284]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00434410
nop
call fcn.0045d7d0
jmp fcn.00426b90