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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x5d4304e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x665d0f5e
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x43c230
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526b78
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebx
push esi
push edi
lea edi, [ebp - 0xe8]
mov ecx, 0x37
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x57a2c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x14]
call fcn.00401307
mov dword [ebp - 4], 0
push 0x9b9
push 0x546970
lea eax, [ebp - 0x14]
push eax
call fcn.004018ca
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00401127
mov esi, esp
push eax
mov ecx, 0x580c10
call fcn.00401127
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp esi, esp
call fcn.0049a060
test eax, eax
je 0x43c2c5
mov dword [ebp - 0xe8], 1
jmp 0x43c2cf
mov dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x43c2e7
mov eax, str.SetEnvironmentVariableW_Common::BuildNumberEnvironmentVariableName__sBuild_
test eax, eax
jne 0x43c312
push str.__atl_condVal_SetEnvironmentVariableW_Common::BuildNumberEnvironmentVariableName__sBuild__
push 0x541f80
push 0
mov ecx, dword [0x57a0c0]
add ecx, 3
push ecx
push str.c:_buildagentwork6ef1b807bd9726a1commoncommon.inl
push 2
call fcn.004995f0
add esp, 0x18
cmp eax, 1
jne 0x43c312
int3
cmp dword [ebp - 0x20], 0
jne 0x43c322
push 0x80004005
call fcn.004020b3
xor eax, eax
jne 0x43c292
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401fcd
push edx
mov ecx, ebp
push eax
lea edx, [0x43c36c]
call fcn.0049a000
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xe8
cmp ebp, esp
call fcn.0049a060
mov esp, ebp
pop ebp
ret

Function at 0x43c590
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40e0
call fcn.004a44c0
push ebx
push esi
push edi
lea edi, [ebp - 0x40e0]
mov ecx, 0x1038
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x57a2c4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x2014]
push edx
call dword [sym.imp.USER32.dll_wvsprintfW]
cmp esi, esp
call fcn.0049a060
mov esi, esp
lea eax, [ebp - 0x2014]
push eax
push str._s_r_n
lea ecx, [ebp - 0x401c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp esi, esp
call fcn.0049a060
mov dword [ebp - 0xc], 0
mov esi, esp
lea eax, [ebp - 0x401c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.0049a060
push edx
mov ecx, ebp
push eax
lea edx, [0x43c654]
call fcn.0049a000
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049a090
add esp, 0x40e0
cmp ebp, esp
call fcn.0049a060
mov esp, ebp
pop ebp
ret
Function at 0x45b240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 0x10c]
push dword [ebp + 8]
push 1
push dword [ebp + 0xc]
call fcn.004a6410
sub eax, dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
pop ebp
ret 8
Function at 0x4068db
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068ff
xor eax, eax
test eax, eax
je 0x406912
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406912
xor ecx, ecx
jmp 0x406915
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a38
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a6f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a49
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a44
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aa0
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406a82
pop edi
not eax
pop esi
ret 0xc

Function at 0x7ce3c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7ce3ca
pushal
call 0x7ce3d0
pop ebp
sub ebp, 0x10
sub ebp, 0x3ce3c0
jmp 0x7ce3e6
mov eax, 0x3ce3c0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5fb
mov edx, 0xfc4f89d1
xor byte [eax], dl
inc eax
dec ecx
jne 0x7ce3fd
jmp 0x7ce410
pop edx
sbb al, 0x5a
pop eax
in eax, dx
rcl ecx, 1
rcl dword [eax + 0x10]
sub ecx, edx
rcl ecx, 1
rcr byte [ecx + ebp*2], cl
aad 0xd1
rcl ecx, 1
imul edi, ecx, 0xffffffd1
rcl ecx, 1
xor edx, edx
sbb dword [edx + 0x50], ebx
fst st(1)
rcl ecx, 1
rcl byte [ecx + eax*4], cl
pop esp
mov ch, 0xf5
sub eax, 0xb9f5d558
mov dword [eax], esp
invalid
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..reloc
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1ac30674
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
mov eax, section..rdata
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5d43563e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401460
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x40
call sym.___main
mov dword [esp + 0x3c], 0
jmp 0x401489
mov dword [esp], str.finally_it_works_
call sym._puts
add dword [esp + 0x3c], 1
cmp dword [esp + 0x3c], 1
jle 0x401478
mov dword [esp], str.hello
call sym._puts
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1a], 0x62
mov byte [esp + 0x1b], 0x72
mov byte [esp + 0x1c], 0x61
mov byte [esp + 0x1d], 0x6b
mov byte [esp + 0x1e], 0x61
mov byte [esp + 0x1f], 0x64
mov byte [esp + 0x20], 0x61
mov byte [esp + 0x21], 0x62
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x23], 0x61
mov dword [esp + 0x38], str.abrakadabra
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp], str.len___i_n
call sym._printf
mov dword [esp + 0x34], 0xb
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp], str.len___i_n
call sym._printf
movzx eax, byte [esp + 0x19]
movsx eax, al
mov dword [esp + 4], eax
mov dword [esp], str.anfang______c_n
call sym._printf
movzx eax, byte [esp + 0x1a]
movsx eax, al
mov dword [esp + 4], eax
mov dword [esp], str.nchstes____c_n
call sym._printf
lea eax, [esp + 0x19]
mov dword [esp + 4], eax
mov dword [esp], str.anfang______i_n
call sym._printf
lea eax, [esp + 0x19]
mov dword [esp + 4], eax
mov dword [esp], str.anfang_____i_n
call sym._printf
lea eax, [esp + 0x19]
add eax, 0xb
mov dword [esp + 4], eax
mov dword [esp], str.anfang1___i_n
call sym._printf
lea eax, [esp + 0x19]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x19]
add eax, 0xb
mov edx, eax
lea eax, [esp + 0x19]
sub edx, eax
mov eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x19]
add eax, 0xb
mov edx, eax
lea eax, [esp + 0x19]
sub edx, eax
mov eax, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0xb
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], str.poi1___i_n
call sym._printf
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], str.length2___i_n
call sym._printf
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp], str.length3___i_n
call sym._printf
mov eax, 0
leave
ret
Function at 0x4068a5
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
cmp eax, 8
ja case.0x40683c.1
jmp dword [eax*4 + 0x406924]
push dword [ebp + 0xc]
call fcn.0040694d
and dword [0x42c16c], 0
jmp case.0x40683c.1
mov eax, dword [0x42c16c]
xor ecx, ecx
cmp ecx, dword [ebp + 0x14]
ja case.0x40683c.1
mov esi, dword [ebp + 0x10]
jb 0x406874
cmp eax, esi
jae case.0x40683c.1
call fcn.00406cfc
add dword [0x42c16c], 0x100000
xor eax, eax
cmp eax, dword [ebp + 0x14]
jb 0x406874
ja case.0x40683c.1
cmp dword [0x42c16c], esi
jb 0x406874
jmp case.0x40683c.1
push dword [ebp + 0xc]
call fcn.0040694d
call fcn.00406cfc
jmp case.0x40683c.1
call fcn.00406cfc
push 0x80
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 0xc]
call fcn.00406a00
mov esi, eax
test esi, esi
jns case.0x40683c.1
push 0x403cec
jmp 0x406912
mov eax, dword [0x42c16c]
xor ecx, ecx
cmp ecx, dword [ebp + 0x14]
ja case.0x40683c.1
mov esi, dword [ebp + 0x10]
jb 0x4068e2
cmp eax, esi
jae case.0x40683c.1
call fcn.00406cfc
add dword [0x42c16c], 0x80000
xor eax, eax
cmp eax, dword [ebp + 0x14]
jb 0x4068e2
ja case.0x40683c.1
cmp dword [0x42c16c], esi
jb 0x4068e2
call fcn.00406d2f
mov esi, eax
test esi, esi
jns 0x40691a
push 0x403c74
push esi
call fcn.00408c66
pop ecx
pop ecx
mov eax, esi
pop esi
pop ebp
ret 0x14
Function at 0x4287df
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
cmp dword [0x45aa24], 0
je 0x428816
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call main
add esp, 4
jmp 0x42882f
call main
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call main
add esp, 4
jmp 0x42882f
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42973f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x42974e
pop dword [ebp - 0x18]
mov eax, 0xfc7c4982
sub eax, 0xfc39b234
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x4d59f
push 0
mov eax, 0xcd9b81c9
add eax, 0x32aae60f
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x608a1827
add ecx, 0x9f762eb7
xor edi, edi
add edi, eax
mov edx, 0xe7c7b424
sub edx, 0xe77ed424
add edx, dword [ebp - 0x18]
mov esi, 0x31d0cabe
add esi, 0xc86bff35
sub dword [ebp - 0xc], 0x8bd74a9
mov ebx, dword [edx]
sub dword [ebp - 0xc], ebx
sub ebx, esi
sub dword [ebp - 8], eax
mov dword [edi], ebx
xor dword [ebp - 8], edx
add edi, 0x124988d3
add edi, 0xedb67731
add edx, 0x20f245af
add edx, 0xdf0dba55
loop 0x4297af
add eax, 0x10e4b
mov ebx, eax
add eax, 0x779632ee
sub eax, 0x779632e9
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x44c8c0
Capabilities:
Move file

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
mov eax, 0
jne 0x44c8df
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
je 0x44c8f2
push eax
call fcn.0044d700
add esp, 4
mov eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x406280
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40649b
sub esp, 0x10
movzx eax, byte [0x784c17]
test al, al
jne 0x406473
mov eax, dword [0x784e60]
mov ecx, dword [esp + 0x1c]
imul eax, ecx
mov edx, dword [esp + 0x18]
add eax, edx
mov ebx, dword [esp + 0x14]
jmp 0x406334
lea edx, [ebx + 4]
test byte [edx], al
lea edx, [ebx + 8]
test byte [edx], al
lea edx, [ebx + 0xc]
test byte [edx], al
mov edx, dword [ebx]
xor edx, eax
imul eax, edx, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
mov edx, dword [ebx + 4]
xor edx, ebp
imul edx, edx, 0xc70f85e1
rol edx, 0xf
imul ebp, edx, 0x319bca41
mov edx, dword [ebx + 8]
xor edx, esi
imul edx, edx, 0x319bca41
rol edx, 0xf
imul esi, edx, 0x8b421a21
mov edx, dword [ebx + 0xc]
xor edx, edi
imul edx, edx, 0x8b421a21
rol edx, 0xf
imul edi, edx, 0xbce2d621
add ecx, 0xfffffff0
add ebx, 0x10
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
jae 0x4062c1
xor eax, ebp
xor eax, esi
xor eax, edi
test ecx, ecx
je 0x4063cd
cmp ecx, 4
jb 0x406437
je 0x406422
cmp ecx, 8
jbe 0x4063f6
cmp ecx, 0x10
jbe 0x406376
mov ebp, dword [0x784e64]
imul ebp, edx
mov esi, dword [0x784e68]
imul esi, edx
mov edi, dword [0x784e6c]
imul edi, edx
jmp 0x406329
lea edx, [ebx + 4]
test byte [edx], al
mov edx, ebx
lea ebp, [ecx + ebx - 8]
lea ecx, [ecx + ebx - 4]
mov ebx, dword [edx]
xor eax, ebx
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
xor eax, dword [edx + 4]
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
xor eax, dword [ebp]
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
xor eax, dword [ecx]
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
mov ecx, eax
shr eax, 0x11
xor ecx, eax
imul eax, ecx, 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 + 0x20], eax
add esp, 0x10
ret
mov edx, ebx
lea ecx, [ecx + ebx - 4]
mov edx, dword [edx]
xor eax, edx
imul edx, eax, 0xbce2d621
rol edx, 0xf
imul edx, edx, 0xc70f85e1
xor edx, dword [ecx]
imul ecx, edx, 0xbce2d621
rol ecx, 0xf
imul eax, ecx, 0xc70f85e1
jmp 0x4063cd
mov ecx, dword [ebx]
xor eax, ecx
imul ecx, eax, 0xbce2d621
rol ecx, 0xf
imul eax, ecx, 0xc70f85e1
jmp 0x4063cd
mov edx, ecx
shr ecx, 1
lea ebp, [ebx + ecx]
test byte [ebp], al
mov ebp, ebx
lea edx, [edx + ebx - 1]
movzx ebx, byte [ebp]
xor eax, ebx
movzx ecx, byte [ebp + ecx]
shl ecx, 8
xor ecx, eax
movzx edx, byte [edx]
shl edx, 0x10
xor edx, ecx
imul ecx, edx, 0xbce2d621
rol ecx, 0xf
imul eax, ecx, 0xc70f85e1
jmp 0x4063cd
mov eax, dword [esp + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
call fcn.0044b170
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
add esp, 0x10
ret
call fcn.00449da0
jmp fcn.00406280
Function at 0x409c30
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x409df4
sub esp, 0x34
mov eax, dword [esp + 0x38]
cmp eax, 0x7000000
jle 0x409dd9
mov eax, 0x7000000
mov dword [esp + 0x38], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x90]
mov ebx, dword [ecx + 0x94]
mov dword [ecx + 0x90], 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 + 0x94], ebp
lea ecx, [ebp + ebx]
and ecx, 0x3ffffff
inc ecx
mov dword [esp], ecx
call fcn.0044b4b0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
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 + 0x24]
shr esi, 0x1b
shl ebx, 5
or esi, ebx
mov ebx, ebp
add ebp, 1
mov ebp, 0
adc ebp, 0
test ebp, ebp
jne 0x409ded
cmp ecx, 0x21
jae 0x409ded
mov dword [esp + 0x10], esi
lea ebp, [0x749080]
movsd xmm0, qword [ebp + ebx*8]
movsd qword [esp + 0x14], xmm0
movsd xmm1, qword [ebp + ecx*8]
movsd qword [esp + 0x1c], xmm1
mov dword [esp], eax
add edx, 0xfffffc01
mov eax, 0xffffffff
adc eax, 0
mov dword [esp + 4], eax
call fcn.00446d80
mov eax, dword [esp + 0x10]
and eax, 0xfffff
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00446e70
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
mulsd xmm2, qword [esp + 8]
movsd xmm1, qword [0x6265c0]
mulsd xmm1, xmm2
addsd xmm0, xmm1
movsd xmm1, qword [0x626630]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x409db4
xorps xmm0, xmm0
mov eax, dword [esp + 0x38]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x626660]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x3c], eax
add esp, 0x34
ret
test eax, eax
jne 0x409c5d
mov dword [esp + 0x3c], 0
add esp, 0x34
ret
call fcn.00425900
ud2
call fcn.00449da0
jmp fcn.00409c30
Function at 0x40fe80
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x24
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0x54]
mov dword [esp + 0x20], edx
test byte [edx], al
test byte [eax], al
mov ecx, dword [esp + 0x34]
mov eax, ecx
shr ecx, 2
shr eax, 5
and ecx, 7
mov ebx, 1
shl ebx, cl
lea ebp, [edx + 0x978]
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 0x38]
add eax, esi
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
jmp 0x40fef1
add eax, 4
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov eax, ebp
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
cmp edx, esi
jae 0x41001f
test bl, bl
jne 0x410016
lea ebp, [eax + 1]
test byte [ebp], al
movzx eax, byte [eax + 1]
test al, al
jne 0x40ff18
lea eax, [edx + 0x1c]
jmp 0x40fee0
mov eax, 1
movzx ebx, byte [ebp]
test bl, al
je 0x41000d
mov dword [esp + 0x1c], ebp
mov byte [esp + 0xb], al
lea ebx, [edx + ecx]
test edi, edi
jne 0x40ffaa
mov edi, dword [esp + 0x18]
test byte [edi], al
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x978]
mov ebx, dword [ebx]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov ecx, dword [edi + 0x978]
add ecx, 8
mov dword [edi + 0x978], ecx
mov ebx, dword [edi + 0x97c]
cmp ebx, ecx
je 0x40ff7f
shl eax, 1
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ebx, eax
mov eax, edx
jmp 0x40fee0
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.00421f60
movzx eax, byte [esp + 0xb]
mov edx, dword [esp + 0xc]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
jmp 0x40ff6c
add edi, edx
mov ecx, dword [esp + 0x18]
test byte [ecx], al
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 0x978]
mov ebx, dword [ebx]
mov edi, dword [edi]
mov dword [esi], ebx
mov dword [esi + 4], edi
mov ebx, dword [ecx + 0x978]
add ebx, 8
mov dword [ecx + 0x978], ebx
mov esi, dword [ecx + 0x97c]
cmp esi, ebx
je 0x40ffe6
mov esi, dword [esp + 0x30]
mov edi, ecx
jmp 0x40ff6c
mov dword [esp], 0
mov dword [esp + 4], 0
call fcn.00421f60
movzx eax, byte [esp + 0xb]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov ebp, dword [esp + 0x1c]
jmp 0x40ffde
mov edi, dword [esp + 0x20]
jmp 0x40ff6c
mov ebp, eax
mov eax, ebx
jmp 0x40ff1d
add esp, 0x24
ret
Function at 0x4128f0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412afc
sub esp, 0x18
mov eax, dword [0x784c90]
test eax, eax
jne 0x412ae4
lea eax, [0x784c80]
mov dword [esp], eax
call fcn.00407c40
mov eax, dword [0x772ce8]
test eax, eax
je 0x41293d
mov eax, dword [eax + 8]
cmp eax, 0xcc
jne 0x412a04
mov eax, dword [0x772ce0]
test eax, eax
jne 0x4129e6
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x786a98]
mov dword [esp + 8], eax
call fcn.00409e00
mov eax, dword [esp + 0xc]
mov dword [0x772ce0], eax
mov ecx, dword [0x772cbc]
mov dword [eax], ecx
mov eax, dword [0x772ce0]
mov dword [0x772cbc], eax
movzx eax, byte [0x785020]
test al, al
jne 0x4129e6
xor eax, eax
jmp 0x4129a3
lea ebp, [0x785020]
mov byte [ebp + edx], bl
lea eax, [edx + 1]
cmp eax, 0x80
jge 0x4129e6
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 0x412add
lea ecx, [0x7440fc]
movzx ebx, byte [ecx + ebx]
cmp edx, 0x80
jb 0x412996
jmp 0x412add
mov eax, dword [0x772ce0]
mov ecx, dword [eax + 4]
mov dword [0x772ce0], ecx
mov ecx, dword [0x772ce8]
mov dword [eax + 4], ecx
mov dword [0x772ce8], eax
mov eax, dword [0x772ce8]
mov ecx, dword [eax + 8]
cmp ecx, 0xcc
jae 0x412ad6
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea ecx, [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.00401e60
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x784e70]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x412ac7
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x784e70]
test edx, edx
jne 0x412aa4
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
mov byte [0x784c08], 1
lea eax, [0x784c80]
mov dword [esp], eax
call fcn.00407e10
add esp, 0x18
ret
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.0044b500
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.0044b500
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.0044b500
jmp 0x412a8b
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.0044b500
mov eax, edx
jmp 0x412a61
call fcn.00425900
ud2
call fcn.00425900
ud2
lea eax, [0x5f158d]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00426d10
ud2
call fcn.00449da0
jmp fcn.004128f0