joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c1f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x100c1fcb
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x100c200c
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x100c1ff1
mov ecx, ebx
call fcn.100c1c50
add ebx, 0x28
dec ebp
jne 0x100c1fe5
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x100c2007
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.100c1b20
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.100c20b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
lea ecx, [ebp + 0x20]
call fcn.100c86b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
lea ecx, [ebp + 0x1c]
call fcn.100c86b0
mov ebx, eax
cmp ebx, edi
jne 0x100c206f
push ebp
call fcn.1001b3ed
mov ebx, eax
cmp ebx, edi
je 0x100c2084
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.100c20e0
cmp ebx, edi
jle 0x100c207f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x100c2084
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x100c2096
cmp dword [esi + 0x40], edi
jne 0x100c2096
cmp dword [esi + 0x3c], edi
jne 0x100c2096
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x41800b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4233dc]
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.0040e315
and dword [ebp - 0x14], 0
cmp dword [0x447594], 0
mov dword [ebp - 0x18], eax
jne 0x4180be
push 0x403fc0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x418166
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fb4
push ebx
call edi
test eax, eax
je 0x418166
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fa4
push ebx
mov dword [0x447594], eax
call edi
push eax
call esi
push 0x403f90
push ebx
mov dword [0x447598], eax
call edi
push eax
call esi
push 0x403f74
push ebx
mov dword [0x44759c], eax
call edi
push eax
call esi
mov dword [0x4475a4], eax
test eax, eax
je 0x4180be
push 0x403f5c
push ebx
call edi
push eax
call esi
mov dword [0x4475a0], eax
mov eax, dword [0x4475a0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x418117
cmp dword [0x4475a4], ecx
je 0x418117
push eax
call esi
push dword [0x4475a4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x418117
test ebx, ebx
je 0x418117
call edi
test eax, eax
je 0x41810e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41810e
test byte [ebp - 8], 1
jne 0x418117
or dword [ebp + 0x10], 0x200000
jmp 0x41814a
mov eax, dword [0x447598]
cmp eax, dword [ebp - 0x18]
je 0x41814a
push eax
call esi
test eax, eax
je 0x41814a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41814a
mov eax, dword [0x44759c]
cmp eax, dword [ebp - 0x18]
je 0x41814a
push eax
call esi
test eax, eax
je 0x41814a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x447594]
call esi
test eax, eax
je 0x418166
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x418168
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b4de
leave
ret
Function at 0x401a10
Capabilities:
Check mutex on windows
Create thread
Get common file path
Get disk information
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x304
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x174]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x401a86
mov ecx, 1
imul ecx, ecx, 3
mov byte [ebp + ecx - 0x174], 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x14]
push edx
push 0
push 0
lea eax, [ebp - 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x401a79
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
jmp 0x401a80
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.004011e0
add esp, 8
mov edx, 0x2d8
mov word [0x40400c], dx
push 0x4033e0
push 0x404028
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.kilo_torrent.org
push 0x404068
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x304]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x404008], 1
lea ecx, [ebp - 0x30]
push ecx
push str.Global_s
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401b68
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401b29
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x401b68
push 0
push 0
push 0
push 0x401540
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x401b5e
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x401b6b
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret

Function at 0x401b70
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jge 0x401bb5
push 0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x401baa
jmp 0x401bb5
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
jmp 0x401b7d
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4172b3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4172f2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4172f2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4172f2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4172f2
cmp dword [ecx + 0x74], 0xe
jbe 0x4172f2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x429590
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x376f7ea4
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x7dc35b2d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x656b15c4
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x10a342a3
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

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

Disassembly:
pushal
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x100032c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x10012058], 0xc0a
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x10012054]
sub eax, 0x52
mov dword [0x10012054], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x10], eax
mov dword [0x10012058], 0x25f3
mov dword [ebp - 0xc], 0
jmp 0x10003375
mov dword [0x10012054], 0xda9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
jne 0x10003447
mov eax, dword [0x10012054]
sub eax, 0xaff
mov dword [0x10012054], eax
mov dword [ebp - 4], 1
jmp 0x10003466
jmp 0x1000344c
mov dword [0x10012058], 0x2511
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
cmp eax, 0
je 0x10003373
jmp 0x10003380
jmp 0x10003455
jmp 0x10003397
cmp dword [ebp - 0xc], 0x104
jl 0x10003351
jmp 0x10003397
mov dword [0x10012054], 0x1a4
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x10003375
mov dword [0x10012058], 0x995
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
jne 0x10003455
mov eax, dword [0x10012054]
sub eax, 0x1cd6
mov dword [0x10012058], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
jne 0x1000336e
mov dword [0x10012058], 0xffe
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
jne 0x10003450
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x1000344e
mov dword [0x10012054], 0x8e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
jne 0x1000344c
mov dword [0x10012058], 0x20f1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
je 0x10003311
jmp 0x1000334c
jmp 0x1000334c
jmp 0x1000344e
jmp 0x10003450
jmp 0x1000336e
mov dword [0x10012054], 0x1e0c
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x10
pop ebp
ret

Function at 0x100036a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.100036a0]
mov dword [ebp - 8], eax
mov dword [0x10012054], 0x2550
jmp 0x100036d7
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov dword [0x10012058], 0xd8e
jmp 0x10003700
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100036bb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x100036fe
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x1000370f
jmp 0x100036bb
mov al, 1
test al, 1
jne 0x100036d7
jmp 0x10003708
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 8
pop ebp
ret
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401370
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x84b580]
sub esp, 0x4b4
push ebx
push esi
push edi
cmp eax, 0x5b1
jne 0x401406
lea eax, [ebp - 4]
push eax
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 5]
push edx
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push str.duma
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
push 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0
call fcn.00401e1a
push 0
push 0
call fcn.00401adc
add esp, 0xc
push 0
call fcn.004020d0
add eax, 0x1134b
push eax
push 0
mov dword [0x84b580], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0x84b580]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push edx
push eax
mov dword [0x84a4d4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x2710
jge 0x401453
lea eax, [ebp - 0x4b0]
push eax
push 0
call edi
inc esi
cmp esi, 0x1ff49ccc
jl 0x401440
xor esi, esi
cmp dword [0x84b580], esi
jbe 0x4014ad
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea esp, [esp]
mov ecx, dword [0x84b584]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0x84a4d4]
mov byte [eax + esi], dl
cmp dword [0x84b580], 0xa8
jne 0x4014a4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [ebp - 0xb0]
push ecx
call edi
inc esi
cmp esi, dword [0x84b580]
jb 0x401470
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [0x84b580]
add edx, eax
cmp edx, 0xe
jne 0x401516
push 0
push 0
push str.axugu
call esi
push str.vovufizifibonetebow_sef_cewuzigo
call edi
push 0
call ebx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov eax, dword [ebp - 4]
inc eax
cmp eax, 0x39621
mov dword [ebp - 4], eax
jl 0x4014c4
call fcn.00401250
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov edi, edi
call edi
cmp esi, 0x26
jne 0x40153c
call fcn.00401350
inc esi
cmp esi, 0x6753f
jl 0x401530
mov esi, dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
mov edi, 0x7b
cmp dword [0x84b580], 0x86
jne 0x40156c
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub edi, 1
jne 0x401550
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402790
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b0d8]
jne 0x40279a
repz ret
jmp fcn.00407b0e

Function at 0x407737
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403219
and dword [ebp - 4], 0
cmp dword [0x42cf4c], 0
mov ebx, eax
jne 0x4077e8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407899
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407899
push eax
call fcn.004031a7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42cf4c], eax
call esi
push eax
call fcn.004031a7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42cf50], eax
call esi
push eax
call fcn.004031a7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42cf54], eax
call esi
push eax
call fcn.004031a7
pop ecx
mov dword [0x42cf5c], eax
test eax, eax
je 0x4077e8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004031a7
pop ecx
mov dword [0x42cf58], eax
mov eax, dword [0x42cf58]
cmp eax, ebx
je 0x407840
cmp dword [0x42cf5c], ebx
je 0x407840
push eax
call fcn.00403222
push dword [0x42cf5c]
mov esi, eax
call fcn.00403222
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407840
test edi, edi
je 0x407840
call esi
test eax, eax
je 0x407837
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407837
test byte [ebp - 0xc], 1
jne 0x407840
or dword [ebp + 0x10], 0x200000
jmp 0x407879
mov eax, dword [0x42cf50]
cmp eax, ebx
je 0x407879
push eax
call fcn.00403222
pop ecx
test eax, eax
je 0x407879
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407879
mov eax, dword [0x42cf54]
cmp eax, ebx
je 0x407879
push eax
call fcn.00403222
pop ecx
test eax, eax
je 0x407879
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42cf4c]
call fcn.00403222
pop ecx
test eax, eax
je 0x407899
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40789b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408936
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
call main
mov esi, eax
add esi, 0x51c5c647
xor dword [ecx], ebx
inc ecx
sub eax, esi
cmp ecx, edx
jne fcn.00408936
sub esp, 4
mov dword [esp], 0x6980e67d
mov esi, dword [esp]
add esp, 4
push 0xa933daa9
pop esi
ret
Function at 0x411b2d
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041186a

Function at 0x42a402
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042a189

Function at 0x42c696
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042be70

Function at 0x42c6a1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042c0ab

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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3611435f
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x444433e9
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10001410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
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 0x10001468
cmp byte [esi + ebx - 1], 0xa
je 0x1000143c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x10007084], 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]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret