joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f304
Capabilities:
Print debug messages
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
call dword [0x416090]
push ebx
mov esi, eax
call dword [0x416090]
lea ebx, [eax + 0x80]
add ebx, esi
mov dword [ebp - 0xc], ebx
lea eax, [ebx + ebx]
push eax
push 0x40
call dword [0x41604c]
push edi
mov edx, ebx
mov dword [ebp - 4], eax
mov ecx, eax
call fcn.00402451
push str.WTMR_hssgie4p
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
je 0x40f370
push eax
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
jmp 0x40f37c
push str.h12f3wvt
push str.otw05ajc
call ebx
push 0xa03
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push str.ev_u0ptbozo
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov esi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push str.XML8y9eehiv
push 1
push 0
push 0
call esi
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
call edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.log:_k55w2oxg
call edi
push str.SMPHR_zenxqw2v
push 1
push 0
push 0
call esi
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
je 0x40f421
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.reg3c6egc3u
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x40f42d
push str.exku4471
push str.mvn1i4ty
call ebx
push dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
call fcn.0040247e
lea eax, [ebp - 0x158]
push eax
push str.s_hyzh2f22
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 7
pop esi
push str.log:_jb5pu6sf
call edi
sub esi, 1
jne 0x40f457
push str.MTX5m8h45wk
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x40f487
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push str.3v7dropz
push str.5x9x76e1
call ebx
push str.WTMR_nfldehul
push 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
call esi
test eax, eax
je 0x40f4ae
push eax
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
push str.5j20m08o
push str.07187qs9
call ebx
push str.XMLw5q29gy8
push 1
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push ebx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push str.log:_vk805v1k
call edi
push str.WTMR_ge4lxpcj
push 1
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
push str.ev_bhjkd7hb
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [ebp - 0x10]
call dword [0x4160e0]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10026440
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100264b1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x100264b1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.DLL_FlushInstructionCache]
test eax, eax
jne 0x1002649a
jmp 0x100264b1
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x1f0a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01f0a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1f0a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1f0a06a
add dl, dl
jne 0x1f0a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1f0a0dc
xor eax, eax
add dl, dl
jne 0x1f0a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1f0a17d
add dl, dl
jne 0x1f0a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1f0a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1f0a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1f0a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1f0a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1f0a075
mov eax, 1
add dl, dl
jne 0x1f0a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1f0a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1f0a0e1
sub eax, ebx
mov ebx, 1
jne 0x1f0a128
mov ecx, 1
add dl, dl
jne 0x1f0a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1f0a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1f0a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1f0a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1f0a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1f0a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1f0a136
cmp eax, 0x7d00
jae 0x1f0a16d
cmp eax, 0x500
jb 0x1f0a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1f0a075
cmp eax, 0x7f
ja 0x1f0a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1f0a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1f0a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1f0a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
jmp int.00401219
Function at 0x401b74
Capabilities:
Encode data using xor

Disassembly:
push 0x401d54
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
push 0x48000000
add byte [eax], al
add byte [edx], bh
push es
mov eax, dword [edx]
call 0xaa89e374
add byte [edx + 0x57f7bc75], ch
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
std
add al, dl
sbb bh, ah
add byte [ebp + 0x61], cl
jae 0x401c29
jb 0x401c26
inc ebp
jno 0x401c2f
imul esi, dword [eax + 0x65], 0x6c706d45
outsd dx, dword [esi]
jns 0x401c29
add byte [ecx], al
or al, byte [eax]
dec ebp
popal
jae 0x401c41
jb 0x401c3e
outsd dx, dword [esi]
and byte [ebx], dh
xor byte cs:[eax], dh
sub eax, 0x7571c920
imul esi, dword [eax + 0x65], 0x706d6520
insb byte es:[edi], dx
outsd dx, dword [esi]
jns 0x401bce
add byte [eax], al
add byte [eax], 0
add byte [eax], al
add dword [eax], eax
add dword [eax], eax
dec edx
inc eax
add byte [eax], al
add byte [eax], al
add bh, bh
add al, byte [eax]
dec edx
dec edx
inc eax
add byte [eax], al
add byte [eax], al
add bh, bh
add byte [eax], al
sbb byte [ebx + 0x40], cl
inc eax
add byte [eax + 0x60], cl
pushal
inc edx
add byte [eax], al
add byte [eax], al
add byte [eax], al
and ecx, ebp
add dword [eax], eax
add byte [eax], ah
add byte [eax], al
add byte [eax], al
add ah, bh
jle 0x401c3a
add dword [esp + ebx + 0x40], ebx
add byte [ecx], al
add byte [eax], al
add byte [edx + ecx*2 + 0x40], ah
add byte [eax], al
add byte [eax], al
add bh, bh
Function at 0x43e995
Capabilities:
Encode data using xor

Disassembly:
mov dh, al
mov fs, word [esi - 0x6d]
xchg bx, ax
out dx, al
dec esp
jb 0x43e9e5
mov ch, byte [eax]
dec esi
mov eax, dword [0xd57339d]
pop ebx
push eax
jecxz 0x43e9cc
sbb al, 0x14
xor dword [esi - 0x4c8f982e], eax
cmp eax, 0x54edeb46
push ss
arpl word [esi + 0x2f2fd9d0], di
mov al, byte [0x3a85d24a]
salc
cmpsb byte [esi], byte es:[edi]
retf
jno 0x43e9d4
pop es
bound edi, qword [ebp - 0x13a9ee18]
mov byte [0x1d6db56], al
cwde
jo 0x43e998
push esi
fcmovnbe st(0), st(6)
add dword [eax - 0x5bd94290], ebx
movsb byte es:[edi], byte es:[esi]
popal
out dx, al
jno 0x43e9e7
ret
imul byte [ebx - 0x4c]
les ebx, [esi + 0x68c69504]
je 0x43e9cb
mov ah, 0xc4
sahf
add al, 0x95
invalid
mov byte [ebx + 0x52], 0x40
add edx, dword [eax - 0x69c67976]
pop esi
les edx, [edx - 0x6ca9f169]
mov bh, 0x21
or ebp, dword [edi + 0x4374037e]
pop eax
fbstp tbyte [edx - 0x4f]
mov byte [0x6be1e7e3], al
adc bl, ch
add byte [esi], 0x4d
and dword [eax], 0x65
push ebp
cmc
movsd dword es:[edi], dword [esi]
cmpsd dword [esi], dword es:[edi]
push ss
jbe 0x43ea74
sub eax, 0x86c0d023
in eax, dx
invalid
add esi, esi
inc edi
in eax, dx
push es
xchg esi, eax
mov edx, 0x504ec6c0
cmp eax, 0x5575b932
push ss
mov ah, 0x25
jecxz 0x43eafe
cwde
pop ebp
mov ecx, 0x5ffebe67
pop dword [esi]
add byte [edi - 0x18], ch
insd dword es:[edi], dx
loop 0x43eaaa
test eax, 0xaa55774f
pop ds
les ebx, [0x17b6bc6e]
jbe 0x43ea6e
cwde
mov al, byte [0x4cd763c1]
mov es, esp
cmp dword [ecx - 0x7b46aca6], esp
xor eax, 0x1694e3c3
xor al, 0x78
fcomp qword [eax - 0x55]
push eax
add eax, 0xe5749383
xor dword [ebp + 0x2d], 0x5e
mov ebp, 0xcda7e714
sub byte [esi + 0x39066213], ah
pop esi
invalid
lea esp, [ebx + esi - 0xee93c4a]
push 0xbc0e908b
and ch, byte [esi + 1]
push ebx
nop
push cs
mov esp, 0x53016e22
outsb dx, byte [esi]
add dword [ebx - 0x63], edx
popfd
and ah, byte [ebx]
out 0xe1, al
push ebx
mov dl, 0x87
sti
push edi
xor esp, ebx
add byte [esi], 0x11
adc bh, byte [ebx]
imul byte [ecx]
mov bh, byte [esi + ebp*4 - 0x60ed53bd]
dec esp
add esi, ebp
jg 0x43eaf5
aad 0x8e
mov dword [0x367b84ac], eax
xchg ebx, eax
mov eax, ebx
sbb dword [0x127c0f12], eax
add eax, 0x127c0f12
jle 0x43eab7
jl 0x43eb02
lds edi, [edx + 0x7bfb2777]
stosb byte es:[edi], al
mov eax, 0xe4501e9e
inc ebp
jbe 0x43eb2f
inc edx
push esi
popal
test byte [ebx], 0
dec esi
iretd
Function at 0x44a810
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x620
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebp, dword [esp + 0x638]
mov esi, dword [esp + 0x634]
push ebp
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44a915
push 0x2a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x44a85e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x620
ret 8
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov edi, eax
call ebx
test edi, edi
mov dword [esp + 0x10], eax
je 0x44a88f
mov ecx, dword [0x65b714]
push 0x65b448
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push ebp
call ebx
cmp dword [esp + 0x10], eax
jne 0x44a915
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
lea edx, [esp + 0x220]
push edx
push 0xffffffffffffffff
mov edi, eax
push esi
push 1
push edi
call ebx
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push esi
push 4
push edi
call ebx
lea ecx, [esp + 0x428]
push ecx
push 0xffffffffffffffff
push ebp
push 1
push edi
call ebx
cmp word [esi], 0
mov eax, esi
je 0x44a903
xor ecx, ecx
mov dl, 0x80
test byte [esp + ecx + 0x18], dl
je 0x44a8f7
mov si, word [esp + ecx + 0x220]
cmp si, word [esp + ecx + 0x428]
jne 0x44a915
add eax, 2
add ecx, 2
cmp word [eax], 0
jne 0x44a8df
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x620
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x620
ret 8

Function at 0x45de84
Capabilities:
Encode data using xor

Disassembly:
xor dl, cl
xor bh, byte [ebx + ebx*2]
fsubr st(3), st(0)
mov eax, 0x32c68b4f
inc ebx
sahf
xchg ecx, eax
xchg edi, eax
cmc
mov eax, dword [0xccab7e91]
add al, 0xa7
outsb dx, byte [esi]
test eax, 0x1ec39c62
leave
sbb bl, byte [eax]
push 0x30
mov esp, 0xbc53abf9
push ebx
mov edi, 0xff99b461
call 0xfdc87375
sub al, 0x84
sub al, 0x84
aad 0xed
xchg ecx, eax
cmpsb byte [esi], byte es:[edi]
xor ah, byte [eax + 0x57]
and eax, 0x2a22ecee
and ebx, dword [esi + 0x236f627a]
je 0x45deba
cmp esp, edi
xchg ebx, eax
xchg esp, eax
lea eax, [edx + esi*4]
adc al, 0x77
and eax, 0xb7c3d1fc
inc eax
outsd dx, dword [esi]
xor dword [ebx], edi
ljmp 0x95a5
Function at 0x599610
Capabilities:
Check for vm using instruction vpcext

Disassembly:
or dword [esi], eax
xchg ebx, eax
invalid
adc dword [edx - 0x3d455695], eax
mov bh, 0x28
cmpsd dword [esi], dword es:[edi]
vminsd xmm5, xmm1, qword [esp + ebx*2 - 0x2714ab98]
wait
push eax
mov ss, word [ecx + 0x7e]
sbb eax, 0x782eedcb
push ss
jns 0x5995ac
ret 0x28b7
aad 0x94
dec eax
js 0x59957d
add dword fs:[edx + 0x456b4204], 0xdaabf99e
je 0x599617
mov ebp, 0x9b4f43a
in eax, 0x13
cmp byte [ebx + 0x7db58035], 0xee
jmp 0x16c4bbf0
xchg ebx, eax
adc eax, 0x6931f66f
jecxz 0x5995a7
invalid
sub eax, 0xc0901260
xor dword [ebx + 0xacf2d39], 0xce8b3d81
add ch, ch
jno 0x5995d6
stosd dword es:[edi], eax
inc esi
or al, 0x97
jbe 0x5996ab
std
mov ds, word [ecx + 0x215ccbb3]
salc
iretd
xor cl, ah
les edx, [ebx + eax*8]
push cs
dec edx
test edx, 0x45ec9e9e
daa
mov bl, 0x7a
push es
movsd dword es:[edi], dword [esi]
push ebx
mov esp, 0xb550acf8
int1
adc ebx, esi
aad 0x31
jbe 0x59962a
mov dh, 0x23
int3
je 0x5996ec
jnp 0x5996c5
je 0x5996d4
invalid
push ecx
inc ecx
inc esp
out 0x57, al
bound eax, qword [edi*2 + 0x4a5cf648]
add dl, 0xb4
dec edi
jnp 0x59967e
test al, 0xbf
pop ebx
int 0x20
inc ebp
invalid
or eax, dword [ebp + 0x6e]
in al, 0x40
test byte [ecx - 0xe663754], cl
movsd dword es:[edi], dword [esi]
daa
out 0x60, al
mov ebx, esi
jp 0x5996fc
jp 0x5996fc
int1
invalid

Function at 0x5f97d5
Capabilities:
Encode data using xor

Disassembly:
jecxz 0x5f97db
jle 0x5f9850
push ecx
mov dword [ebp + 0xd7d1030], esi
mov ch, 0x30
adc byte [ebp + 0xd], bh
jne 0x5f985b
ret
in eax, 0x99
dec eax
push edi
test eax, 0x354e745c
stosb byte es:[edi], al
mov ebx, 0x6ea653
aas
push ebx
cmpsb byte [esi], byte es:[edi]
outsb dx, byte [esi]
add byte [edi], bh
invalid
Function at 0x65013e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6582f0
cmp edx, dword [eax]
je 0x650160
add eax, 8
inc ecx
cmp eax, 0x658380
jl 0x650151
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6582f0]
jne 0x65028e
mov eax, dword [0xa5b934]
cmp eax, 1
je 0x650268
test eax, eax
jne 0x650191
cmp dword [0x658234], 1
je 0x650268
cmp edx, 0xfc
je 0x65028e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6501c8
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00650850
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00650a80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x65020b
lea eax, [ebp - 0x1a4]
push eax
call fcn.00650a80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x6549d8
push edi
call fcn.00652250
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00650850
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00650860
lea eax, [ebp - 0xa0]
push 0x6549b8
push eax
call fcn.00650860
push dword [esi + 0x6582f4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00650860
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.006521c4
add esp, 0x2c
pop edi
jmp 0x65028e
lea eax, [ebp + 8]
lea esi, [esi + 0x6582f4]
push 0
push eax
push dword [esi]
call fcn.00650a80
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
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, 0x4e8137f7
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x102067f3
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
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
nop
nop
jne 0x43006c
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x406fa0
Capabilities:
Encode data using xor

Disassembly:
nop
nop
push ebp
xchg ebx, eax
in al, dx
sub esp, 0x24
dec esi
push esi
mov esi, dword [ebp + 0xc]
xor edi, dword [ecx + 0x3b]
push edi
xchg esi, eax
jne 0x406f9e
jne 0x406fba
mov esi, str.0.0.0.0
mov al, byte [esi]
cmp al, 0x30
jl 0x40707d
cmp al, 0x39
jg 0x3f41067d
push str.0123456789.
push esi
call dword [sym.imp.MSVCRT.dll_strspn]
adc eax, sym.imp.MSVCRT.dll_strspn
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
les ecx, cs:[eax]
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jne 0x40707d
push esi
mov esi, 0x40c1c8c8
add byte [ecx + 0x118df845], cl
clc
lea ebx, [ebp - 0x14]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ecx
mov dword [esi], esp
or al, 0x8b
inc ebp
or al, 0xae
dec eax
or al, 0x39
sbb dword [edi], ecx
test byte [eax - 0x76ff9877], ch
pop ebp
cld
mov edx, dword [ebp + 0x77]
push 0x70
push edx
call fcn.00404a60
mov edi, eax
xor eax, eax
mov esi, edi
insb byte es:[edi], dx
push cs
add byte [eax], al
sbb esp, dword [edi - 0x55]
mov ebx, dword [eax + 0x1c]
xchg dword [ebp + 0xc], ecx
mov esi, dword [edi]
cld
mov dword [esi], eax
mov edi, dword [eax]
jne 0x406fd3
add al, 0x17
mov edx, dword [ebp + 0x14]
push edx
push esp
add cl, byte [ebx + 0x4e892608]
loop 0x407033
fdiv qword [ebp - 3]
jne 0x407056
invalid
push esi
call dword [0x37d8a5ac]
cmp esp, dword [ebx]
inc ebp
or al, 0x75
test dword [ebx + 0x77c1d835], ecx
and eax, 0xc085cb7e
je 0x4070c6
call esi
pop edi
pop esi
add eax, 0xafcdb
pop ebx
mov ebx, dword [eax]
pop ebp
ret
pop edi
or ecx, dword [eax + eax*8 + 0x5de5205b]
ret
Function at 0x405520
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x405579
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405579
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40556a
cmp esi, edx
jae 0x405579
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x405558
cmp esi, edx
jae 0x405579
cmp word [esi], 0
je 0x405579
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x408ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a61d6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4ce208]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x408f9c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x408f9c
call fcn.004080e0
mov edi, eax
jmp 0x4090bb
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x408fbf
call fcn.004080e0
jmp 0x4090ae
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x408fdd
call fcn.004080e0
jmp 0x4090ae
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x408ffe
mov edi, 0x8007000e
jmp 0x4090b0
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x4090f4
jb 0x40901c
cmp eax, 0xffffffff
ja 0x4090f4
cmp eax, 0x400
jbe 0x409031
push eax
lea ecx, [ebp - 0x418]
call fcn.00408000
jmp 0x409057
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x409057
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x40906e
mov edi, 0x8007000e
jmp 0x4090b0
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40908e
call fcn.004080e0
jmp 0x4090ae
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00408d50
mov edi, eax
test esi, esi
je 0x4090bb
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4090d4
lea ecx, [ebp - 0x418]
call fcn.00408400
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044418a
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00403b20
int3
Function at 0x40b500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a63e7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4ce208]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x4ad6a0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x50], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
push 0
push 0
lea esi, [edi + 4]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x10], 1
call fcn.0040b060
mov eax, dword [edi]
push 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + edi - 4], eax
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00443d4a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40b5aa
push 1
mov byte [ebp - 4], 2
call fcn.0041d8ce
add esp, 4
mov dword [ebx + 4], eax
jmp 0x40b5ac
xor ebx, ebx
lea eax, [esi + 4]
mov dword [esi + 0x34], ebx
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret