joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401160
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
xor esi, esi
nop word [eax + eax]
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x1a
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xca
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x7b
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x2a
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 2
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x9a
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0xa7
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xd2
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x41
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x4e
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xbd
push 0
push 0
push 0
call edi
inc byte [esi + section..BsS]
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xc5
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x21
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 6
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xbc
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xbe
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xea
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x6b
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0x7c
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xbb
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x73
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x8b
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x30
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0x46
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xf0
push 0
push 0
push 0
call edi
xor byte [esi + section..BsS], 0xec
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xbf
push 0
push 0
push 0
call edi
add byte [esi + section..BsS], 0xb5
inc esi
cmp esi, 0x55c00
jb 0x401170
pop edi
pop esi
ret
Function at 0x4018c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x41800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
call dword [sym.imp.KERNEL32.dll_FreeConsole]
clc
jae 0x4018e4
call 0x63d133
add byte [eax], al
mov eax, 0x23
cmp eax, 0x100
jl 0x4018f2
call 0x3dcb7d67
xor byte [eax], al
add byte [eax], al
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x46fc00], eax
stc
jb 0x401910
jmp 0xe8488325
push 8
call fcn.0040271b
add esp, 4
mov esi, eax
push 4
call fcn.0040271b
add esp, 4
lea edi, [esi + 4]
mov dword [eax], 0x4018b0
push edi
push 0
push eax
push 0x401c70
push 0
push 0
call fcn.0040555f
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x401a2b
cmp dword [edi], 0
je 0x401a38
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi], eax
je 0x401a3f
push 0
push dword [esi + 4]
push dword [esi]
call fcn.0040230e
add esp, 0xc
test eax, eax
jne 0x401a46
push 0xc
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [ebp - 0x10], 0x422e28f6
mov dword [ebp - 0xc], 0x440762a0
mov dword [ebp - 8], 0x3f443958
call fcn.0040271b
add esp, 4
mov edi, eax
lea eax, [ebp - 0x10]
push 0xc
push eax
push edi
lea esi, [edi + 0xc]
call fcn.00403610
add esp, 0xc
xor dl, dl
mov ebx, edi
cmp edi, esi
je 0x4019e9
movss xmm1, dword [0x415b5c]
movss xmm0, dword [ebx]
mov cl, dl
comiss xmm0, xmm1
lea eax, [ecx + 1]
movzx edx, al
movzx eax, cl
cmovbe edx, eax
add ebx, 4
cmp ebx, esi
jne 0x4019c3
cmp dl, 5
jbe 0x4019e9
or ebx, 0xffffffff
jmp 0x4019eb
xor ebx, ebx
test edi, edi
je 0x401a18
sub esi, edi
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x401a0e
mov ecx, dword [edi - 4]
add esi, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x401a4d
mov edi, ecx
push esi
push edi
call fcn.0040274b
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040270d
mov esp, ebp
pop ebp
ret
push 6
mov dword [edi], 0
call fcn.004020b0
push 1
call fcn.004020b0
push 5
call fcn.004020b0
push 2
call fcn.004020b0
call fcn.0040590c
int3

Function at 0x402cd6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402d15
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402d15
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402d15
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402d15
cmp dword [ecx + 0x74], 0xe
jbe 0x402d15
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407a04
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41227c
push 0x412274
push str.FlsAlloc
push 0x1e
call fcn.00407885
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407a38
push dword [ebp + 8]
mov ecx, esi
call dword [0x410140]
call esi
jmp 0x407a3e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x40f310
Capabilities:
Parse pe header

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

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x404e50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test eax, eax
jne 0x404e6b
mov ebx, dword [0x407360]
mov esi, ebx
xor ecx, ecx
jmp 0x404e8e
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404e76
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404e89
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404e71
lea eax, [ecx + 1]
push eax
call fcn.00405590
pop ecx
mov edi, eax
mov dword [0x407298], eax
cmp dword [0x407298], 0
jne 0x404eb5
push 1
call fcn.00404570
pop ecx
mov esi, ebx
jmp 0x404eea
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404ebe
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404ee5
mov ecx, edi
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x404ed5
pop eax
mov eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404eb9
mov byte [edi], 0
cmp ebx, dword [0x407360]
je 0x404f01
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x510024
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add al, byte [eax]
add byte [eax], al
cld
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [eax], al
cld
invalid
stc
jb 0x51002e
pop ds
xor esi, dword [ecx - 0x49]
jno 0x50ffe2
cwde
leave
jmp 0x51008f
pushal
jmp 0x510034
call 0x51003f
dec ecx
stc
mov dl, 0xed
pop ecx
pop ebx
jb 0x510049
jne 0x50ffd9
jge 0x510029
sbb dword [edx - 0x383c7edc], 0xffffffff
invalid
add ebx, 0xffffffc7
jmp 0x510058
cmp dword [ebx], 0
stc
jmp 0x510067
je 0x5100ed
jmp 0x510076
mov ecx, ebx
jmp 0x510081
add ebx, 4
jmp 0x510089
mov edx, dword [ebx]
jmp 0x510097
and eax, 0x8ced9cec
in eax, dx
cmp ebp, dword [ebx + 3]
sar ecx, cl
add edx, ebx
stc
jb 0x5100a3
mov ah, 0xb1
mov ebx, 0xc91a740d
mov eax, dword [ebx + 4]
jmp 0x5100ac
sub dword [edx], 0x3c62176a
jmp 0x5100b6
add edx, 4
jmp 0x5100bf
sub eax, 1
jmp 0x5100c6
jne 0x5100a6
jmp 0x5100d0
add ebx, 8
jmp 0x5100d7
sub dword [ecx], 1
stc
jb 0x5100de
and ecx, dword [edi]
test dword [eax + 0x72ffffff], esp
add dh, byte [ecx + 0xee83b]
add byte [eax], al
jne 0x510084
jb 0x5100e8
mov cl, 0x3b
call 0x5100fb
jmp 0x5100f1
popal
jmp 0x5100f6
jmp 0x50ed00
Function at 0x43cda1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x43cdcf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43cded
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043cd0b
jmp 0x43cded
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43cded
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043cd0b
test edi, edi
mov eax, edi
jne 0x43cdd7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x566af4]
test ecx, ecx
je 0x43cea0
jmp 0x43cda0
ret 8

Function at 0x401215
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push edi
push 0x7f00
xor edi, edi
push edi
mov dword [ebp - 0x24], str.construct
mov dword [ebp - 0x44], 0x401000
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x4c], 0x30
call esi
push 0x7f00
push edi
mov dword [ebp - 0x34], eax
call esi
push 0x7f00
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call esi
push edi
mov dword [0x4030f0], eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x401327
push 1
push dword [0x4030f0]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push edi
push edi
call esi
push eax
push edi
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.displayed
push str.construct
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push eax
mov dword [0x4030f8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401327
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40130a
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406020
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x406257
sub esp, 0x1c
movzx eax, byte [0x70041d]
test al, al
jne 0x40622f
mov eax, dword [0x700650]
mov ecx, dword [esp + 0x28]
imul eax, ecx
mov edx, dword [esp + 0x24]
add eax, edx
mov ebx, dword [esp + 0x20]
jmp 0x4060ea
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edi
mov edx, ebx
mov dword [esp + 0x14], edx
lea ecx, [edx + 4]
lea edi, [edx + 8]
add edx, 0xc
mov ebx, dword [ebx]
xor eax, ebx
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
mov ecx, dword [ecx]
xor ebp, ecx
imul ebp, ebp, 0xc70f85e1
rol ebp, 0xf
imul ebp, ebp, 0x319bca41
mov ecx, dword [edi]
xor esi, ecx
imul esi, esi, 0x319bca41
rol esi, 0xf
imul esi, esi, 0x8b421a21
mov edi, dword [edx]
mov ecx, dword [esp + 0x10]
xor edi, ecx
imul edi, edi, 0x8b421a21
rol edi, 0xf
imul edi, edi, 0xbce2d621
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
mov edx, dword [esp + 0x14]
add edx, 0x10
mov ebx, edx
mov edx, dword [esp + 0x24]
cmp ecx, 0x10
jae 0x406064
xor eax, ebp
xor eax, esi
xor eax, edi
test ecx, ecx
je 0x406228
cmp ecx, 4
jb 0x4061f2
je 0x4061dd
cmp ecx, 8
jbe 0x4061af
cmp ecx, 0x10
jbe 0x40612c
mov ebp, dword [0x700654]
imul ebp, edx
mov esi, dword [0x700658]
imul esi, edx
mov edi, dword [0x70065c]
imul edi, edx
jmp 0x4060df
mov edx, ebx
lea ebp, [edx + 4]
lea esi, [ecx + edx - 8]
lea ecx, [ecx + edx - 4]
mov edx, dword [ebx]
xor eax, edx
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
mov edx, dword [ebp]
xor edx, eax
imul edx, edx, 0xbce2d621
rol edx, 0xf
imul edx, edx, 0xc70f85e1
mov eax, dword [esi]
xor eax, edx
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
mov ecx, dword [ecx]
xor ecx, eax
imul ecx, ecx, 0xbce2d621
rol ecx, 0xf
imul ecx, ecx, 0xc70f85e1
mov eax, ecx
shr ecx, 0x11
xor eax, ecx
imul eax, eax, 0x319bca41
mov ecx, eax
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0x8b421a21
mov ecx, eax
shr eax, 0x10
xor eax, ecx
mov dword [esp + 0x2c], eax
add esp, 0x1c
ret
mov edx, ebx
lea edx, [ecx + edx - 4]
mov ecx, dword [ebx]
xor ecx, eax
imul ecx, ecx, 0xbce2d621
rol ecx, 0xf
imul ecx, ecx, 0xc70f85e1
mov eax, dword [edx]
xor ecx, eax
imul ecx, ecx, 0xbce2d621
rol ecx, 0xf
imul ecx, ecx, 0xc70f85e1
jmp 0x406186
mov ecx, dword [ebx]
xor ecx, eax
imul ecx, ecx, 0xbce2d621
rol ecx, 0xf
imul ecx, ecx, 0xc70f85e1
jmp 0x406186
mov edx, ecx
shr ecx, 1
mov ebp, ebx
lea esi, [ecx + ebp]
lea edx, [edx + ebp - 1]
movzx ecx, byte [ebx]
xor ecx, eax
movzx eax, byte [esi]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
shl eax, 0x10
xor ecx, eax
imul ecx, ecx, 0xbce2d621
rol ecx, 0xf
imul ecx, ecx, 0xc70f85e1
jmp 0x406186
mov ecx, eax
jmp 0x406186
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.0044ba00
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
add esp, 0x1c
ret
call fcn.0044a520
jmp fcn.00406020
Function at 0x40e860
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40ea55
sub esp, 0x40
mov eax, dword [0x6be0c8]
cmp eax, 0x7000000
jle 0x40ea3a
mov eax, 0x7000000
mov dword [esp + 0x10], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x8c]
mov ebx, edx
sar edx, 0x1f
and edx, 0xa8888eef
shl ebx, 1
xor ebx, edx
mov dword [ecx + 0x8c], ebx
and ebx, 0x3ffffff
lea ecx, [ebx + 1]
mov dword [esp], ecx
call fcn.0044c070
fld qword [esp + 4]
fld st(0)
fstp qword [esp + 0x18]
mov eax, dword [esp + 0x1c]
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, dword [esp + 0x18]
shr esi, 0x1b
shl ebx, 5
or esi, ebx
mov ebx, ebp
add ebp, 1
mov ebp, 0
adc ebp, 0
test ebp, ebp
fstp st(0)
jne 0x40ea4e
cmp ecx, 0x21
jae 0x40ea4e
mov dword [esp + 0x14], esi
lea ebp, [0x6c4ba0]
fld qword [ebp + ebx*8]
fld st(0)
fstp qword [esp + 0x38]
fld qword [ebp + ecx*8]
fld st(0)
fstp qword [esp + 0x30]
mov dword [esp], eax
add edx, 0xfffffc01
mov eax, 0xffffffff
adc eax, 0
mov dword [esp + 4], eax
fstp st(0)
fstp st(0)
call fcn.00447010
mov eax, dword [esp + 0x14]
and eax, 0xfffff
fld qword [esp + 8]
fld st(0)
fstp qword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], 0
fstp st(0)
call fcn.00447100
fld qword [esp + 0x28]
fld qword [esp + 0x38]
fld st(0)
faddp st(2)
fld qword [esp + 0x30]
fld st(1)
fsubp st(1)
fld qword [esp + 8]
fstp st(2)
fld st(1)
fmulp st(1)
fld qword [0x607f38]
fstp st(2)
fld st(0)
fmulp st(2)
fld st(1)
faddp st(3)
fld qword [0x607f80]
fstp st(2)
fld st(1)
fsubp st(3)
fld st(2)
fstp qword [esp + 0x38]
fld qword [0x607f30]
fstp st(2)
fld st(2)
fucomp st(2)
mov dword [esp + 0x20], eax
fnstsw ax
sahf
mov eax, dword [esp + 0x20]
fstp st(0)
fstp st(0)
fstp st(0)
jbe 0x40e9f5
fld qword [0x607f30]
fld st(0)
fstp qword [esp + 0x38]
fstp st(0)
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fld qword [0x607f98]
fld st(0)
fmulp st(2)
fld qword [esp + 0x38]
fstp st(1)
fld st(1)
fmulp st(1)
fld st(0)
fnstcw word [esp + 0x24]
fldcw word [0x6be0d0]
fistp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fldcw word [esp + 0x24]
inc eax
mov dword [esp + 0x44], eax
fstp st(0)
fstp st(0)
add esp, 0x40
ret
test eax, eax
jne 0x40e88f
mov dword [esp + 0x44], 0
add esp, 0x40
ret
call fcn.00425c90
ud2
call fcn.0044a520
jmp fcn.0040e860
Function at 0x412820
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412a61
sub esp, 0x24
mov eax, dword [0x7004a0]
test eax, eax
jne 0x412a49
lea eax, [0x700488]
mov dword [esp], eax
call fcn.0040ca60
mov eax, dword [0x6ed574]
test eax, eax
je 0x41286d
mov eax, dword [eax + 8]
cmp eax, 0xcc
jne 0x412934
mov eax, dword [0x6ed56c]
test eax, eax
jne 0x412916
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x7020d8]
mov dword [esp + 8], eax
call fcn.0040ea60
mov eax, dword [esp + 0xc]
mov dword [0x6ed56c], eax
mov ecx, dword [0x6ed548]
mov dword [eax], ecx
mov eax, dword [0x6ed56c]
mov dword [0x6ed548], eax
movzx eax, byte [0x700800]
test al, al
jne 0x412916
xor eax, eax
jmp 0x4128d3
lea ebp, [0x700800]
mov byte [ebp + edx], bl
lea eax, [edx + 1]
cmp eax, 0x80
jge 0x412916
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov ebx, ecx
sar ecx, 0x1f
sub edx, ecx
lea ecx, [edx + edx*4]
mov edx, ebx
sub ebx, ecx
cmp ebx, 5
jae 0x412a42
lea ecx, [0x6be0f0]
movzx ebx, byte [ecx + ebx]
cmp edx, 0x80
jb 0x4128c6
jmp 0x412a42
mov eax, dword [0x6ed56c]
mov ecx, dword [eax + 4]
mov dword [0x6ed56c], ecx
mov ecx, dword [0x6ed574]
mov dword [eax + 4], ecx
mov dword [0x6ed574], eax
mov eax, dword [0x6ed574]
mov ecx, dword [eax + 8]
lea edx, [eax + 8]
cmp ecx, 0xcc
jae 0x412a3b
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00401620
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x20]
lea edx, [ecx + eax*4 + 0x10]
mov ebx, dword [0x700660]
test ebx, ebx
jne 0x412a1a
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x10], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x700660]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x4129d8
mov edx, dword [esp + 0x34]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x14], edx
mov byte [0x700406], 1
lea eax, [0x700488]
mov dword [esp], eax
call fcn.0040cc30
add esp, 0x24
ret
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
mov dword [esp], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.0040ef10
jmp 0x4129bf
mov dword [esp + 0x10], eax
mov dword [esp], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0040ef10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
jmp 0x412989
call fcn.00425c90
ud2
call fcn.00425c90
ud2
lea eax, [0x5e0d0a]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00427230
ud2
call fcn.0044a520
jmp fcn.00412820
Function at 0x420ce0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x420dfc
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x420d70
cmp cl, 2
jne 0x420de4
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00421950
lea eax, [0x6f4454]
mov dword [esp], eax
call fcn.0040ca60
lea eax, [0x6f4430]
test byte [eax], al
mov eax, dword [0x6f4448]
mov ecx, dword [0x6f4430]
sub eax, ecx
mov dword [0x6f4448], eax
mov eax, dword [0x6f443c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x6f443c], ecx
lea eax, [0x6f4454]
mov dword [esp], eax
call fcn.0040cc30
add esp, 0x14
ret
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00412820
lea eax, [0x6f4454]
mov dword [esp], eax
call fcn.0040ca60
lea eax, [0x6f440c]
test byte [eax], al
mov eax, dword [0x6f4424]
mov ecx, dword [0x6f440c]
sub eax, ecx
mov dword [0x6f4424], eax
mov eax, dword [0x6f4418]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x6f4418], ecx
lea eax, [0x6f4454]
mov dword [esp], eax
call fcn.0040cc30
jmp 0x420d6c
lea eax, [0x5dddd5]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00427230
ud2
call fcn.0044a520
jmp fcn.00420ce0