joyce8/EMBER2024-capa huggingface dataset:
Function at 0x539591
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00539407

Function at 0x54779c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0xc654d8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub eax, dword [edx + ecx + 0x10]
jmp 0xbd6afd
je 0xd27633
mov esi, dword [ebp + 0xc]
test esi, esi
jmp 0x837261
je 0xd27633
mov eax, dword [eax + ecx + 0x7c]
cmp cl, 0xc7
clc
cmc
push ebx
push edi
cmc
clc
mov dword [ebp - 0x10], eax
stc
mov dword [ebp - 8], 0xffffffff
clc
cmc
cmp esi, 0xffff
jmp 0x891b09
mov edi, dword [edx + ecx + 0x18]
jmp 0xc9647b
je 0xd27633
mov eax, 0x5a4d
cmp al, 0xa1
jmp 0xc13037
ja 0x81fcac
mov eax, esi
test ecx, ecx
jmp 0x7a22c7
cmp dword [eax + ecx], 0x4550
jmp 0xbe98bc
mov dword [ebp - 8], eax
jmp 0xd08ac7
jne 0xd27633
mov edx, dword [eax + ecx + 0x78]
cmp ax, di
jmp 0xca3894
add eax, ecx
cmp ah, 0xb
cmp bp, si
xor ebx, ebx
jmp 0xd01ca8
cmp word [ecx], ax
jmp 0xd2762d
push ebp
mov ebp, esp
xor cl, 0xf2
ror cl, cl
mov ecx, dword [ebp + 8]
lea esp, [esp - 0x114]
push esi
clc
test ecx, ecx
jmp 0x7ca930
js 0x8302a4
jmp 0xd16cda
je 0x8302a4
mov eax, dword [edx + ecx + 0x20]
test bx, 0x78ab
cmp ah, dl
jmp 0xbefab2
mov eax, dword [ecx + 0x3c]
jmp 0xbd537c
test edi, edi
jmp 0xc74b18
mov dword [ebp - 4], edx
test edx, edx
jmp 0x81bf06
ret
dec edi
jmp 0xd1b746
jmp 0x8302a4
mov dword [ebp - 0xc], eax
jmp 0xc66898
je 0xc85398
xor eax, eax
pop esi
mov esp, ebp
pop ebp
jmp 0xcd1877
Function at 0x402574
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1788
call fcn.0040f110
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1784]
mov esi, edx
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x1776]
test esi, esi
je 0x4025f9
push esi
push edi
push eax
movzx eax, word [ebp - 0x1778]
push eax
movzx eax, word [ebp - 0x177a]
push eax
movzx eax, word [ebp - 0x177c]
push eax
movzx eax, word [ebp - 0x177e]
push eax
movzx eax, word [ebp - 0x1782]
push eax
movzx eax, word [ebp - 0x1784]
push eax
push str._04u__02u__02u__02u:_02u:_02u._03u__s:__s_r_n
lea eax, [ebp - 0x1774]
push 0xbb8
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x30
jmp 0x402645
push edi
push eax
movzx eax, word [ebp - 0x1778]
push eax
movzx eax, word [ebp - 0x177a]
push eax
movzx eax, word [ebp - 0x177c]
push eax
movzx eax, word [ebp - 0x177e]
push eax
movzx eax, word [ebp - 0x1782]
push eax
movzx eax, word [ebp - 0x1784]
push eax
push str._04u__02u__02u__02u:_02u:_02u._03u__s_r_n
lea eax, [ebp - 0x1774]
push 0xbb8
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x2c
xor edi, edi
mov ebx, 0x4194a0
push edi
push 0x80
push 4
push edi
push 7
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x402681
push ecx
push edi
push ebx
push str.CreateFile
mov edx, str.append_logfile_string
call fcn.00402867
add esp, 0x10
jmp 0x4026d2
push 2
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x1788]
push eax
lea eax, [ebp - 0x1774]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [ebp - 0x1774]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4026cb
push ecx
push edi
push ebx
push 0x415c6c
mov edx, str.append_logfile_string
call fcn.00402867
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403410
leave
ret
Function at 0x402c47
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xorps xmm0, xmm0
push 0
push edi
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x402cc6
lea ecx, [esi + 0x64]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x402cc6
push ebx
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x402cb7
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x415e20
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x402cb7
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
jmp 0x402cbd
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x402ccc
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
mov edx, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.00403410
leave
ret
Function at 0x403c40
Capabilities:
Parse pe header

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

Function at 0x4084f9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x408544
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00408716
test al, al
jne 0x40853e
sub edx, 2
cmp edx, edi
jne 0x408524
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x408566
lea eax, [edi + 2]
cmp edx, eax
je 0x408566
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00408445
add esp, 0x10
jmp 0x408660
push esi
lea ecx, [ebp - 0x255]
call fcn.00408716
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4085a9
push dword [ebp - 0x25c]
jmp 0x408556
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4085e6
cmp word [ebp - 0x226], 0
je 0x408607
cmp word [ebp - 0x226], ax
jne 0x4085e6
cmp word [ebp - 0x224], 0
je 0x408607
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00408445
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x408653
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4085c0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40863b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x408660
push 0x408275
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040b2c0
add esp, 0x10
jmp 0x408630
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403410
leave
ret

Function at 0x40a193
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4120cc
push 0x4120c4
push str.FlsAlloc
push 0x1f
call fcn.0040a0ce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a1c7
push dword [ebp + 8]
mov ecx, esi
call dword [0x4101f0]
call esi
jmp 0x40a1cd
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x40a211
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4120dc
push 0x4120d4
push str.FlsGetValue
push 0x21
call fcn.0040a0ce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a248
push dword [ebp + 8]
mov ecx, esi
call dword [0x4101f0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40a250
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4120e4
push 0x4120dc
push str.FlsSetValue
push 0x22
call fcn.0040a0ce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40a28a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4101f0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40efe0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40f00d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40f00d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401953
Capabilities:
Parse pe header

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

Function at 0x4085cc
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417178
push 0x417170
push str.FlsAlloc
push 0x1f
call fcn.0040848b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408600
push dword [ebp + 8]
mov ecx, esi
call dword [0x415118]
call esi
jmp 0x408606
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40864a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417188
push 0x417180
push str.FlsGetValue
push 0x21
call fcn.0040848b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408681
push dword [ebp + 8]
mov ecx, esi
call dword [0x415118]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x408689
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417190
push 0x417188
push str.FlsSetValue
push 0x22
call fcn.0040848b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4086c3
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x415118]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40b64e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40b6eb
push ebx
push esi
call fcn.0040b617
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040b5ab
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40b698
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b6ea
push edi
push eax
call fcn.0040909d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40b6b8
call fcn.0040831e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b6e9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040b5ab
add esp, 0x20
test eax, eax
jne 0x40b6d7
push edi
call fcn.0040831e
jmp 0x40b6df
push ebx
call fcn.0040831e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x20d54c25
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x20cc39b0
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10007350
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1000739c
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1000737f
cmp edi, 2
jb 0x1000737f
cmp byte [esi], cl
jne 0x1000737f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1009e200]
test edi, edi
jne 0x10007365
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100073cb
cmp cl, 0x23
jne 0x100073b2
cmp byte [esi], cl
jne 0x100073b2
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 + 0x1009e200]
test cl, cl
jne 0x100073a3
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10007510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10007523
mov dword [edi], 0
mov edx, 0x1009dfcc
call fcn.100073e0
mov esi, eax
test esi, esi
je 0x1000754b
mov ecx, esi
call fcn.100074b0
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x10007552
push esi
call fcn.10073320
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [0x101d9090]
test ecx, ecx
je 0x10007562
inc dword [ecx + 0xa8]
push eax
call fcn.1007ada5
add esp, 4
mov ebx, eax
push esi
test ebx, ebx
je 0x10007543
push dword [ebp + 8]
push 1
push ebx
call fcn.1007621d
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x100075ad
call fcn.10073320
mov eax, dword [0x101d9090]
add esp, 4
test eax, eax
je 0x1000759d
dec dword [eax + 0xa8]
push ebx
call fcn.1007604c
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.10073320
add esp, 4
test edi, edi
je 0x100075be
mov eax, dword [ebp + 8]
mov dword [edi], eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0xc8]
lea edx, [ebp + 8]
push ebx
mov ebx, dword [ecx + 0xd0]
push esi
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1009e200]
sub esi, 1
jne 0x10008c50
mov eax, dword [0x101d9090]
not ebx
cmp dword [eax + 0x3e50], ebx
jne 0x10008c8a
push ecx
push dword [ebp + 8]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.10017ec0
add esp, 8
pop esi
mov eax, ebx
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x10016ba0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, edx
mov dword [esp + 0xc], eax
cmp dword [edi + 0x524c], 0
je 0x10016c34
mov ebx, dword [edi + 0x5254]
lea esi, [edi + 0x5250]
test ebx, ebx
jns 0x10016bf2
je 0x10016bda
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, ebx
jmp 0x10016bdf
mov ecx, 8
xor eax, eax
test ecx, ecx
cmovg eax, ecx
mov ecx, esi
push eax
call fcn.10018410
mov eax, dword [esp + 0xc]
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push eax
call fcn.10007920
mov edx, dword [esi]
test edx, edx
je 0x10016c0c
dec edx
jmp 0x10016c0e
xor edx, edx
push dword [edi + 0x524c]
mov eax, dword [esi + 8]
mov ecx, 0x101d908c
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.10073e6c
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
lea ecx, [edi + 0x5250]
push eax
call fcn.10007920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10017420
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x101d9090]
push esi
mov esi, ecx
push edi
mov dword [eax + 0x5200], 0
test esi, esi
je 0x10017473
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.10017480
mov edx, 0x1009dfd0
mov ecx, esi
mov edi, eax
call fcn.100073e0
mov esi, eax
test esi, esi
je 0x10017473
push esi
push dword [ebp - 4]
push 1
push edi
call fcn.10073e6c
push esi
call fcn.10073320
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10020130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10020166
mov eax, dword [0x101d9090]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x10020156
dec dword [eax + 0xa8]
push ecx
call fcn.1007604c
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1002019a
mov eax, dword [0x101d9090]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1002018a
dec dword [eax + 0xa8]
push ecx
call fcn.1007604c
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x100201ce
mov eax, dword [0x101d9090]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x100201be
dec dword [eax + 0xa8]
push ecx
call fcn.1007604c
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1002021e
mov eax, dword [0x101d9090]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1002020e
dec dword [eax + 0xa8]
push ecx
call fcn.1007604c
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10020252
mov eax, dword [0x101d9090]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x10020242
dec dword [eax + 0xa8]
push ecx
call fcn.1007604c
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10020286
mov eax, dword [0x101d9090]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x10020276
dec dword [eax + 0xa8]
push ecx
call fcn.1007604c
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10022d90
Function at 0x10025220
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.10024ed0
mov ecx, edi
call fcn.10025010
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [edi + 0x40], eax
jle 0x10025331
xor ecx, ecx
mov dword [esp + 0x14], ecx
nop
mov ebx, dword [edi + 0x48]
add ebx, ecx
cmp dword [ebx + 0x18], 0
je 0x1002531c
cmp dword [ebx + 8], 0
je 0x1002531c
movzx eax, word [ebx + 4]
sub esp, 0x20
movzx esi, word [ebx]
movzx ecx, word [ebx + 6]
movzx edx, word [ebx + 2]
movss xmm0, dword [ebx + 0xc]
movss xmm4, dword [ebx + 0x14]
movd xmm6, eax
add eax, esi
movss dword [esp + 0x1c], xmm0
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
movd xmm2, eax
lea eax, [edx + ecx]
mulss xmm3, dword [edi + 0x28]
mov ecx, dword [ebx + 0x18]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movzx eax, word [ebx + 8]
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [edi + 0x28]
mulss xmm2, dword [edi + 0x24]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm6, xmm6
movss dword [esp + 0x18], xmm1
addss xmm0, xmm4
mulss xmm6, dword [edi + 0x24]
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm3
movss xmm3, dword [ebx + 0x10]
movss dword [esp + 0xc], xmm6
movss dword [esp + 8], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebx + 0x10]
movss dword [esp + 4], xmm0
movss dword [esp], xmm4
push eax
push 0
call fcn.10025990
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add ecx, 0x1c
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, dword [edi + 0x40]
jl 0x10025250
xor esi, esi
cmp dword [edi + 0x34], esi
jle 0x10025357
nop dword [eax + eax]
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0x40], 0
je 0x10025351
call fcn.10025560
inc esi
cmp esi, dword [edi + 0x34]
jl 0x10025340
mov byte [edi + 0x11], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002c510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091e3a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.100692e0
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
jne 0x1002c5bf
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.1006f293
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x100b5aac
push eax
call fcn.100704a9
push eax
push esi
call fcn.10069628
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1002f490
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10091ea8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x1002f5cc
cmp byte [ebx + 0x3d], 0
je 0x1002f5cc
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x1002f4e8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.1002f000
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x1002f54e
sub eax, 1
je 0x1002f552
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x1002f5a5
xor bl, bl
jmp 0x1002f5a7
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x10]
cmovae eax, edx
sub esi, eax
je 0x1002f587
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.10073e6c
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x1002f54a
cmp byte [ebx + 0x3d], 0
je 0x1002f5a5
test esi, esi
jne 0x1002f510
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.1002f170
jmp 0x1002f50d
mov bl, 1
cmp ecx, 0x10
jb 0x1002f5b9
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.1002f990
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret