joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403783
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x408120
call fcn.00404514
mov edi, 0x94
mov eax, edi
call fcn.00404560
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x465e7c], ecx
mov eax, dword [esi + 4]
mov dword [0x465e88], eax
mov edx, dword [esi + 8]
mov dword [0x465e8c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x465e80], esi
cmp ecx, 2
je 0x4037e3
or esi, 0x8000
mov dword [0x465e80], esi
shl eax, 8
add eax, edx
mov dword [0x465e84], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x40381e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40381e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x403836
cmp eax, 0x20b
je 0x403823
mov dword [ebp - 0x1c], esi
jmp 0x40384a
cmp dword [ecx + 0x84], 0xe
jbe 0x40381e
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x403844
cmp dword [ecx + 0x74], 0xe
jbe 0x40381e
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.004044c1
pop ecx
test eax, eax
jne 0x403876
cmp dword [0x465e6c], 1
jne 0x403863
call fcn.00403c6a
push 0x1c
call fcn.00403af3
push 0xff
call fcn.0040395c
pop ecx
pop ecx
call fcn.0040441f
mov dword [ebp - 4], esi
call fcn.00404274
test eax, eax
jge 0x40388f
push 0x1b
call fcn.0040375e
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4663b4], eax
call fcn.00404152
mov dword [0x465e64], eax
call fcn.004040b0
test eax, eax
jge 0x4038b5
push 8
call fcn.0040375e
pop ecx
call fcn.00403e7d
test eax, eax
jge 0x4038c6
push 9
call fcn.0040375e
pop ecx
call fcn.0040398c
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x4038d9
push eax
call fcn.0040375e
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00403e14
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x4038fa
movzx eax, word [ebp - 0x34]
jmp 0x4038fd
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.004030c7
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x40391b
push edi
call fcn.00403ab3
call fcn.00403ad5
jmp 0x40394d
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0040454f
ret
Function at 0x4039f1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x465ebc], esi
push edi
jne 0x403a11
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x465eb8], esi
mov byte [0x465eb4], al
jne 0x403a77
mov ecx, dword [0x4663a8]
test ecx, ecx
je 0x403a58
mov eax, dword [0x4663a4]
sub eax, 4
cmp eax, ecx
jmp 0x403a51
mov eax, dword [eax]
test eax, eax
je 0x403a43
call eax
mov eax, dword [0x4663a4]
sub eax, 4
cmp eax, dword [0x4663a8]
mov dword [0x4663a4], eax
jae 0x403a3b
mov eax, 0x40a01c
mov esi, 0x40a020
cmp eax, esi
mov edi, eax
jae 0x403a77
mov eax, dword [edi]
test eax, eax
je 0x403a70
call eax
add edi, 4
cmp edi, esi
jb 0x403a68
mov eax, 0x40a024
mov esi, 0x40a028
cmp eax, esi
mov edi, eax
jae 0x403a96
mov eax, dword [edi]
test eax, eax
je 0x403a8f
call eax
add edi, 4
cmp edi, esi
jb 0x403a87
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x403ab1
push dword [ebp + 8]
mov dword [0x465ebc], 1
call fcn.0040395c
pop ecx
pop ebp
ret

Function at 0x403af3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x465d20]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x465bf0]
je 0x403b20
inc eax
cmp eax, 0x12
jb 0x403b11
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x465bf0]
jne 0x403c54
mov eax, dword [0x465e6c]
cmp eax, 1
je 0x403c2f
cmp eax, edx
jne 0x403b50
cmp dword [0x465bec], 1
je 0x403c2f
cmp ecx, 0xfc
je 0x403c54
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x403b89
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.00404760
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.00404990
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x403bcb
lea eax, [ebp - 0x10c]
push eax
call fcn.00404990
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x408490
push edi
call fcn.00404860
add esp, 0x10
push edi
call fcn.00404990
push dword [esi + 0x465bf4]
mov ebx, eax
call fcn.00404990
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00404560
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00404760
push edi
push ebx
call fcn.00404770
push 0x408470
push ebx
call fcn.00404770
push dword [esi + 0x465bf4]
push ebx
call fcn.00404770
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00404659
add esp, 0x2c
jmp 0x403c54
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x465bf4]
push dword [esi]
call fcn.00404990
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]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.00404a4c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404659
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x465fd4], ebx
push esi
push edi
jne 0x4046d9
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x404714
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x465fd4], eax
je 0x404714
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x465fd8], eax
call esi
cmp dword [0x465e7c], 2
mov dword [0x465fdc], eax
jne 0x4046d9
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x465fe4], eax
je 0x4046d9
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x465fe0], eax
mov eax, dword [0x465fe0]
test eax, eax
je 0x40471e
call eax
test eax, eax
je 0x404705
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x465fe4]
test eax, eax
je 0x404705
test byte [ebp - 8], 1
jne 0x40471e
cmp dword [0x465e88], 4
jb 0x404718
or byte [ebp + 0x12], 0x20
jmp 0x40473d
xor eax, eax
jmp 0x40474d
or byte [ebp + 0x12], 4
jmp 0x40473d
mov eax, dword [0x465fd8]
test eax, eax
je 0x40473d
call eax
mov ebx, eax
test ebx, ebx
je 0x40473d
mov eax, dword [0x465fdc]
test eax, eax
je 0x40473d
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x465fd4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406e08
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.00404560
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x406e9d
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x465e7c]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x406e9d
cmp eax, 1
je 0x406eb5
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x406e9d
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x406e72
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x406e99
xor eax, eax
inc eax
jmp 0x406ed1
cmp esi, ebx
jae 0x406ea1
xor eax, eax
jmp 0x406ed1
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x465e7c]
jmp 0x406eb7
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4694c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x40000]
push edi
or ebp, 0xffffffff
jmp 0x4694e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4694e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4694d8
mov eax, 1
add ebx, ebx
jne 0x4694fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46950c
jne 0x46952b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46952b
dec eax
add ebx, ebx
jne 0x469518
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4694f0
add ebx, ebx
jne 0x469527
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x46957d
xor ecx, ecx
sub eax, 3
jb 0x469543
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4695b2
sar eax, 1
mov ebp, eax
jmp 0x46954e
add ebx, ebx
jne 0x46954e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46951c
inc ecx
add ebx, ebx
jne 0x46955c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46951c
add ebx, ebx
jne 0x469569
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46955e
jne 0x46957a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46955e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46959c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46958e
jmp 0x4694de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46959c
add edi, ecx
jmp 0x4694de
pop esi
mov edi, esi
mov ecx, 0x2202
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4695ba
cmp byte [edi], 0x11
jne 0x4695ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4695bf
lea edi, [esi + 0x65000]
mov eax, dword [edi]
or eax, eax
je 0x46962e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x691e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x69248]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4695ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6924c]
or eax, eax
je 0x469628
mov dword [ebx], eax
add ebx, 4
jmp 0x469609
call dword [esi + 0x6925c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x46965f
cmp al, 0xef
ja 0x469652
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x469634
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x469641
mov ebp, dword [esi + 0x69250]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x469693
sub esp, 0xffffff80
jmp 0x421954
Function at 0x10014284
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100142bb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10016f6d
jmp 0x100142ee
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x100142ee
push 0
push 0
push 0
push 0
push 0x1c23
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esp, ebp
pop ebp
ret
Function at 0x1001cb29
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001cb6c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1001cb6a
push 0
push 0
push 0
push 0
push 0x1c23
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x1001cbb7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001cb9a
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x1001cbb7
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.100171a9
mov dword [eax], 0xefa42b48
jmp 0x1001cb8f
mov esp, ebp
pop ebp
ret
Function at 0x10026548
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10026574
push 0
push 0
push 0
push 0
push 0x1c23
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x100265a0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100265a0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov esp, ebp
pop ebp
ret
Function at 0x1002d53a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp + 8]
push eax
call fcn.1002cf4b
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002d56a
xor eax, eax
jmp 0x1002d6e0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.1002d0e1
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002d592
xor eax, eax
jmp 0x1002d6e0
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.1002ca2e
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x1002d5b0
xor eax, eax
jmp 0x1002d6e0
push dword [ebp - 8]
push 0x1e53
push 0x31a0
push dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1dfa
call fcn.1002cda4
add esp, 0x24
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x1aee
push 0x52b
lea eax, [ebp + 8]
push eax
push 0x4544
call fcn.1002d135
add esp, 0x1c
lea eax, [ebp - 8]
push eax
push 0x189c
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4789
push 0xe83
call fcn.1002d6e4
add esp, 0x1c
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x2ad3
push 0x163d
push 0xe48
push 0x6651
push 0x3f64
push 0x75f1
push 0x639
call fcn.1002d1c7
add esp, 0x28
push dword [ebp - 4]
call fcn.1002c911
pop ecx
test eax, eax
jne 0x1002d66b
xor eax, eax
jmp 0x1002d6e0
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002d479
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002d6c8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x1002d697
xor eax, eax
jmp 0x1002d6e0
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002d6b0
xor eax, eax
jmp 0x1002d6e0
push 1
push 0xf52
lea eax, [ebp - 4]
push eax
push 0x62dc
call fcn.1002d4c3
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002d6d9
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x1002d6dd
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x1004501c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004503e
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and dword [eax], 0
jmp 0x10045067
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10045067
push 0
push 0
push 0
push 0
push 0x1c23
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esp, ebp
pop ebp
ret
Function at 0x10051a40
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 5]
and ecx, 0xf
movzx edx, byte [0x1065e20e]
or ecx, edx
mov byte [ebp - 1], cl
movzx ax, byte [ebp - 1]
movzx ecx, ax
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 4]
push ecx
push 0x1065e280
call fcn.1004fe50
add esp, 8
mov esp, ebp
pop ebp
ret 4

Function at 0x10053cf0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10072340]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov word [ebp - 0x1e], cx
cmp dword [ebp + 8], 0xffffffff
jne 0x10053d14
jmp 0x10053d83
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x10053d28
jmp 0x10053d83
movsx ecx, word [ebp - 0x1c]
movsx edx, word [ebp - 0x1a]
imul ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
test eax, eax
jne 0x10053d54
jmp 0x10053d83
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
jne 0x10053d75
jmp 0x10053d83
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call main
mov esp, ebp
pop ebp
ret
Function at 0x10069ea0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10072340]
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.1005ad68
mov dword [ebp - 0x14], eax
cmp dword [0x1065f31c], esi
jne 0x10069f93
push 0x800
push esi
push 0x1000778c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10069f20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1006a073
push esi
push esi
push 0x1000778c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1006a073
push 0x100077a4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1006a073
push eax
call ebx
push 0x100077b0
push edi
mov dword [0x1065f31c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100077c0
push edi
mov dword [0x1065f320], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100077d4
push edi
mov dword [0x1065f324], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065f32c], eax
test eax, eax
je 0x10069f90
push 0x100077f0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065f328], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10069fb8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10069fab
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10069fcd
push 4
pop eax
jmp 0x1006a075
cmp dword [ebp - 0x14], esi
je 0x10069fcd
push dword [0x1065f31c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10069fb2
mov eax, dword [0x1065f328]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1006a02b
cmp dword [0x1065f32c], edi
je 0x1006a02b
push eax
call ebx
push dword [0x1065f32c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1006a02b
test eax, eax
je 0x1006a02b
call ecx
test eax, eax
je 0x1006a020
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 0x1006a020
test byte [ebp - 8], 1
jne 0x1006a02b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1006a05b
mov eax, dword [0x1065f320]
cmp eax, edi
je 0x1006a058
push eax
call ebx
test eax, eax
je 0x1006a058
call eax
mov esi, eax
test esi, esi
je 0x1006a058
mov eax, dword [0x1065f324]
cmp eax, edi
je 0x1006a058
push eax
call ebx
test eax, eax
je 0x1006a058
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1065f31c]
call ebx
test eax, eax
je 0x1006a073
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006a075
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
mov eax, section..pdata
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x14c5061f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..pdata_1
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x53c814f0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219