joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f920
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48c393
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047f55d
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00484bf5
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00486111
test eax, eax
je 0x44fa3c
mov ecx, dword [esp + 0x3c]
call fcn.00484c22
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44fa00
push edi
mov ecx, esi
call fcn.00482286
mov ecx, esi
call fcn.0044fbe0
cmp dword [esp + 0x38], 1
jne 0x44fa35
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004823c1
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x451c20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x451c53
push esi
call fcn.0045ffd0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x451c4c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x451cd9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x451cc2
mov eax, dword [esi + 8]
test eax, eax
je 0x451c77
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x451cbe
cmp eax, 2
je 0x451cc2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x451c6a
cmp eax, 3
je 0x451c9d
cmp eax, 1
jne 0x451c6a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x451c6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x451c6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00451d00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x451ce8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00451d00
add esp, 4
pop esi
ret

Function at 0x452580
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4525a1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4525a1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4525a1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x480352
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48038a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047e409
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047e3e1
jmp 0x480396
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x481a43
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x481a85
call fcn.004874f7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x481a85
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x481a7c
xor eax, eax
jmp 0x481a8d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00481a93
pop edi
pop esi
pop ebx
ret 4
Function at 0x487a27
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 0x487a55
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x487a73
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048798d
jmp 0x487a73
mov eax, dword [esi + 0x14]
test eax, eax
je 0x487a73
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048798d
test edi, edi
mov eax, edi
jne 0x487a5d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401440
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x49a010]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00402ff0
lea eax, [esp + 0xc]
push eax
push esi
call fcn.00403090
mov ecx, dword [esp + 0x70]
add esp, 0x14
xor ecx, esp
call fcn.00449c1a
add esp, 0x64
ret

Function at 0x4014b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x49a010]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00402ff0
lea eax, [esp + 0xc]
push eax
push esi
call fcn.00403090
mov ecx, dword [esp + 0x70]
add esp, 0x14
xor ecx, esp
call fcn.00449c1a
add esp, 0x64
ret

Function at 0x401da0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x49a010]
xor eax, esp
mov dword [esp + 0x64], eax
lea eax, [esp]
push eax
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.004061a0
add esp, 8
test eax, eax
jne 0x401e06
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00449c1a
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
test eax, eax
jbe 0x401e1d
push eax
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00402ff0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push ebx
call fcn.00403090
add esp, 8
test esi, esi
je 0x401e3d
mov eax, dword [esp + 4]
xor edx, edx
cmp eax, dword [esp]
sete dl
mov dword [esi], edx
mov ecx, dword [esp + 0x64]
xor ecx, esp
mov eax, 1
call fcn.00449c1a
add esp, 0x68
ret

Function at 0x401ed0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x49a010]
xor eax, esp
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.004063a0
add esp, 4
test eax, eax
jne 0x401f2c
pop edi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00449c1a
add esp, 0x68
ret
lea ecx, [esp + 8]
push ecx
push esi
call fcn.00403090
mov ecx, dword [esp + 0x6c]
add esp, 8
pop edi
xor ecx, esp
mov eax, 1
call fcn.00449c1a
add esp, 0x68
ret
Function at 0x401f50
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x49a010]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.00406490
add esp, 8
test eax, eax
jne 0x401fcf
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00449c1a
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.00407990
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.00449c1a
add esp, 0x74
ret
Function at 0x4102e3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push eax
call dword [0x47f2c4]
mov dword [ebp - 0x48], eax
cmp eax, 0xffffffff
jne 0x41031e
xor eax, eax
jmp 0x4103a1
push esi
mov esi, dword [0x47f2b8]
push edi
lea ecx, [ebp - 0x4c]
push ecx
push 0x40
lea ecx, [ebp - 0x44]
push ecx
push eax
call esi
test eax, eax
je 0x410395
cmp dword [ebp - 0x4c], 0x40
jne 0x410395
mov eax, 0x5a4d
cmp word [ebp - 0x44], ax
jne 0x410395
push edi
push edi
push dword [ebp - 8]
push dword [ebp - 0x48]
call dword [0x47f2bc]
cmp eax, dword [ebp - 8]
jne 0x410395
push ebx
push edi
lea eax, [ebp - 0x4c]
push eax
mov ebx, 0xf8
push ebx
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x48]
call esi
test eax, eax
je 0x410394
cmp dword [ebp - 0x4c], ebx
jne 0x410394
cmp dword [ebp - 0x144], 0x4550
jne 0x410394
cmp word [ebp - 0x13e], di
je 0x410394
xor edi, edi
inc edi
pop ebx
push dword [ebp - 0x48]
call dword [0x47f2cc]
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00449c1a
leave
ret

Function at 0x444c42
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x45f165
Capabilities:
Encode data using xor

Disassembly:
xor esp, dword [ebx]
outsb dx, byte [esi]
sahf
test eax, 0xaba29449
das
sti
mov ecx, dword [ebx + 0x164a59d]
and ecx, esi
mov cl, 0x7a
pushfd
and ah, cl
int 0xe5
mul dword [edx - 0x5b]
and byte [edi + 0x47], ah
xchg esp, eax
xor eax, 0xbacfbb6f
inc eax
mov al, byte [0xc77a74ea]
or eax, 0x6d578d97
std
pop ss
dec ebx
jecxz 0x45f186
mov dword [edx], eax
jo 0x45f138
jne 0x45f19f
in eax, dx
dec eax
out dx, al
invalid
adc dword [edi - 0x34], edx
sbb eax, dword [ebx + edi*4 - 0x6d]
scasd eax, dword es:[edi]
inc esp
rcr dl, 1
or dword [edi], eax
mov cs, word [edx]
fnstsw word [esi + 0x3d0fd5bf]
aas
xchg ecx, eax
hlt
sub cl, byte [edx]
jge 0x45f1c8
insb byte es:[edi], dx
js 0x45f0f7
pop esi
or ebx, edi
invalid
loopne 0x45f1ef
push cs
stosb byte es:[edi], al
test dword [edi + eax], esp
sbb al, dl
add eax, 0x4f6073f1
fmul dword [esi]
mov ch, 0x33
out 0x9d, eax
sub ebp, dword [edi]
das
adc dword [ebx + 0x189cc7c5], esp
rcr esi, 0x6f
push ss
aas
invalid
xor dl, cl
inc ebx
std
leave
lodsb al, byte [esi]
mov ah, dh
adc byte [esi - 0xc], al
push esp
sub edi, dword [edx - 0x40]
aaa
jle 0x45f19b
loope 0x45f19f
cmp al, 0xf8
ret
test byte [ebp + 0x2d3d4a95], ah
shl bh, 1
adc al, 0xe5
stc
pop eax
mov bh, 0x5b
popal
in al, 0x19
push 0x38
loope 0x45f1a7
pushfd
pop ss
xchg edi, eax
xchg edx, eax
in al, dx
dec esp
xchg byte [edi], dh
add edx, ebp
push eax
fucomp st(5)
inc ebp
sbb esp, dword [esi - 0xf]
cmpsb byte [esi], byte es:[edi]
int1
lodsd eax, dword [esi]
retf
Function at 0x401f69
Capabilities:
Encrypt data using tea

Disassembly:
sub esp, 0x30
and dword [esp + 8], 0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], edi
mov eax, dword [edi]
mov ebp, dword [edi + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], eax
call fcn.00401e0f
mov ebx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
add ebx, 0x23f
mov edi, dword [esi + 8]
push 0x20
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], eax
pop esi
mov dword [esp + 0x24], 2
add dword [esp + 0x24], 3
mov edx, dword [esp + 0x20]
mov eax, edx
shl eax, 4
add eax, edi
mov dword [esp + 0x28], 0xedeb2e40
cmp dword [0x2c969c4], 0xfa9
mov dword [esp + 0x10], eax
mov eax, dword [0x2c96a08]
cmove eax, dword [esp + 0x28]
and dword [esp + 0x28], 0
cmp dword [0x2c969c4], 0x3eb
mov dword [0x2c96a08], eax
mov eax, dword [0x2c96a10]
cmove eax, dword [esp + 0x28]
mov dword [0x2c96a10], eax
lea eax, [ebx + edx]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
shr eax, 5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x2c]
xor eax, dword [esp + 0x28]
xor eax, dword [esp + 0x10]
sub ebp, eax
mov dword [esp + 0x14], eax
mov eax, ebp
mov dword [0x2c96a0c], 0xf4ea3dee
shl eax, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
and dword [esp + 0x1c], 0
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
nop
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x24]
mov eax, ebp
shr eax, cl
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x28]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x20], eax
mov edx, 0x9e3779b9
lea ecx, [esp + 0x18]
call fcn.00401f60
dec esi
je 0x4020b9
mov ebx, dword [esp + 0x18]
jmp 0x401fb7
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
mov dword [edi + 4], ebp
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x40ad04
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43ae40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407fab
mov dword [ebp - 0x14], eax
cmp dword [0x2c977ec], esi
jne 0x40adf7
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40ad84
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40aed7
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40aed7
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40aed7
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x2c977ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x2c977f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x2c977f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x2c977fc], eax
test eax, eax
je 0x40adf4
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x2c977f8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40ae1c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ae0f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40ae31
push 4
pop eax
jmp 0x40aed9
cmp dword [ebp - 0x14], esi
je 0x40ae31
push dword [0x2c977ec]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40ae16
mov eax, dword [0x2c977f8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40ae8f
cmp dword [0x2c977fc], edi
je 0x40ae8f
push eax
call ebx
push dword [0x2c977fc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40ae8f
test eax, eax
je 0x40ae8f
call ecx
test eax, eax
je 0x40ae84
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40ae84
test byte [ebp - 8], 1
jne 0x40ae8f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40aebf
mov eax, dword [0x2c977f0]
cmp eax, edi
je 0x40aebc
push eax
call ebx
test eax, eax
je 0x40aebc
call eax
mov esi, eax
test esi, esi
je 0x40aebc
mov eax, dword [0x2c977f4]
cmp eax, edi
je 0x40aebc
push eax
call ebx
test eax, eax
je 0x40aebc
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x2c977ec]
call ebx
test eax, eax
je 0x40aed7
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40aed9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403f6e
mov esp, ebp
pop ebp
ret
Function at 0x1161cc0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x1192c20]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.01176cc0
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x1161d8f
mov eax, 0x118c894
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1161d05
sub eax, edx
sar eax, 1
je 0x1161d8f
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [0x1189234]
push 0x118c894
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.011748ea
push 0x118c8b0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.01174e3b
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x1161d8f
push eax
push 1
push 0x200
push esi
call fcn.0117512e
mov eax, dword [esp + 0x14]
push eax
call fcn.011751c2
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.011748db
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.011748db
add esp, 0x214
ret

Function at 0x1161db0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x1192c20]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.01176cc0
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x1161eb5
mov eax, 0x118c7e0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1161df5
sub eax, edx
sar eax, 1
je 0x1161eb5
cmp dword [0x1193fbc], 3
jne 0x1161e3c
push 0x104
lea edx, [esp + 0x10]
push edx
call dword [fcn.01189214]
push 0x118c8b8
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.011748ea
add esp, 0xc
jmp 0x1161e4c
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [0x1189234]
push 0x118c7e0
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.011748ea
push 0x118c8b0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.01174e3b
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x1161eb5
push eax
push 1
push 0x200
push esi
call fcn.0117512e
mov edx, dword [esp + 0x14]
push edx
call fcn.011751c2
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.011748db
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.011748db
add esp, 0x214
ret
Function at 0x11625c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
or eax, 0xffffffff
push ebx
mov ebx, 1
push ebp
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
call fcn.011749e8
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x118e4b0]
fadd qword [0x118e4c8]
call fcn.011789e0
mov ebp, eax
xor esi, esi
xor edi, edi
test ebp, ebp
jle 0x11626e0
call fcn.011749e8
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x118e4b0]
fmul qword [0x118e4c0]
fadd qword [0x118e4b8]
call fcn.011789e0
mov ecx, eax
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jle 0x11626c8
lea esp, [esp]
add ecx, ebx
cmp ecx, 0x1a
jne 0x11626b9
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x11626b0
add esi, dword [esp + ecx*4 + 0x18]
mov eax, dword [esp + 0x84]
add ecx, 0x61
mov word [eax + edi*2], cx
add edi, ebx
cmp edi, ebp
jl 0x1162677
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret

Function at 0x1162780
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x1192c20]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x206
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.01176cc0
add esp, 0xc
cmp edi, esi
je 0x1162868
mov eax, 0x118c790
mov dword [esp + 4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x11627c5
sub eax, edx
sar eax, 1
je 0x11627ef
push 0x118c924
lea edx, [esp + 8]
push 0x118c790
push edx
call fcn.01174e3b
add esp, 0xc
jmp 0x116282a
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [0x1189234]
push 0x118c894
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.011748ea
push 0x118c924
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.01174e3b
add esp, 0x18
mov eax, dword [esp + 4]
cmp eax, esi
je 0x116284d
push eax
push 1
push 0x200
push edi
call fcn.01175401
mov ecx, dword [esp + 0x14]
push ecx
call fcn.011751c2
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.011748db
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.011748db
add esp, 0x214
ret