joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00405630
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00405630
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00405630
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00405630
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00405630
mov dword [0x41203c], eax
call fcn.00405630
test eax, eax
jge 0x402550
push 8
call fcn.00405630
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00405630
pop ecx
push 1
call fcn.00405630
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00405630
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00405630
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00405630
jmp 0x402495

Function at 0x405630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40563f
pop dword [ebp - 0x38]
mov eax, 0x603ff094
sub eax, 0x5fff9a55
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x361b2
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x3b99
mov esi, eax
mov edx, 0x82cdae49
sub edx, 0x828c7285
add edx, dword [ebp - 0x38]
mov ebx, 0x77486d8c
xor dword [ebp - 0x30], ecx
mov edi, dword [edx]
sub dword [ebp - 4], eax
xor edi, ebx
sub dword [ebp - 8], 0xabf71c7b
mov dword [esi], edi
xor dword [ebp - 0x34], edx
add esi, 4
add edx, 0x1be5c2bd
sub edx, 0x1be5c2b9
loop 0x40568d
add eax, 0xd995b08
add eax, 0xf267862f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x695848f9
sub ecx, 0x691848f9
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x40362c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x42f180]
xor eax, ebp
mov dword [ebp - 4], eax
push 1
push 0
push 0x425524
push 0x431320
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x40368b
push eax
lea eax, [ebp - 0x84]
push str.Failed_to_start_elevated_process__ShellExecute_returned__d_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
push 0x425f40
lea eax, [ebp - 0x84]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407875
leave
ret

Function at 0x4036c6
Capabilities:
Create process on windows
Resume thread
Self delete

Disassembly:
push ebp
lea ebp, [esp - 0x1e0]
sub esp, 0x260
mov eax, dword [0x42f180]
xor eax, ebp
mov dword [ebp + 0x1dc], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp + 0xd8]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0xd8]
push eax
lea eax, [ebp - 0x2c]
push str._s.bat
push eax
call fcn.0040a3f9
lea eax, [ebp - 0x2c]
push 0x425fc0
push eax
call fcn.0040a38f
mov ebx, eax
push str.:Repeat_n
push ebx
call fcn.00408778
lea eax, [ebp + 0xd8]
push eax
mov esi, str.del___s__n
push esi
push ebx
call fcn.00408778
lea eax, [ebp + 0xd8]
push eax
push str.if_exist___s__goto_Repeat_n
push ebx
call fcn.00408778
lea eax, [ebp - 0x2c]
push eax
push esi
push ebx
call fcn.00408778
add esp, 0x40
push ebx
call fcn.00408fa6
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.004076c0
add esp, 0x10
xor eax, eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0x4253ac
push edi
push esi
push edi
push edi
push edi
lea eax, [ebp - 0x2c]
push eax
push edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x54], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4037e7
mov esi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xfffffffffffffff1
push dword [ebp - 0x38]
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x38]
call esi
mov ecx, dword [ebp + 0x1dc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407875
add ebp, 0x1e0
leave
ret

Function at 0x403989
Capabilities:
Delete file

Disassembly:
push esi
push 0x3a
push dword [esp + 0xc]
call fcn.00407290
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x40399f
pop esi
ret
inc esi
movsx eax, byte [esi]
push eax
call fcn.0040a885
pop ecx
test eax, eax
jne 0x40399f
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
Function at 0x407875
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f180]
jne 0x40787f
repz ret
jmp fcn.0040bbd7

Function at 0x41bcd1
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]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x41bd0c
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x41bcf3
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x41bd04
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x41bd0e
inc edi
add eax, 0x28
cmp edi, esi
jb 0x41bce9
xor eax, eax
pop edi
pop esi
ret
Function at 0x42450e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x42453f
call fcn.0040caca
mov dword [eax], esi
call fcn.0040cab7
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0040be53
add esp, 0x14
push 0x16
pop eax
jmp 0x424594
test dword [ebp + 0xc], 0xfffffff9
jne 0x42451b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42456c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040cadd
pop ecx
call fcn.0040cab7
mov eax, dword [eax]
jmp 0x424594
test al, 0x10
jne 0x424592
test al, 1
je 0x424592
test byte [ebp + 0xc], 2
je 0x424592
call fcn.0040caca
mov dword [eax], 5
call fcn.0040cab7
mov dword [eax], 0xd
jmp 0x424563
xor eax, eax
pop esi
pop ebp
ret
Function at 0x412300
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov dword [ebp - 0x70], eax
mov eax, dword [edx]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x60], 0x40
test eax, eax
je 0x412450
xor edi, edi
xor ebx, ebx
lea esi, [ebp - 0x58]
lea eax, [ebp - 0x60]
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.advapi32.dll_RegEnumKeyExA
sub esp, 0x20
or eax, edi
mov edx, eax
jne 0x412412
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x6c], edx
mov edi, dword [eax]
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll_strlen]
mov dword [esp + 4], edi
movzx ecx, byte [ebp + eax - 0x58]
mov dword [esp], esi
mov byte [ebp + eax - 0x58], 0
mov byte [ebp - 0x75], cl
call dword [sym.imp.kernel32.dll_lstrcmpiA]
mov edx, dword [ebp - 0x6c]
sub esp, 8
test eax, eax
je 0x4123c0
mov dword [ebp - 0x60], 0x40
add ebx, 1
mov edi, edx
jmp 0x41232a
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_strlen]
movzx edx, byte [ebp - 0x75]
mov dword [esp + 4], esi
mov dword [esp + 0xc], 9
mov byte [ebp + eax - 0x58], dl
lea eax, [ebp - 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 8], 0
mov dword [esp], eax
call sub.advapi32.dll_RegOpenKeyExA
mov ecx, dword [ebp - 0x6c]
sub esp, 0x14
test eax, eax
je 0x412420
mov edx, ecx
jmp 0x4123a6
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x74]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x5c]
call fcn.00412300
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call sub.advapi32.dll_RegCloseKey
mov ecx, dword [ebp - 0x6c]
sub esp, 4
mov edx, ecx
jmp 0x4123a6
lea eax, [ebp - 0x60]
lea esi, [ebp - 0x58]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x10], esi
mov dword [esp + 8], 0
mov dword [esp + 4], str.Identifier
mov dword [esp], eax
call sub.advapi32.dll_RegQueryValueExA
sub esp, 0x18
mov edi, eax
test eax, eax
jne 0x412410
mov ebx, esi
mov dword [ebp - 0x6c], esi
jmp 0x4124c7
test edi, edi
jne 0x412412
movzx esi, byte [ebx + 6]
mov byte [ebx + 6], 0
mov dword [esp], ebx
mov dword [esp + 4], str.VMware
call dword [sym.imp.kernel32.dll_lstrcmpiA]
sub esp, 8
test eax, eax
sete al
add ebx, 1
movzx eax, al
mov edi, eax
mov eax, esi
mov byte [ebx + 5], al
mov edx, dword [ebp - 0x6c]
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x4124ca
mov ecx, eax
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
mov ecx, eax
add cl, al
sbb edx, 3
lea eax, [edx - 6]
cmp ebx, eax
jb 0x412491
jmp 0x412412
Function at 0x420120
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x11c]
push ebx
mov esi, dword fs:[0x18]
sub esp, 0x14c
mov dword [ebp - 0x12c], eax
mov dword [esp + 4], edi
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x319
mov dword [esp], str..._wine_dlls_winmm_tests_mmio.c
call fcn.0042ce90
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.Failed_to_get_a_temp_path__err__d_n
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0042d100
test ebx, ebx
jne 0x420190
xor edx, edx
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x12c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4394c3
mov dword [esp + 0xc], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x31e
mov dword [esp], str..._wine_dlls_winmm_tests_mmio.c
call fcn.0042ce90
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.Failed_to_get_a_temp_name__err__d_n
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0042d100
test ebx, ebx
je 0x420184
mov eax, dword [ebp - 0x12c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
mov ebx, eax
mov dword [esp + 4], 0x324
mov dword [esp], str..._wine_dlls_winmm_tests_mmio.c
call fcn.0042ce90
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.Failed_to_create_a_file__err__d_n
mov dword [esp + 8], eax
xor eax, eax
cmp ebx, 0xffffffff
setne al
mov dword [esp], eax
call fcn.0042d100
xor edx, edx
cmp ebx, 0xffffffff
je 0x420186
lea eax, [ebp - 0x120]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x208
mov dword [esp + 4], str.RIFF
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov dword [ebp - 0x130], eax
mov dword [esp + 4], 0x328
mov dword [esp], str..._wine_dlls_winmm_tests_mmio.c
call fcn.0042ce90
mov eax, dword [esi + 0x34]
mov edx, dword [ebp - 0x130]
mov dword [esp + 4], str.Failed_to_write_a_file__err__d_n
mov dword [esp], edx
mov dword [esp + 8], eax
call fcn.0042d100
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, dword [ebp - 0x130]
sub esp, 4
test edx, edx
jne 0x420186
mov eax, dword [ebp - 0x12c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov edx, dword [ebp - 0x130]
sub esp, 4
jmp 0x420186
Function at 0x420d80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x11c]
push ebx
sub esp, 0x1fc
call fcn.00420120
test eax, eax
jne 0x420da3
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [ebp - 0x1e4]
xor eax, eax
mov ecx, 0x12
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x19c]
mov dword [esp + 8], 0
mov dword [ebp - 0x1cc], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x1e0], 0x20534f44
mov dword [ebp - 0x1d0], pe_nt_image_headers32
call sub.winmm.dll_mmioOpenA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x3b5
mov dword [esp], str..._wine_dlls_winmm_tests_mmio.c
call fcn.0042ce90
mov eax, dword [ebp - 0x1d8]
mov dword [esp + 4], str.mmioOpenA_error__u_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.0042d100
test ebx, ebx
je 0x420fb9
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.winmm.dll_mmioSeek
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x3bc
mov dword [esp], str..._wine_dlls_winmm_tests_mmio.c
call fcn.0042ce90
xor eax, eax
cmp edi, 0x208
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.got__d_n
mov dword [esp], eax
call fcn.0042d100
lea eax, [ebp - 0x1f4]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.winmm.dll_mmioRead
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x3bf
mov dword [esp], str..._wine_dlls_winmm_tests_mmio.c
call fcn.0042ce90
xor eax, eax
test edi, edi
mov dword [esp + 0xc], edi
sete al
mov dword [esp + 8], 0
mov dword [esp + 4], str.expected__d__got__d_n
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], esi
mov dword [esp + 8], 0
mov dword [esp], ebx
call sub.winmm.dll_mmioGetInfo
sub esp, 0xc
mov edi, eax
mov dword [esp + 4], 0x3c2
mov dword [esp], str..._wine_dlls_winmm_tests_mmio.c
call fcn.0042ce90
xor eax, eax
test edi, edi
mov dword [esp + 8], edi
sete al
mov dword [esp + 4], str.expected_0__got__d_n
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], esi
mov dword [esp + 8], 0
mov dword [esp], ebx
call sub.winmm.dll_mmioAdvance
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x3c5
mov dword [esp], str..._wine_dlls_winmm_tests_mmio.c
call fcn.0042ce90
xor eax, eax
test esi, esi
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], str.expected_0__got__d_n
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0x3c6
mov dword [esp], str..._wine_dlls_winmm_tests_mmio.c
call fcn.0042ce90
mov edx, dword [ebp - 0x1c8]
mov eax, dword [ebp - 0x1c4]
mov dword [esp + 4], str.expected__p__got__p_n
cmp edx, eax
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], edx
movzx eax, al
mov dword [esp], eax
call fcn.0042d100
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.winmm.dll_mmioClose
sub esp, 8
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x424270
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
push ebx
mov ebx, eax
sub esp, 0x3c
mov esi, dword [eax + 4]
mov dword [ebp - 0x2c], edi
fnstcw word [ebp - 0x22]
mov dword [ebp - 0x30], esi
fild qword [ebp - 0x30]
movzx eax, word [ebp - 0x22]
fmul qword [ebp + 8]
or ah, 0xc
mov word [ebp - 0x24], ax
movzx eax, word [ebx + 0xc]
fldcw word [ebp - 0x24]
fistp dword [ebp - 0x28]
fldcw word [ebp - 0x22]
mov edi, dword [ebp - 0x28]
imul eax, edi
mov dword [ebp - 0x30], edi
mov dword [edx], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [ebp - 0x38], eax
test edi, edi
jle 0x4243b9
xor esi, esi
jmp 0x4242fc
add esi, 1
cmp dword [ebp - 0x30], esi
je 0x4243b9
movzx edx, word [ebx + 0xe]
cmp dx, 8
je 0x4243c4
cmp dx, 0x10
je 0x424400
cmp dx, 0x18
je 0x424430
cmp dx, 0x20
jne 0x4242f0
movzx edx, word [ebx]
cmp dx, 1
je 0x424490
cmp dx, 0xfffe
jne 0x4242f0
lea edx, [ebx + 0x18]
mov edi, dword [0x43bbf0]
cmp dword [ebx + 0x18], edi
je 0x424460
mov edi, dword [0x43bbe0]
cmp dword [ebx + 0x18], edi
jne 0x4242f0
mov edi, dword [0x43bbe4]
cmp dword [edx + 4], edi
jne 0x4242f0
mov edi, dword [0x43bbe8]
cmp dword [edx + 8], edi
jne 0x4242f0
mov edi, dword [0x43bbec]
cmp dword [edx + 0xc], edi
jne 0x4242f0
xor edx, edx
cmp word [ebx + 2], 0
je 0x4242f0
lea esi, [esi]
lea esi, [esi]
mov byte [eax], 0
add edx, 1
add eax, 4
mov byte [eax - 3], 0
mov byte [eax - 2], 0
mov byte [eax - 1], 0
movzx ecx, word [ebx + 2]
cmp ecx, edx
jg 0x424390
add esi, 1
cmp dword [ebp - 0x30], esi
jne 0x4242fc
mov eax, dword [ebp - 0x38]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp word [ebx + 2], 0
je 0x4242f0
mov dword [ebp - 0x34], esi
lea edx, [eax + 1]
not eax
lea esi, [esi]
nop
mov byte [edx - 1], pe_nt_image_headers32
mov edi, edx
movzx esi, word [ebx + 2]
add edx, 1
lea ecx, [eax + edx]
cmp esi, ecx
jg 0x4243e0
mov eax, edi
mov esi, dword [ebp - 0x34]
jmp 0x4242f0
cmp word [ebx + 2], 0
je 0x4242f0
xor edx, edx
lea esi, [esi]
mov byte [eax], 0
add edx, 1
add eax, 2
mov byte [eax - 1], 0
movzx ecx, word [ebx + 2]
cmp ecx, edx
jg 0x424410
jmp 0x4242f0
cmp word [ebx + 2], 0
je 0x4242f0
xor edx, edx
lea esi, [esi]
mov byte [eax], 0
add edx, 1
add eax, 3
mov byte [eax - 2], 0
mov byte [eax - 1], 0
movzx ecx, word [ebx + 2]
cmp ecx, edx
jg 0x424440
jmp 0x4242f0
mov edi, dword [0x43bbf4]
cmp dword [edx + 4], edi
jne 0x424349
mov edi, dword [0x43bbf8]
cmp dword [edx + 8], edi
jne 0x424349
mov edi, dword [0x43bbfc]
cmp dword [edx + 0xc], edi
jne 0x424349
lea esi, [esi]
xor edx, edx
cmp word [ebx + 2], 0
je 0x4242f0
lea esi, [esi]
mov byte [eax], 0
add edx, 1
add eax, 4
mov byte [eax - 3], 0
mov byte [eax - 2], 0
mov byte [eax - 1], 0
movzx ecx, word [ebx + 2]
cmp ecx, edx
jg 0x4244a0
jmp 0x4242f0
Function at 0x42cc10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp], 1
call dword [0x42f2ec]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_fflush]
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x42d8f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x30
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0x2c], 0
call sub.msvcrt.dll___getmainargs
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
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0042e2b0
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
and esp, 0xfffffff0
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
leave
shl edx, 5
add eax, edx
ret
Function at 0x40cbbd
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4bd1c7
call fcn.004bcdc8
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0xd7f825e7
push 2
lea ecx, [ebp - 0x40]
call fcn.00414d37
mov dword [ebp - 0x34], 0xfffffffc
mov dword [ebp - 0x2c], 0xcedb
mov dword [ebp - 0x30], 0x2a6f9a4d
xor esi, esi
mov dword [ebp - 0x14], esi
jmp 0x40cc0d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x40]
mov dword [eax + ecx*4], 0x59141a9c
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x40cbfd
mov dword [ebp - 0x24], 0x3407
cmp dword [ebp - 0x24], 0x350b
jle 0x40cc8c
push esi
push 0x26fc
push esi
call dword [0xad1074]
mov edi, esi
mov dword [ebp - 0x1c], esi
mov ebx, esi
mov eax, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x28], esi
lea ecx, [eax + ebx]
mov esi, edi
shl esi, cl
mov edi, dword [ebp - 0x28]
mov eax, esi
xor eax, edi
cdq
push edx
push eax
mov ecx, 0xace718
call fcn.00414b0c
inc edi
cmp edi, 0x4747
jl 0x40cc49
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x7a72
push 0
pop esi
mov edi, dword [ebp - 0x1c]
jl 0x40cc3c
inc ebx
cmp ebx, 0x6e1d
jl 0x40cc37
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x74a1
jl 0x40cc35
mov dword [ebp - 0x18], esi
jmp 0x40ccab
mov dword [ebp - 0x20], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], 8
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xffffffe8
je 0x40cc91
mov dword [ebp - 4], esi
cmp dword [ebp - 0x24], 0x31c8
jge 0x40cccc
mov edx, 0xab3a68
mov ecx, 0xace718
call fcn.00417008
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00414e09
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005b9b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10005baa
pop dword [ebp - 0x48]
mov eax, 0xaeb78430
sub eax, 0x9eb72886
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x950645f8
sub dword [ebp - 0x58], 0x46b400ad
mov dword [ebp - 0x54], 0x1a042cd3
add dword [ebp - 0x54], 0x182f1f72
mov dword [ebp - 0x50], 0x9c467
add dword [ebp - 0x50], 0x4c427fc7
mov dword [ebp - 0x4c], 0xc549fee1
sub dword [ebp - 0x4c], 0xc549fee1
lea eax, [ebp - 0x58]
push eax
mov eax, 0x5abeae8f
sub eax, 0x4abdee6b
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x5a7ba367
sub dword [ebp - 0x58], 0xe6093a11
mov dword [ebp - 0x54], 0x48a7918d
add dword [ebp - 0x54], 0xf8c4cfe8
mov dword [ebp - 0x50], 0x668b10e2
add dword [ebp - 0x50], 0xfce45b8a
mov dword [ebp - 0x4c], 0x3e2f7eef
add dword [ebp - 0x4c], 0xc1d08111
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3b3cf
push 0
call eax
mov ecx, 0x54ec
xor ebx, ebx
add ebx, eax
mov esi, 0x355830c2
add esi, 0xdaac433e
add esi, dword [ebp - 0x48]
mov edx, 0xb89d4b91
sub edx, 0xfebaeabe
mov edi, dword [esi]
xor dword [ebp - 0x10], 0x3b10bac5
xor edi, edx
sub dword [ebp - 0x3c], ecx
mov dword [ebx], edi
sub dword [ebp - 0xc], 0xb228f681
add ebx, 4
add esi, 0x37b174f1
add esi, 0xc84e8b13
loop 0x10005cc3
add eax, 0x96523bbf
add eax, 0x69af0ac4
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x6f9425ad
add ecx, 0xa06bda53
add ecx, dword [ebp - 0x48]
call ebx
leave
ret