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

Disassembly:
push 0xffffffffffffffff
push 0x41a0eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x814
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
mov ebp, dword [sym.imp.KERNEL32.dll_SetEvent]
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x68]
push eax
call ebp
mov eax, dword [esi + 0x6c]
lea ecx, [esp + 0x20]
push 0
push ecx
lea edx, [esp + 0x2c]
push 0x800
push edx
push eax
call ebx
test eax, eax
je 0x40258d
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 0x64]
call fcn.00412f8f
jmp 0x402550
mov edx, dword [esi + 0x7c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x7c]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40264f
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4025d4
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.sign_sucess
call fcn.00412cae
push 1
mov ecx, esi
call fcn.004026c0
jmp 0x40264f
mov edx, dword [0x5c2430]
mov ecx, dword [edx - 8]
test ecx, ecx
jle 0x4025f2
cmp eax, 0x3e8
jne 0x4025f2
mov dword [esp + 0x18], 1
jmp 0x40264f
push 0x5c2538
lea ecx, [esp + 0x18]
call fcn.00412cae
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push str.sign_error__x
push ecx
mov dword [esp + 0x838], 0
call fcn.004109c0
add esp, 8
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004129b5
push 0
mov ecx, esi
call fcn.004026c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x82c], 0xffffffff
call fcn.00412c40
mov eax, dword [esi + 0x6c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x78]
push ecx
call edi
mov edx, dword [esi + 0x7c]
push edx
call edi
mov eax, dword [esi + 0x68]
push eax
call edi
mov ecx, dword [esi + 0x60]
xor ebx, ebx
push ecx
mov dword [esi + 0x68], ebx
call edi
mov eax, dword [esp + 0x18]
mov dword [esi + 0x60], ebx
cmp eax, ebx
je 0x402694
mov edx, dword [esi + 0x1c]
push ebx
push ebx
push 0x4c8
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x824]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x820
ret
Function at 0x402a70
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create thread
Create two anonymous pipes
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41a1d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
lea ecx, [esi + 0x64]
mov dword [esp + 0x84], ebx
call fcn.00412bcb
lea eax, [esp + 0x1c]
lea ebp, [esi + 0x74]
push ebx
push eax
lea ecx, [esi + 0x6c]
push ebp
push ecx
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x402ae9
lea ecx, [esp + 0x8c]
mov dword [esp + 0x84], 0xffffffff
call fcn.00412c40
xor eax, eax
jmp 0x402c6c
lea edx, [esp + 0x1c]
push ebx
lea eax, [esi + 0x78]
lea edi, [esi + 0x70]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x402b1f
lea ecx, [esp + 0x8c]
mov dword [esp + 0x84], 0xffffffff
call fcn.00412c40
xor eax, eax
jmp 0x402c6c
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x44
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [ebp]
mov edx, dword [edi]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
push eax
push ecx
push ebx
push ebx
push ebx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0xa0]
push 1
push ebx
push ebx
push edx
push ebx
mov dword [esp + 0x8c], 0x101
mov word [esp + 0x90], bx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x402bf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x5c2538
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00412cae
push edi
lea eax, [esp + 0x14]
push str.cp_error___x
push eax
mov byte [esp + 0x90], 1
call fcn.004109c0
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004129b5
push ebx
mov ecx, esi
call fcn.004026c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], bl
call fcn.00412c40
lea ecx, [esp + 0x8c]
mov dword [esp + 0x84], 0xffffffff
call fcn.00412c40
xor eax, eax
jmp 0x402c6c
mov eax, dword [ebp]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebp
mov ecx, dword [edi]
push ecx
call ebp
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x14]
push eax
push ebx
push esi
push 0x4024e0
push ebx
push ebx
mov dword [esi + 0x7c], edx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x60], eax
jne 0x402c43
lea ecx, [esp + 0x8c]
mov dword [esp + 0x84], 0xffffffff
call fcn.00412c40
xor eax, eax
jmp 0x402c6c
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea ecx, [esp + 0x8c]
mov dword [esi + 0x68], eax
mov dword [esp + 0x84], 0xffffffff
call fcn.00412c40
mov eax, 1
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret 4
Function at 0x407a3d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5c1798
cmp edx, dword [eax]
je 0x407a5f
add eax, 8
inc ecx
cmp eax, 0x5c1828
jl 0x407a50
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5c1798]
jne 0x407b8d
mov eax, dword [0x5c4574]
cmp eax, 1
je 0x407b67
test eax, eax
jne 0x407a90
cmp dword [0x5c11f0], 1
je 0x407b67
cmp edx, 0xfc
je 0x407b8d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x407ac7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407c20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407d10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x407b0a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407d10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x5bc450
push edi
call fcn.0040acf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407c20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407c30
lea eax, [ebp - 0xa0]
push 0x5bc430
push eax
call fcn.00407c30
push dword [esi + 0x5c179c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407c30
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040aead
add esp, 0x2c
pop edi
jmp 0x407b8d
lea eax, [ebp + 8]
lea esi, [esi + 0x5c179c]
push 0
push eax
push dword [esi]
call fcn.00407d10
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40ff00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00404b80
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x40ffcb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x40ffcb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x40ff7e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x40ff89
or bh, 8
and edi, 0x8000000
je 0x40ffa4
mov eax, dword [0x5c5cdc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x40ffcb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4103a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4103cb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4103ef
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41040a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x413ebf
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x413ef7
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.00413045
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0041301d
jmp 0x413f03
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x413f07
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x5c25f0
mov ecx, edi
call fcn.00412d7d
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x413f5a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x413f6d
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.00413045
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0041301d
jmp 0x413f6d
mov ecx, esi
call fcn.00415b56
test eax, eax
je 0x413f6d
push edi
mov ecx, eax
call fcn.00413ebf
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x415483
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 0x4154c5
call fcn.00418c48
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4154c5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4154bc
xor eax, eax
jmp 0x4154cd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004154d3
pop edi
pop esi
pop ebx
ret 4

Function at 0x4193fb
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 0x419429
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x419447
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00419361
jmp 0x419447
mov eax, dword [esi + 0x14]
test eax, eax
je 0x419447
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00419361
test edi, edi
mov eax, edi
jne 0x419431
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x51f251ac
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
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
nop
jne 0x42e024
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x2d3e1461
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x100058c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x10024018]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x210], ecx
push str.Unspecified_error.
call fcn.10013ca0
add esp, 4
push 0x44
push 0
lea eax, [ebp - 0x268]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x268], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x220]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dx, word [0x1001f358]
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0x10020204
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCR120.dll_wcscat_s]
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x210]
add ecx, 0x9c
call fcn.1000e160
push eax
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.MSVCR120.dll_wcscat_s]
add esp, 0xc
push 0x10020208
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR120.dll_wcscat_s]
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.MSVCR120.dll_wcscat_s]
add esp, 0xc
push 0x10020204
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR120.dll_wcscat_s]
add esp, 0xc
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x268]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x210]
add ecx, 0x9c
call fcn.1000fae0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x21c], 0
je 0x10005a29
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x21c], 0
cmp dword [ebp - 0x224], 0
jne 0x10005a46
push 0x10020210
call fcn.10013ca0
add esp, 4
mov eax, 1
jmp 0x10005a9a
cmp dword [ebp + 0xc], 0
je 0x10005a61
push 0xffffffffffffffff
mov edx, dword [ebp - 0x210]
mov eax, dword [edx + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x10], 0
je 0x10005a74
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x220]
mov dword [ecx], edx
jmp 0x10005a8b
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x220], 0
push str.Success.
call fcn.10013ca0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001ca56
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10016da0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10024018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1000c680
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.1000c440
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x10017080
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor edx, edx
div dword [ecx + 8]
mov eax, dword [ebp + 8]
sub eax, edx
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
push 6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0x18
call fcn.100188f0
mov edx, dword [ebp - 4]
mov dword [eax], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x100193de
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]

Function at 0x100195f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jo 0x10019637
sub esp, dword [esi - 0x75]
inc edi
push es
cmp ax, bx
jbe 0x100195f8
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x100195f2
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x100195e3
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
mov eax, 0xb945c6c8
cmpsd dword [esi], dword es:[edi]
call fcn.1001939e
invalid
Function at 0x401ea0
Capabilities:
Terminate process

Disassembly:
adc eax, 0x3d4002c8
push eax
mov esi, 0xc040c283
lodsb al, byte [esi]
aam 0x40
add byte [edx - 1], dl
shr eax, 1
rol dword [eax], 0xa1
lodsb al, byte [esi]
add al, byte [ecx]
add esp, 0xffffffe6
test eax, eax
je 0x401e8c
test eax, 0x40d25468
add bh, bh
adc eax, sym.imp.MSVCRT.dll_printf
add esp, 0x78
push esi
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
nop
nop
nop
nop
xchg edi, eax
nop
nop
nop
mov cl, 0x6a
nop
pop ss
push ebp
mov ebp, esp
sub esp, 0x14
and edx, dword [esi - 0x75]
jne 0x401eb3
push edi
mov esi, dword [ebx]
adc al, 0x89
inc ebp
or al, bh
dec ecx
add eax, dword [eax]
jp 0x401e5b
mov al, byte [0x89004139]
adc eax, 0x41cca4
mov ebx, eax
mov eax, dword [esi + 0x14]
test eax, eax
mov edi, edx
jne 0x401f0d
cmp ebp, ebp
add al, 0x6a
add byte [edx], ch
push ecx
push ecx
xchg esi, eax
insd dword es:[edi], dx
pop es
dec edx
mov dword [esi + 0x838], ebx
scasb al, byte es:[edi]
mov esi, 0x13083c
mov dword [esi + 0x18], 0
mov ecx, 0x4117ec15
add byte [ecx + 0x60a11456], cl
adc byte [ecx], al
test dword [edi + 0x74], ebp
cmp esp, dword [ecx + 0x41fb70]
mov ebx, dword [ebx + eax - 0x38]
mov dword [edi - 0x4dd214ec], esp
invalid
mov dl, 0x8e
jb 0x401f19
jg 0x401f13
mov eax, dword [0x40d028]
mov edx, dword [0x40502c]
adc eax, 0x40502c
add ecx, eax
mov eax, dword [esi + 0x83c]
add byte [eax], al
adc eax, edx
cmp edi, eax
mov edi, 0x5c00dba3
add byte [eax + ecx + 0x2c], bh
movsb byte es:[edi], byte [esi]
ja 0x402015
mov edx, dword [esi + 0x18]
mov ebx, dword [0x4f40d030]
out 0x46, eax
add al, 0x8d
dec ebp
or byte [ebx], ah
rcl dword [ecx + 0x52], cl
and edx, ebx
push ecx
push edx
push eax
call fcn.00408ab2
test eax, eax
je 0x401f69
cmp eax, 0xb
je 0x401f49
cmp eax, 0x3dfd68
je 0x401f8a
dec esp
frndint
or al, byte [eax]
je 0x401fbb
push ecx
cmp eax, 0xafd57
je 0x401f8a
cmp eax, 0xab224
je 0x401f8a
cmp eax, 0xafca1
je 0x401f24
cmp eax, 0xb15b3
sbb dword [ebp + 0x170000f3], eax
mov eax, dword [ebp + 8]
mov ebx, dword [0x8c4100a0]
mov edi, dword [0x6202a4]
add ebx, eax
and dword [eax - 0x5fe27700], 0xffffffbe
inc ecx
add byte [ecx + 0x4102ae9b], cl
add byte [ebx], ah
adc al, 0x6d
mov ecx, dword [esi]
adc al, 3
pop ebp
sub ecx, eax
mov dword [0xf9d58918], edx
jne 0x401eac
test esp, ebp
invalid
mov dword [esi + 0x62], 0x20004d
call fcn.00406a00
mov bl, 0xa0
or edx, dword [edx - 0x5bea7700]
or eax, dword [ecx + 6]
push ds
push esi
sub al, 0x89
xchg byte [eax + 8], al
add byte [eax], al
dec esi
test eax, 0x54410ba4
mov eax, 0x710001
mov dword [ebp - 0x10], eax
lcall 0x448e, 0x89f44505
inc edx
add byte [eax], al
mov ecx, dword [0xff17f8]
lea edi, [esp + ebp*8 - 0x77]
push ebp
clc
invalid
push 0xb2d458
call dword [0x18d72064]
push esi
call 0xcb3a90
sub dword [ebp + 0x5b5e5f08], 0xffffff8b
in eax, 0x5d
ret

Function at 0x405837
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sahf
adc eax, esp
jecxz 0x40586a
cld
push 0x7e
test eax, 0x2886a5c5
inc esp
jp 0x4058c6
mov edx, 0x581ddf3b
sub byte [ecx], al
ror byte [ebx - 0x146fe7b8], 1
or dword [ecx + 0x41], edx
int 0xf5
jmp 0x40591b
out 0xa2, al
cmpsb byte [esi], byte es:[edi]
ret 0xa9be