joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10030a28
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10041594]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.100155e2
mov dword [ebp - 0x14], eax
cmp dword [0x10061678], edi
jne 0x10030b19
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x10030aa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10030bf9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10030bf9
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10030bf9
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x10061678], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x1006167c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10061680], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10061688], eax
test eax, eax
je 0x10030b16
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10061684], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10030b3e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10030b31
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x10030b53
push 4
pop eax
jmp 0x10030bfb
cmp dword [ebp - 0x14], edi
je 0x10030b53
push dword [0x10061678]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10030b38
mov eax, dword [0x10061684]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x10030bb1
cmp dword [0x10061688], esi
je 0x10030bb1
push eax
call ebx
push dword [0x10061688]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10030bb1
test eax, eax
je 0x10030bb1
call ecx
test eax, eax
je 0x10030ba6
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 0x10030ba6
test byte [ebp - 8], 1
jne 0x10030bb1
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x10030be1
mov eax, dword [0x1006167c]
cmp eax, esi
je 0x10030bde
push eax
call ebx
test eax, eax
je 0x10030bde
call eax
mov edi, eax
test edi, edi
je 0x10030bde
mov eax, dword [0x10061680]
cmp eax, esi
je 0x10030bde
push eax
call ebx
test eax, eax
je 0x10030bde
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x10061678]
call ebx
test eax, eax
je 0x10030bf9
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x10030bfb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100152ad
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xb8d3e1a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4d554960
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x403990
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x800
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetCaretBlinkTime]
xor esi, esi
cmp esi, 0x97f
jge 0x4039ab
call edi
cmp esi, 0x160d6ee
jg 0x4039bc
inc esi
cmp esi, 0x33cd48d
jl 0x4039a1
cmp dword [0x5df204], 0x400
jne 0x403a3c
push 0
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lcreat]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll__hwrite]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LocalShrink]
push 0
lea eax, [esp + 0x10]
push eax
push 0x40317c
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push 0
call fcn.00403b9f
push 0
push 0
call fcn.004040ae
push 0
call fcn.00404049
push 0
call fcn.004041f9
push 0
call fcn.0040426d
add esp, 0x18
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea ebx, [ebx]
call edi
call ebx
cmp esi, 0x12e8a06
jg 0x403a65
inc esi
cmp esi, 0x30375
jl 0x403a50
mov ecx, dword [0x43c734]
mov dword [0x5df204], ecx
call fcn.00403660
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, 0x2ec37
mov ebx, 0x51f
cmp dword [0x5df204], ebx
jne 0x403a97
lea edx, [esp + 0xc]
push edx
push 0
call esi
dec edi
jne 0x403a86
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x800
ret 0x10

Function at 0x407654
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439d28]
jne 0x40765e
repz ret
jmp fcn.004095b8
Function at 0x407b30
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x439d28]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405b53
and dword [ebp - 0x14], 0
cmp dword [0x450f98], 0
mov dword [ebp - 0x18], eax
jne 0x407be3
push 0x4021c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407c8b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4021bc
push ebx
call edi
test eax, eax
je 0x407c8b
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4021ac
push ebx
mov dword [0x450f98], eax
call edi
push eax
call esi
push 0x402198
push ebx
mov dword [0x450f9c], eax
call edi
push eax
call esi
push 0x40217c
push ebx
mov dword [0x450fa0], eax
call edi
push eax
call esi
mov dword [0x450fa8], eax
test eax, eax
je 0x407be3
push 0x402164
push ebx
call edi
push eax
call esi
mov dword [0x450fa4], eax
mov eax, dword [0x450fa4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407c3c
cmp dword [0x450fa8], ecx
je 0x407c3c
push eax
call esi
push dword [0x450fa8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407c3c
test ebx, ebx
je 0x407c3c
call edi
test eax, eax
je 0x407c33
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407c33
test byte [ebp - 8], 1
jne 0x407c3c
or dword [ebp + 0x10], 0x200000
jmp 0x407c6f
mov eax, dword [0x450f9c]
cmp eax, dword [ebp - 0x18]
je 0x407c6f
push eax
call esi
test eax, eax
je 0x407c6f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407c6f
mov eax, dword [0x450fa0]
cmp eax, dword [ebp - 0x18]
je 0x407c6f
push eax
call esi
test eax, eax
je 0x407c6f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x450f98]
call esi
test eax, eax
je 0x407c8b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407c8d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407654
leave
ret
Function at 0x10001030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x10073200]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0xf84a25ca
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
sub eax, 0x8e2d22a5
je 0x1000110b
jmp 0x1000106c
mov eax, dword [ebp - 0x28]
sub eax, 0x9c5cd74e
je 0x10001182
jmp 0x1000107f
mov eax, dword [ebp - 0x28]
sub eax, 0x9d883a1e
je 0x100011de
jmp 0x10001092
mov eax, dword [ebp - 0x28]
sub eax, 0xbbcfdd30
je 0x1000118e
jmp 0x100010a5
mov eax, dword [ebp - 0x28]
sub eax, 0xf84a25ca
je 0x100010bd
jmp 0x100010b8
jmp 0x100011eb
mov eax, dword [0x10074548]
mov ecx, dword [0x10074544]
mov edx, eax
sub edx, 0xcaaad286
sub edx, 1
add edx, 0xcaaad286
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x9d883a1e
mov ecx, 0x8e2d22a5
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x100011eb
mov eax, dword [ebp - 0x24]
push eax
mov ecx, esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [0x10074548]
mov eax, dword [0x10074544]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0x9d883a1e
mov ecx, 0x9c5cd74e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x1c], eax
jmp 0x100011eb
mov dword [ebp - 0x1c], 0xbbcfdd30
jmp 0x100011eb
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
mov ecx, dword [ebp - 0x14]
mov edi, dword [edx]
not byte [edi]
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
add byte [edi], 0x82
sub byte [edi], 0x44
nop
mov eax, ebx
mov ebx, 0x99
nop
xor ebx, eax
imul byte [edi]
inc edi
loop 0x100011a9
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10015240
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0x8e2d22a5
jmp 0x10001056
Function at 0x10018613
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10018652
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10018652
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10018652
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10018652
cmp dword [ecx + 0x74], 0xe
jbe 0x10018652
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001b2cf
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 0x1001b36c
push ebx
push esi
call fcn.1001b298
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.1001b22c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001b319
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001b36b
push edi
push eax
call fcn.1001c28a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001b339
call fcn.10019d74
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001b36a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001b22c
add esp, 0x20
test eax, eax
jne 0x1001b358
push edi
call fcn.10019d74
jmp 0x1001b360
push ebx
call fcn.10019d74
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 0x1001b5d9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10022cb8
push 0x10022cb0
push str.FlsAlloc
push 0x1f
call fcn.1001b4f5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001b60d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10021140]
call esi
jmp 0x1001b613
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001b657
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10022cc8
push 0x10022cc0
push str.FlsGetValue
push 0x21
call fcn.1001b4f5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001b68e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10021140]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001b696
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10022cd0
push 0x10022cc8
push str.FlsSetValue
push 0x22
call fcn.1001b4f5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001b6d0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10021140]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10020d50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10020d7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10020d7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x10001eec
Capabilities:
Get common file path

Disassembly:
push 0x18
mov eax, 0x100207a1
call fcn.1000a679
xor esi, esi
lea ecx, [ebp - 0x24]
push esi
push 0x104
mov dword [0x100321ac], esi
mov dword [0x100321b0], esi
call fcn.10002012
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.10001fde
push eax
lea ecx, [ebp - 0x24]
call fcn.10001feb
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x24]
call fcn.10001fe6
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x10001f3a
sub eax, edx
lea ecx, [ebp - 0x24]
sar eax, 1
push eax
call fcn.10001fcd
push ecx
lea ecx, [ebp - 0x24]
call fcn.10002003
lea ecx, [ebp - 0x24]
call fcn.10001fe6
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x1002c53c
push eax
mov dword [0x100321ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x24]
mov dword [0x100321b0], eax
call fcn.10002008
mov eax, 0x100321ac
call fcn.1000a653
ret

Function at 0x10002af6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10030070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
jne 0x10002b56
lea eax, [ebp - 8]
push eax
push 0x40
push 5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10002b27
xor al, al
jmp 0x10002b58
push dword [esi + 4]
lea ecx, [ebp - 0x14]
push dword [esi]
call fcn.10002a9b
mov ecx, dword [esi]
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
mov al, byte [ebp - 0x10]
mov byte [ecx + 4], al
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [esi + 0xd], 1
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10009d54
mov esp, ebp
pop ebp
ret

Function at 0x10002c15
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp fcn.10002b67
add ecx, 8
jmp 0x10002af1
Function at 0x1000491e
Capabilities:
Write file on windows

Disassembly:
push 0x38
mov eax, 0x100209bc
call fcn.1000a6ad
mov ebx, ecx
call fcn.10002f85
mov edi, eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
call fcn.10002f5a
pop ecx
pop ecx
test al, al
je 0x10004956
lea ecx, [ebp + 8]
call fcn.10002f6c
jmp 0x10004acf
mov ecx, ebx
call fcn.10005c15
test eax, eax
je 0x1000498e
call fcn.10005beb
mov ecx, ebx
mov edx, eax
call fcn.10005c15
cmp eax, edx
jae 0x1000498e
call fcn.10005b97
mov esi, eax
lea eax, [ebp + 8]
push eax
call fcn.10002f45
mov byte [esi], al
mov eax, dword [ebp + 8]
pop ecx
jmp 0x10004acf
xor esi, esi
cmp dword [ebx + 0x4c], esi
je 0x10004acd
mov ecx, ebx
call fcn.10005866
lea eax, [ebp + 8]
push eax
call fcn.10002f45
pop ecx
cmp dword [ebx + 0x38], esi
jne 0x100049c4
mov edx, dword [ebx + 0x4c]
mov cl, al
call fcn.10003c08
test al, al
cmovne edi, dword [ebp + 8]
jmp 0x10004acd
push esi
push 8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x11], al
call fcn.100041e1
mov dword [ebp - 4], esi
jmp 0x10004a50
cmp eax, 1
jg 0x10004aaf
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10005437
mov ecx, eax
call fcn.1000203c
mov esi, dword [ebp - 0x1c]
sub esi, eax
je 0x10004a24
push dword [ebx + 0x4c]
lea eax, [ebp - 0x44]
push esi
push 1
push eax
lea ecx, [ebp - 0x3c]
call fcn.10005437
mov ecx, eax
call fcn.1000203c
push eax
call fcn.1001001d
add esp, 0x10
cmp esi, eax
jne 0x10004ac5
lea eax, [ebp - 0x11]
mov byte [ebx + 0x3d], 1
cmp dword [ebp - 0x18], eax
jne 0x10004aaa
test esi, esi
jne 0x10004a50
lea ecx, [ebp - 0x3c]
call fcn.10001fde
cmp eax, 0x20
jae 0x10004ac5
push esi
push 8
lea ecx, [ebp - 0x3c]
call fcn.10005600
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.10005437
mov ecx, eax
call fcn.1000203c
lea ecx, [ebp - 0x3c]
mov esi, eax
call fcn.10001fde
add esi, eax
lea ecx, [ebp - 0x3c]
push esi
lea eax, [ebp - 0x24]
push eax
call fcn.10005437
mov ecx, eax
call fcn.1000203c
mov ecx, dword [ebx + 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x11]
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.100051ec
test eax, eax
jns 0x100049d7
jmp 0x10004ac5
mov edi, dword [ebp + 8]
jmp 0x10004ac5
cmp eax, 3
jne 0x10004ac5
mov edx, dword [ebx + 0x4c]
mov cl, byte [ebp - 0x11]
call fcn.10003c08
test al, al
cmovne edi, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.100040fa
mov eax, edi
call fcn.1000a668
ret 4
Function at 0x100058ac
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x10020a75
call fcn.1000a6ad
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x100059d4
cmp byte [edi + 0x3d], bl
je 0x100059d4
call fcn.10002f85
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
push esi
call dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
call fcn.10002f5a
pop ecx
pop ecx
test al, al
je 0x100058fd
xor al, al
jmp 0x100059d6
push ebx
push 8
lea ecx, [ebp - 0x38]
call fcn.100041e1
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.10005437
mov ecx, eax
call fcn.1000203c
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.10001fde
add esi, eax
lea ecx, [ebp - 0x38]
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.10005437
mov ecx, eax
call fcn.1000203c
mov ecx, dword [edi + 0x38]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.10003402
sub eax, ebx
je 0x10005961
sub eax, 1
je 0x10005964
dec eax
sub eax, 1
jne 0x100059c8
inc eax
jmp 0x100059c6
mov byte [edi + 0x3d], bl
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
call fcn.10005437
mov ecx, eax
call fcn.1000203c
mov esi, dword [ebp - 0x18]
sub esi, eax
je 0x100059a4
push dword [edi + 0x4c]
lea eax, [ebp - 0x40]
push esi
push 1
push eax
lea ecx, [ebp - 0x38]
call fcn.10005437
mov ecx, eax
call fcn.1000203c
push eax
call fcn.1001001d
add esp, 0x10
cmp esi, eax
jne 0x100059c4
cmp byte [edi + 0x3d], 0
je 0x100059c2
test esi, esi
jne 0x1000590b
push ebx
push 8
lea ecx, [ebp - 0x38]
call fcn.10005600
jmp 0x1000590b
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x38]
call fcn.100040fa
mov al, bl
jmp 0x100059d6
mov al, 1
call fcn.1000a668
ret

Function at 0x1001337a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100131f9
Function at 0x405f00
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x405f3e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x405f36
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x405f40
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x405f26
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x406020
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40604f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40604f
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408e84
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5e10289b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x1b093b7b
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10002436
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10004c90]
jne 0x10002440
repz ret
jmp fcn.100028c2