joyce8/EMBER2024-capa huggingface dataset:
Function at 0x65a120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.VHP1
lea edi, [esi - 0x83000]
lea eax, [edi + 0xcf740]
push dword [eax]
mov dword [eax], 0x68782a3b
push eax
push edi
jmp 0x65a14a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x65a151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65a140
mov eax, 1
add ebx, ebx
jne 0x65a163
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x65a174
jne 0x65a193
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65a193
dec eax
add ebx, ebx
jne 0x65a180
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x65a158
add ebx, ebx
jne 0x65a18f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x65a1e5
xor ecx, ecx
sub eax, 3
jb 0x65a1ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x65a21a
sar eax, 1
mov ebp, eax
jmp 0x65a1b6
add ebx, ebx
jne 0x65a1b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65a184
inc ecx
add ebx, ebx
jne 0x65a1c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x65a184
add ebx, ebx
jne 0x65a1d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x65a1c6
jne 0x65a1e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x65a1c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x65a204
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x65a1f6
jmp 0x65a146
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x65a204
add edi, ecx
jmp 0x65a146
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x40f2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x65a226
cmp byte [edi], 0x19
jne 0x65a226
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 0x65a22b
lea edi, [esi + 0x237000]
mov eax, dword [edi]
or eax, eax
je 0x65a2a3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x261fc0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x262164]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x65a258
mov ecx, edi
jns 0x65a287
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x26216c]
or eax, eax
je 0x65a29d
mov dword [ebx], eax
add ebx, 4
jmp 0x65a275
call dword [esi + 0x262168]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x65a2d4
cmp al, 0xef
ja 0x65a2c7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x65a2a9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x65a2b6
mov ebp, dword [esi + 0x262170]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x65a308
sub esp, 0xffffff80
jmp 0x420567
Function at 0x44ea30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..tls
lea edi, [esi - 0x1a000]
push edi
jmp 0x44ea4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44ea51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44ea40
mov eax, 1
add ebx, ebx
jne 0x44ea63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44ea74
jne 0x44ea93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44ea93
dec eax
add ebx, ebx
jne 0x44ea80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x44ea58
add ebx, ebx
jne 0x44ea8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x44eae5
xor ecx, ecx
sub eax, 3
jb 0x44eaab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44eb1a
sar eax, 1
mov ebp, eax
jmp 0x44eab6
add ebx, ebx
jne 0x44eab6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44ea84
inc ecx
add ebx, ebx
jne 0x44eac4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44ea84
add ebx, ebx
jne 0x44ead1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44eac6
jne 0x44eae2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44eac6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44eb04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44eaf6
jmp 0x44ea46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44eb04
add edi, ecx
jmp 0x44ea46
pop esi
mov edi, esi
mov ecx, 0x22
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44eb22
cmp byte [edi], 4
jne 0x44eb22
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 0x44eb27
lea edi, [esi + 0x4c000]
mov eax, dword [edi]
or eax, eax
je 0x44eb9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4e368]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4e3c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44eb54
mov ecx, edi
jns 0x44eb83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4e3c8]
or eax, eax
je 0x44eb99
mov dword [ebx], eax
add ebx, 4
jmp 0x44eb71
call dword [esi + 0x4e3c4]
mov ebp, dword [esi + 0x4e3cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x44ebd3
sub esp, 0xffffff80
jmp 0x4012d4
Function at 0x4031c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x40321b
cmp byte [esi + ebx - 1], 0xa
je 0x4031ef
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x409100], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x4042a0
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x54e546ee
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x484b6fde
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x409963
Capabilities:
Encode data using xor

Disassembly:
and ebp, dword [edi + edi*8 - 0x2b]
call fcn.0040983b
xor ecx, ecx
sub ecx, 0xffffff86
call 0x409963
rcr byte [esi - 0x7f], 0x76
push cs
jb 0x409921
xor esp, dword [edx - 0x1d03117d]
hlt

Function at 0x4738d2
Capabilities:
Encode data using xor

Disassembly:
push 0x4735cc
mov ebx, dword [esp]
add esp, 4
sub eax, 1
and esi, eax
mov eax, 0xbaef3ed7
call fcn.0047391a
sub eax, 1
mov esi, eax
sub eax, 0x905eb2df
xor dword [edx], ebx
and esi, esi
sub eax, 0xae1dd654
add edx, 2
inc esi
sub esi, eax
cmp edx, ecx
jl fcn.004738d2
push esi
pop eax
ret
Function at 0xa3b790
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0xa3b7cf
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop edi
pop esi
pop ebp
ret

Function at 0xa53d42
Capabilities:
Set environment variable

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

Function at 0xa5a3f5
Capabilities:
Read file on windows

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

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
mov ecx, 0x60d64113
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x129f71cb
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40343e
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea eax, [ebp - 0x110]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 8], ebx
call edi
test eax, eax
jne 0x4034ce
mov eax, dword [ebp + 8]
push dword [eax + 8]
inc dword [ebp - 8]
lea eax, [ebp - 0x110]
push eax
call fcn.00405072
test eax, eax
pop ecx
pop ecx
je 0x4034b4
test ebx, ebx
je 0x4034a5
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.00404f39
test eax, eax
pop ecx
pop ecx
jle 0x4034b4
push ebx
call fcn.0040423d
pop ecx
lea eax, [ebp - 0x110]
push eax
call fcn.0040421c
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 8]
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x40346c
xor edi, edi
cmp ebx, edi
jne 0x4034d2
xor eax, eax
jmp 0x403546
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
push ebx
je 0x4034f3
call fcn.0040423d
pop ecx
jmp 0x40351b
call fcn.0040423d
pop ecx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x110]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40352b
cmp dword [ebp - 4], edi
je 0x4034ce
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4034ce
cmp dword [ebp - 4], edi
je 0x403539
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x110]
push eax
call fcn.0040421c
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403f65
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push dword [ebp + 0x14]
mov esi, edi
call fcn.00403ab4
test al, al
pop ecx
jne 0x403f93
push 1
push str.Error:_could_not_find_Java_SE_Runtime_Environment.
call fcn.004032d1
pop ecx
pop ecx
push 2
jmp 0x404023
push edi
call fcn.00403c9b
push 0
push str.i386
push edi
call fcn.004028ab
add esp, 0x10
cmp eax, 1
jge 0x403fc0
push 1
push str.Error:_no_known_VMs.__check_for_corrupt_jvm.cfg_file_
call fcn.004032d1
pop ecx
pop ecx
push 1
jmp 0x404023
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004021b8
mov ebx, dword [ebp + 0x18]
mov esi, eax
push ebx
push edi
mov dword [ebp - 4], esi
mov byte [ebx], 0
call fcn.00402fe5
add esp, 0x14
test al, al
jne 0x404028
push esi
call fcn.00406f50
push ebx
mov esi, eax
call fcn.00406f50
mov edi, str.Error:_no___s_JVM_at___s.
push edi
add esi, eax
call fcn.00406f50
add esi, eax
push esi
call fcn.004041d5
push ebx
push dword [ebp - 4]
mov esi, eax
push edi
push esi
call fcn.004073cd
push 1
push esi
call fcn.004032d1
add esp, 0x28
push 4
call fcn.004075ac
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4043dc
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
push ebx
push esi
push edi
push 0x10
pop edi
call fcn.00404242
push 8
mov esi, eax
call fcn.004041d5
mov ebx, eax
pop ecx
lea eax, [ebp - 0x14c]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40442c
mov dword [ebx], eax
lea eax, [ebp - 0x120]
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
test edi, edi
je 0x404433
and dword [ebx + 4], 0
jmp 0x404450
xor eax, eax
jmp 0x40451f
lea eax, [ebp - 0x28c]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, eax
neg edi
sbb edi, edi
lea eax, [ebp - 0x260]
and edi, eax
test edi, edi
je 0x404505
push edi
call fcn.00406f50
cmp eax, 4
pop ecx
jl 0x40441f
add eax, edi
cmp byte [eax - 4], 0x2e
jne 0x40441f
add eax, 0xfffffffd
push 0x414e00
push eax
mov dword [ebp - 4], eax
call fcn.00407760
test eax, eax
pop ecx
pop ecx
je 0x404496
push 0x414dfc
push dword [ebp - 4]
call fcn.00407760
test eax, eax
pop ecx
pop ecx
jne 0x40441f
push 0x3b
push edi
call fcn.00407fd0
test eax, eax
pop ecx
pop ecx
jne 0x40441f
push dword [ebp + 8]
call fcn.00406f50
push edi
mov ebx, eax
call fcn.00406f50
mov dword [ebp - 4], eax
add eax, ebx
push eax
call fcn.004041d5
lea ecx, [ebx - 1]
push ecx
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push eax
call fcn.00407090
mov eax, dword [ebp - 4]
inc eax
push eax
push edi
mov edi, dword [ebp - 0xc]
lea eax, [edi + ebx - 1]
push eax
call fcn.00407090
mov edx, dword [esi + 4]
add esp, 0x24
inc edx
call fcn.00404298
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [ebp - 8]
mov dword [ecx + eax*4], edi
inc dword [esi + 4]
jmp 0x40441f
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebx + 4]
call fcn.0040423d
push ebx
call fcn.0040423d
pop ecx
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4074e9
Capabilities:
Terminate process

Disassembly:
push 8
push 0x4153c8
call fcn.0040ae10
push 8
call fcn.0040ac64
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x419ebc], esi
jne 0x40751d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x419eb8], esi
mov al, byte [ebp + 0x10]
mov byte [0x419eb4], al
cmp dword [ebp + 0xc], edi
jne 0x407567
cmp dword [0x41b76c], edi
je 0x407557
mov eax, dword [0x41b768]
sub eax, 4
mov dword [0x41b768], eax
cmp eax, dword [0x41b76c]
jb 0x407557
mov eax, dword [eax]
cmp eax, edi
je 0x407538
call eax
jmp 0x407538
push 0x418028
mov eax, 0x418020
call fcn.00407467
pop ecx
push 0x418030
mov eax, 0x41802c
call fcn.00407467
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x407598
cmp dword [ebp + 0x10], edi
jne 0x4075a6
mov dword [0x419ebc], esi
push dword [ebp + 8]
call fcn.00407425
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x4075a5
push 8
call fcn.0040abaf
pop ecx
ret
call fcn.0040ae4b
ret

Function at 0x4084ce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4084ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040819c
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x408511
test byte [esp + 8], 2
je 0x408511
call fcn.0040818a
mov dword [eax], 0xd
call fcn.00408193
mov dword [eax], 5
jmp 0x4084ea
xor eax, eax
ret

Function at 0x4085da
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x4085f7
call fcn.0040818a
mov dword [eax], 0x16
xor eax, eax
jmp 0x408661
push esi
push 0x8c
push 1
call fcn.00409323
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40864c
push esi
call fcn.0040bd67
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x40862a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x408545
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x408660
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.00408dbf
test ebx, ebx
pop ecx
je 0x40865e
push ebx
call fcn.0040819c
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40b4d7
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x419bb0]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x40b508
xor eax, eax
jmp 0x40b691
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x41a640]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x40b544
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.0040f2ed
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x40b61f
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x40b65d
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x40b5a8
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x40b599
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x40b579
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40b5e8
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x40b5f1
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x40b56a
jmp 0x40b5f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x40b68c
cmp dword [ebp - 0x6c], edi
je 0x40b65d
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x40b652
call fcn.0040818a
mov dword [eax], 9
call fcn.00408193
mov dword [eax], esi
jmp 0x40b687
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40b647
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x40b5f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x40b5f3
push dword [ebp - 0x6c]
call fcn.0040819c
pop ecx
jmp 0x40b687
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x40b675
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x40b675
xor eax, eax
jmp 0x40b68f
call fcn.0040818a
mov dword [eax], 0x1c
call fcn.00408193
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x40b68f
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.0040e863
add ebp, 0x3a0
leave
ret