joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401600
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x843904], 0x400
push esi
push edi
jne 0x401645
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 4]
push edx
mov word [ebp - 4], ax
mov word [ebp - 2], cx
mov eax, dword [ebp - 4]
push eax
push ecx
push str.kayed
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
lea eax, [ebp - 0x24]
call fcn.00401710
lea esi, [ebp - 0x24]
call fcn.00401730
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, dword [ebp - 4]
xor esi, esi
call edi
cmp esi, 0x2af2a3
jle 0x401663
cmp ebx, 0x78abdb45
jne 0x40166c
inc esi
cmp esi, 0x1c5d
jl 0x401651
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea ebx, [ebx]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x40169d
inc esi
cmp esi, 0x4f6a4
jl 0x401680
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x4016bc
cmp ebx, 0x785074d5
jne 0x4016c5
inc esi
cmp esi, 0x11915
jl 0x4016a8
mov ecx, dword [0x42530c]
mov dword [0x843904], ecx
call fcn.00401370
mov esi, dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov edi, 0x3078f
pop ebx
cmp dword [0x843904], 0x51f
jne 0x4016f4
push 0
push 0
call esi
sub edi, 1
jne 0x4016e2
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40609c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424b80]
jne 0x4060a6
repz ret
jmp fcn.004080a8
Function at 0x406cf7
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.00402cbf
and dword [ebp - 4], 0
cmp dword [0x425cfc], 0
mov ebx, eax
jne 0x406da8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406e59
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406e59
push eax
call fcn.00402c4d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x425cfc], eax
call esi
push eax
call fcn.00402c4d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x425d00], eax
call esi
push eax
call fcn.00402c4d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x425d04], eax
call esi
push eax
call fcn.00402c4d
pop ecx
mov dword [0x425d0c], eax
test eax, eax
je 0x406da8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402c4d
pop ecx
mov dword [0x425d08], eax
mov eax, dword [0x425d08]
cmp eax, ebx
je 0x406e00
cmp dword [0x425d0c], ebx
je 0x406e00
push eax
call fcn.00402cc8
push dword [0x425d0c]
mov esi, eax
call fcn.00402cc8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406e00
test edi, edi
je 0x406e00
call esi
test eax, eax
je 0x406df7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406df7
test byte [ebp - 0xc], 1
jne 0x406e00
or dword [ebp + 0x10], 0x200000
jmp 0x406e39
mov eax, dword [0x425d00]
cmp eax, ebx
je 0x406e39
push eax
call fcn.00402cc8
pop ecx
test eax, eax
je 0x406e39
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406e39
mov eax, dword [0x425d04]
cmp eax, ebx
je 0x406e39
push eax
call fcn.00402cc8
pop ecx
test eax, eax
je 0x406e39
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x425cfc]
call fcn.00402cc8
pop ecx
test eax, eax
je 0x406e59
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406e5b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41e0e9
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00416204
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41e121
xor eax, eax
jmp 0x41e14d
cmp esi, dword [ebp - 4]
je 0x41e14a
cmp dword [ebp + 0xc], 0
je 0x41e14a
push dword [edi + 0x9c]
call fcn.0041dcf7
push dword [edi + 0x9c]
mov esi, eax
call fcn.00411074
pop ecx
pop ecx
cmp esi, eax
je 0x41e11d
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x406dd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add cl, byte [ebx - 0x20a9f3a3]
dec edi
or byte [edi - 0x75], dl
jge 0x406def
out 0x85, eax
dec dword [ecx - 0x76993ba2]
pop esi
sub byte [edi], bl
xorps xmm7, xmm7
adc eax, 0x4540c1a8
rol byte [esi + 0x2a], 1
rol dword [eax + 0x45], 0x66
rol byte [esi + 0x2a], 1
mov word [esi + 0xc], di
cmp ebx, 2
or bl, byte [eax]
mov eax, 0x7d
invalid

Function at 0x4070d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
adc bl, 0x6f
mov al, 0xe1
wait
push 0x4c3da91d

Function at 0x40a2d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
dec cl
jne 0x40a2ed
or dword [eax + 0x15ff500c], 0xffffff9d
sar byte [ecx + 0x5d293300], 0xa5
xor ebp, dword [ecx]
pop ebp
movsd dword es:[edi], dword [esi]
sbb ch, byte [eax]
mov esp, ebp
or byte [edx - 1], ch
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov al, 0xec
cmp eax, 0x80
je 0x40a2e7
cmp eax, 0x9202
dec ebx
jne 0x40a316
mov eax, 0x11189
pop esi
pop ebp
nop
add al, 0x91
mov ebx, dword [ecx + 0x40c298]
jmp dword [eax - 0x7b]
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
not dword [eax - 0x6f6f6e70]
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x52915f08
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5e4d0fa5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x34c44da0
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x5ae20853
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401665
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
jmp 0x40172c
mov eax, dword [ebp - 4]
add eax, 1
mov ecx, 0x100
cdq
idiv ecx
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, edx
movzx eax, byte [eax]
movzx edx, al
mov eax, dword [ebp - 8]
add eax, edx
mov ecx, 0x100
cdq
idiv ecx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00401599
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
add eax, edx
movzx eax, byte [eax]
movzx edx, al
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, ecx
movzx eax, byte [eax]
movzx eax, al
add eax, edx
mov ecx, 0x100
cdq
idiv ecx
mov eax, edx
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
add eax, edx
movzx eax, byte [eax]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, edx
xor ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
add eax, edx
mov edx, ecx
mov byte [eax], dl
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x14]
jl 0x401685
mov eax, 0
leave
ret
Function at 0x401f60
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4053a0]
test esi, esi
jle 0x402070
mov edi, dword [0x4053a4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401f94
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x402015
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x401f80
mov dword [esp], eax
mov ebx, eax
call fcn.00402850
test eax, eax
mov edi, eax
je 0x402097
mov eax, dword [0x4053a4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00402950
add eax, dword [edi + 0xc]
mov edx, dword [0x4053a4]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x402077
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x40200e
sub eax, 4
and eax, 0xfffffffb
jne 0x402020
add dword [0x4053a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x4053a4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x40200e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00402bd0
lea esi, [esi]
xor esi, esi
jmp 0x401f9e
mov eax, dword [0x4053a4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00402bd0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00402bd0
lea esi, [esi]
nop

Function at 0x4024d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053b0]
sub esp, 4
test ebx, ebx
je 0x402525
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40251e
test esi, esi
je 0x40251e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402500
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402bd0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00402ba0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00402ba0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
jmp fcn.004014e0
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x28cc4747
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x74226722
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x47a7d8
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x48a9a8
call fcn.0047b6c8
mov edi, 0x94
mov eax, edi
call fcn.0047b720
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 [0x4981bc], ecx
mov eax, dword [esi + 4]
mov dword [0x4981c8], eax
mov edx, dword [esi + 8]
mov dword [0x4981cc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4981c0], esi
cmp ecx, 2
je 0x47a838
or esi, 0x8000
mov dword [0x4981c0], esi
shl eax, 8
add eax, edx
mov dword [0x4981c4], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x47a873
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47a873
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x47a88b
cmp eax, 0x20b
je 0x47a878
mov dword [ebp - 0x1c], esi
jmp 0x47a89f
cmp dword [ecx + 0x84], 0xe
jbe 0x47a873
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x47a899
cmp dword [ecx + 0x74], 0xe
jbe 0x47a873
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0047b676
pop ecx
test eax, eax
jne 0x47a8b3
push 0x1c
call fcn.0047a7b4
pop ecx
call fcn.0047b5ed
test eax, eax
jne 0x47a8c4
push 0x10
call fcn.0047a7b4
pop ecx
call fcn.0047b4d6
mov dword [ebp - 4], esi
call fcn.0047b2d8
test eax, eax
jge 0x47a8dd
push 0x1b
call fcn.0047a78f
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x498974], eax
call fcn.0047b1b6
mov dword [0x4981ac], eax
call fcn.0047b114
test eax, eax
jge 0x47a903
push 8
call fcn.0047a78f
pop ecx
call fcn.0047aee1
test eax, eax
jge 0x47a914
push 9
call fcn.0047a78f
pop ecx
call fcn.0047a9ec
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x47a927
push eax
call fcn.0047a78f
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0047ae78
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x47a948
movzx eax, word [ebp - 0x34]
jmp 0x47a94b
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.0046fbb1
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x47a969
push edi
call fcn.0047ab24
call fcn.0047ab46
jmp 0x47a99b
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0047b703
ret
Function at 0x47b9b2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x498468], ebx
push esi
push edi
jne 0x47ba32
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x47ba6d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x498468], eax
je 0x47ba6d
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x49846c], eax
call esi
cmp dword [0x4981bc], 2
mov dword [0x498470], eax
jne 0x47ba32
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x498478], eax
je 0x47ba32
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x498474], eax
mov eax, dword [0x498474]
test eax, eax
je 0x47ba77
call eax
test eax, eax
je 0x47ba5e
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x498478]
test eax, eax
je 0x47ba5e
test byte [ebp - 8], 1
jne 0x47ba77
cmp dword [0x4981c8], 4
jb 0x47ba71
or byte [ebp + 0x12], 0x20
jmp 0x47ba96
xor eax, eax
jmp 0x47baa6
or byte [ebp + 0x12], 4
jmp 0x47ba96
mov eax, dword [0x49846c]
test eax, eax
je 0x47ba96
call eax
mov ebx, eax
test ebx, ebx
je 0x47ba96
mov eax, dword [0x498470]
test eax, eax
je 0x47ba96
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x498468]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x47eb65
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.0047b720
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x47ebfa
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 [0x4981bc]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x47ebfa
cmp eax, 1
je 0x47ec12
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 0x47ebfa
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x47ebcf
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x47ebf6
xor eax, eax
inc eax
jmp 0x47ec2e
cmp esi, ebx
jae 0x47ebfe
xor eax, eax
jmp 0x47ec2e
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4981bc]
jmp 0x47ec14
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 0x4222bf
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.00417a80
and dword [ebp - 4], 0
cmp dword [0x435abc], 0
mov ebx, eax
jne 0x422370
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422421
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x422421
push eax
call fcn.00417a0e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435abc], eax
call esi
push eax
call fcn.00417a0e
mov dword [esp], 0x42a684
push edi
mov dword [0x435ac0], eax
call esi
push eax
call fcn.00417a0e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435ac4], eax
call esi
push eax
call fcn.00417a0e
pop ecx
mov dword [0x435acc], eax
test eax, eax
je 0x422370
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00417a0e
pop ecx
mov dword [0x435ac8], eax
mov eax, dword [0x435ac8]
cmp eax, ebx
je 0x4223c8
cmp dword [0x435acc], ebx
je 0x4223c8
push eax
call fcn.00417a89
push dword [0x435acc]
mov esi, eax
call fcn.00417a89
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4223c8
test edi, edi
je 0x4223c8
call esi
test eax, eax
je 0x4223bf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4223bf
test byte [ebp - 0xc], 1
jne 0x4223c8
or dword [ebp + 0x10], 0x200000
jmp 0x422401
mov eax, dword [0x435ac0]
cmp eax, ebx
je 0x422401
push eax
call fcn.00417a89
pop ecx
test eax, eax
je 0x422401
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422401
mov eax, dword [0x435ac4]
cmp eax, ebx
je 0x422401
push eax
call fcn.00417a89
pop ecx
test eax, eax
je 0x422401
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435abc]
call fcn.00417a89
pop ecx
test eax, eax
je 0x422421
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422423
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x11a56949
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
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
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x32452336
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401060
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
cmp dword [0x844904], 0x594
mov dword [ebp - 8], eax
jne 0x40108c
push edi
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x4260c8]
mov edx, dword [0x4260cc]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], edx
call fcn.00401050
mov eax, dword [str._dv]
mov ecx, dword [0x4260d4]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], ecx
mov ebx, 0x20
jmp 0x4010d0
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x844904]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401156
push edi
lea edx, [ebp - 0x470]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push edi
lea eax, [ebp - 0x34]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0x30
lea ecx, [ebp - 0x6c]
push edi
push ecx
mov dword [ebp - 0x70], edi
call fcn.00403220
mov edx, dword [ebp + 8]
add esp, 0xc
push edx
lea eax, [ebp - 0x70]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetCommConfig]
xor ecx, ecx
xor edx, edx
lea eax, [ebp - 0x3c]
push eax
mov word [ebp - 0x1c], cx
mov word [ebp - 0x1a], dx
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
push str.sulabuwaxase
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov eax, dword [ebp - 4]
mov ecx, dword [0x844904]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401170
mov dword [0x844900], 0xedeb2e40
jmp 0x401190
cmp ecx, 0x3eb
jne 0x401190
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0x8442b4], edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov edx, esi
shr edx, cl
add eax, esi
mov dword [ebp - 0x14], eax
mov dword [0x8448fc], 0xf4ea3dee
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ecx
sub esi, ecx
call fcn.00401040
sub ebx, 1
jne 0x4010d0
cmp dword [0x844904], 0xa6d
mov ebx, dword [ebp + 8]
mov dword [ebx], esi
jne 0x401233
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [ebp - 8]
pop edi
pop esi
mov dword [ebx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret 4