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

Disassembly:
push 0xffffffffffffffff
push 0x100ba263
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.100ad3f0
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.100b2aa2
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.100b4001
test eax, eax
je 0x1006e5cc
mov ecx, dword [esp + 0x3c]
call fcn.100b2acf
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 0x1006e590
push edi
mov ecx, esi
call fcn.100b011c
mov ecx, esi
call fcn.1006e730
cmp dword [esp + 0x38], 1
jne 0x1006e5c5
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.100b0257
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 0x10070fe0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10071013
push esi
call fcn.1007f340
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x1007100c
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 0x10071099
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10071082
mov eax, dword [esi + 8]
test eax, eax
je 0x10071037
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 0x1007107e
cmp eax, 2
je 0x10071082
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1007102a
cmp eax, 3
je 0x1007105d
cmp eax, 1
jne 0x1007102a
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 0x1007102a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x1007102a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.100710c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x100710a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.100710c0
add esp, 4
pop esi
ret

Function at 0x10071940
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x10071961
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x10071961
mov eax, dword [eax + 0x44]
test eax, eax
je 0x10071961
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 0x10071db0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x10071dbb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x10071ebe
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100e7a38]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100e7a38]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100e7a38]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100e7a38]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100e7a38]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100e7a38]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100e7a38]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100e7a38]
xor eax, edx
inc ecx
dec edi
jne 0x10071dd6
pop edi
test esi, esi
je 0x10071ee0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100e7a38]
xor eax, edx
inc ecx
dec esi
jne 0x10071ec2
pop esi
pop ebx
not eax
ret
Function at 0x1008d660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ba6cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.100ad3f0
mov dword [esi], method.CTreeCtrl.virtual_0
lea edi, [esi + 0x3c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov dword [edi], 0x100e99f4
call fcn.1008f970
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 1
call fcn.1008f970
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 2
call fcn.1008f970
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 3
call fcn.1008f970
mov dword [edi], 0x100e99ec
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 4
call fcn.100aa88f
mov dword [esi + 0xd8], 0
mov dword [esi + 0xd4], 0x100e9abc
mov eax, dword [0x1010c814]
mov dword [esi + 0xdc], eax
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 7
call fcn.1008f970
lea ecx, [esi + 0xf4]
mov byte [esp + 0x18], 8
call fcn.100aa88f
mov ecx, dword [esp + 0x10]
mov dword [esi], method.CTreeCtrl.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x1008d760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ba754
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CTreeCtrl.virtual_0
lea ecx, [esi + 0xf4]
mov dword [esp + 0x18], 5
call fcn.100aa8b8
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 4
mov dword [ecx], 0x100e99e8
call fcn.1008fb70
lea ecx, [esi + 0xdc]
mov byte [esp + 0x18], 3
call fcn.100abe41
lea ecx, [esi + 0xd4]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 6
call fcn.100b2af9
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 1
call fcn.100aa8b8
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x6c]
mov byte [esp + 0x18], 9
mov dword [ecx], 0x100e99e8
call fcn.1008fb70
lea ecx, [edi + 0x58]
mov byte [esp + 0x18], 8
mov dword [ecx], 0x100e99e8
call fcn.1008fb70
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x100e99e8
call fcn.1008fb70
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x100e99e8
call fcn.1008fb70
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.100aa451
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1008e390
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x1008e433
test eax, eax
jbe 0x1008e433
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x1008e433
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x1008e3de
xor esi, esi
jmp 0x1008e3e4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x1008e40f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.1002ba00
add esi, eax
push esi
mov ebx, esi
call fcn.1002ba00
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x1008e3f0
pop ebp
test edi, edi
pop edi
jne 0x1008e433
test ebx, ebx
je 0x1008e433
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.1009c820
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x1008e590
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1008e6ad
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1008e6ad
mov eax, dword [esi + 0x3c]
push eax
call fcn.100ad842
mov esi, eax
test esi, esi
je 0x1008e6ad
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x1008e6ad
mov ecx, esi
call fcn.1008e520
cmp edi, eax
jge 0x1008e6ad
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x1008e633
mov dword [esp + 0x34], 1
jmp 0x1008e68e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x1008e6ad
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.1008c210
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x10095720
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x1009576c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x1009576c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x10095756
push eax
call ebp
test ax, ax
jl 0x10095764
inc esi
add edi, 4
cmp esi, 6
jb 0x10095748
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.10095420
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10097d80
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x10097de0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x10097de0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x10097de0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x10097de0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x10097df0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x100ae1e5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100ae21d
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.100ac29c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100ac274
jmp 0x100ae229
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100af8d6
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 0x100af918
call fcn.100b557c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100af918
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100af90f
xor eax, eax
jmp 0x100af920
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100af926
pop edi
pop esi
pop ebx
ret 4
Function at 0x40a7ec
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x40b8b5
call fcn.004051c0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0x402ef8
mov dword [esi + 4], 0x402f5c
mov dword [esi + 8], 0x402ed8
mov dword [esi + 0xc], 0x402ec8
lea ecx, [esi + 0x50]
mov dword [ebp - 4], 9
call fcn.0040ad5b
push dword [esi + 0x34]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
xor ebx, ebx
mov dword [esi + 0x34], ebx
push dword [esi + 0x30]
call edi
mov dword [esi + 0x30], ebx
push dword [esi + 0x2c]
call edi
mov dword [esi + 0x2c], ebx
push dword [esi + 0x28]
call edi
mov dword [esi + 0x28], ebx
push dword [esi + 0x24]
call edi
mov dword [esi + 0x24], ebx
push dword [esi + 0x20]
call edi
mov dword [esi + 0x20], ebx
push dword [esi + 0x1c]
call edi
mov dword [esi + 0x1c], ebx
push dword [esi + 0x18]
call edi
mov dword [esi + 0x18], ebx
push dword [esi + 0x14]
call edi
mov dword [esi + 0x14], ebx
push dword [esi + 0x10]
call edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x10], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40aa4c
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
mov eax, 0x40b8b5
call fcn.004051c0
push ecx
mov eax, dword [0x40d9bc]
push ebx
push esi
mov esi, ecx
mov dword [0x40db60], eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor ebx, ebx
lea eax, [esi + 0x10]
push ebx
push eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x402ef8
mov dword [esi + 4], 0x402f5c
mov dword [esi + 8], 0x402ed8
mov dword [esi + 0xc], 0x402ec8
call edi
lea eax, [esi + 0x14]
push ebx
push eax
mov dword [ebp - 4], ebx
call edi
lea eax, [esi + 0x18]
push ebx
push eax
call edi
lea eax, [esi + 0x1c]
push ebx
push eax
call edi
lea eax, [esi + 0x20]
push ebx
push eax
call edi
lea eax, [esi + 0x24]
push ebx
push eax
call edi
lea eax, [esi + 0x28]
push ebx
push eax
call edi
lea eax, [esi + 0x2c]
push ebx
push eax
call edi
lea eax, [esi + 0x30]
push ebx
push eax
call edi
lea eax, [esi + 0x34]
push ebx
push eax
call edi
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 9
mov dword [esi + 0x38], 0x7530
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
mov byte [esi + 0x41], bl
mov dword [esi + 0x44], 0x12
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
call fcn.0040ad12
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x74], 1
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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 0x1001bd34
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
mov edi, ecx
push 5
pop eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret

Function at 0x1001dbd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1001dbe3
pop dword [ebp - 0x2c]
mov eax, 0x4776c496
add eax, 0xc88b174d
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x14c464f5
add dword [ebp - 0x3c], 0x398de056
mov dword [ebp - 0x38], 0xb8843e72
add dword [ebp - 0x38], 0x79af0dd3
mov dword [ebp - 0x34], 0x5f113f17
sub dword [ebp - 0x34], 0x12c4fae9
mov dword [ebp - 0x30], 0x1c18117b
add dword [ebp - 0x30], 0xe3e7ee85
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xd20d65ce
add eax, 0x3df6eb36
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x1d4f9df
add dword [ebp - 0x3c], 0x729d6f77
mov dword [ebp - 0x38], 0xa180ac72
add dword [ebp - 0x38], 0x9febb503
mov dword [ebp - 0x34], 0xcdd46ee8
add dword [ebp - 0x34], 0x959afd84
mov dword [ebp - 0x30], 0x3e65f891
sub dword [ebp - 0x30], 0x3e65f891
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xb1c74547
sub eax, 0xa1c2f48f
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x48a6d
push 0
call eax
mov ecx, 0xaddf0ac2
sub ecx, 0xaddec982
mov edx, eax
mov ebx, 0xaaa78493
sub ebx, 0x9aa03493
add ebx, dword [ebp - 0x2c]
mov edi, 0xe69b6888
add dword [ebp - 8], 0xb04bb414
mov esi, dword [ebx]
xor dword [ebp - 0x10], ebx
xor esi, edi
mov dword [edx], esi
xor dword [ebp - 0x28], 0x1404935d
add edx, 0x55d50038
sub edx, 0x55d50034
add ebx, 0x341e7d3b
add ebx, 0xcbe182c9
loop 0x1001dcff
add eax, 0x997a7f79
add eax, 0x6686785a
xor ebx, ebx
add ebx, eax
add eax, 0x5e97b044
add eax, 0xa1684fc1
mov ecx, 0x3c2d9cc1
sub ecx, 0x2c2d9cc1
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x40382c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40384d
jl 0x403844
test edi, edi
jne 0x40384d
xor eax, eax
xor edx, edx
jmp 0x40390e
cmp dword [ebx + 0x38], 0
je 0x403862
push eax
push edi
push dword [ebp + 8]
call fcn.00403914
jmp 0x40390e
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4038a9
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4038a9
cmp eax, edi
jb 0x403883
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00405470
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x4038af
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x403903
mov ecx, ebx
call fcn.00402f0e
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4038ee
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00409d62
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x403903
jmp 0x4038c1
test edx, edx
je 0x403903
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00409d62
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x4050c0
Capabilities:
Parse pe header

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

Function at 0x40f446
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4203d0
push 0x4203c8
push str.FlsAlloc
push 0x1e
call fcn.0040f2b3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f47a
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d140]
call esi
jmp 0x40f480
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40f4c4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4203e0
push 0x4203d8
push str.FlsGetValue
push 0x20
call fcn.0040f2b3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40f4fb
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x410a13
Capabilities:
Read file on windows

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

Function at 0x410e0d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00405440
mov eax, dword [0x472f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0040fa79
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x410e4f
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x410fab
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041ae90
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4748e0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00411e04
mov ecx, dword [esi*4 + 0x4748e0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x410fa4
cmp eax, dword [edi + ecx + 0x24]
jne 0x410fa4
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x410fa4
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00411e04
add esp, 0x14
test edx, edx
jl 0x410fa4
jg 0x410f1a
test eax, eax
jb 0x410fa4
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x410fa4
jl 0x410f34
cmp dword [ebp - 0x1008], eax
ja 0x410fa4
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x410f52
test ebx, ebx
je 0x410f8b
cmp ecx, edi
jae 0x410f8b
mov al, byte [ecx]
cmp al, 0xd
jne 0x410f6c
lea eax, [edi - 1]
cmp ecx, eax
jae 0x410f78
cmp byte [ecx + 1], 0xa
jne 0x410f78
inc ecx
jmp 0x410f78
movzx eax, al
movsx eax, byte [eax + 0x4731b8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x410f52
cmp edx, ebx
jne 0x410f52
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x410fa9
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00404956
leave
ret