joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441720
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x475e03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00469685
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046ed1a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00470236
test eax, eax
je 0x44183c
mov ecx, dword [esp + 0x3c]
call fcn.0046ed47
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x441800
push edi
mov ecx, esi
call fcn.0046c3ab
mov ecx, esi
call fcn.004419a0
cmp dword [esp + 0x38], 1
jne 0x441835
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046c4e6
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x444250
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444283
push esi
call fcn.00447360
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44427c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x444309
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4442f2
mov eax, dword [esi + 8]
test eax, eax
je 0x4442a7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4442ee
cmp eax, 2
je 0x4442f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44429a
cmp eax, 3
je 0x4442cd
cmp eax, 1
jne 0x44429a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44429a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44429a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00444330
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x444318
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00444330
add esp, 4
pop esi
ret

Function at 0x4512d0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x451373
test eax, eax
jbe 0x451373
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x451373
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45131e
xor esi, esi
jmp 0x451324
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45134f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00408c40
add esi, eax
push esi
mov ebx, esi
call fcn.00408c40
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x451330
pop ebp
test edi, edi
pop edi
jne 0x451373
test ebx, ebx
je 0x451373
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004585f0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4514b5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4515cd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4515cd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00469ad7
mov esi, eax
test esi, esi
je 0x4515cd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4515cd
mov ecx, esi
call fcn.00451420
cmp edi, eax
jge 0x4515cd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x451553
mov dword [esp + 0x34], 1
jmp 0x4515ae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4515cd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004509c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x46a47a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46a4b2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00468504
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004684dc
jmp 0x46a4be
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46bb68
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46bbaa
call fcn.004716b1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46bbaa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46bba1
xor eax, eax
jmp 0x46bbb2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046bbb8
pop edi
pop esi
pop ebx
ret 4

Function at 0x471be1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x471c0f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x471c2d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00471b47
jmp 0x471c2d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x471c2d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00471b47
test edi, edi
mov eax, edi
jne 0x471c17
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405840
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
xor ecx, 0xffffffff
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
test edx, edx
je 0x40588d
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x418280]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x405853
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x405970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [ebp - 3], cl
mov edx, dword [ebp + 8]
mov al, byte [edx + 1]
mov byte [ebp - 2], al
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x4059a2
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x14]
jge 0x405a20
mov cl, byte [ebp - 3]
add cl, 1
mov byte [ebp - 3], cl
movzx edx, byte [ebp - 3]
mov eax, dword [ebp - 0x10]
mov cl, byte [eax + edx]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 2]
add eax, edx
mov byte [ebp - 2], al
movzx ecx, byte [ebp - 2]
mov edx, dword [ebp - 0x10]
mov al, byte [edx + ecx]
mov byte [ebp - 9], al
movzx ecx, byte [ebp - 3]
mov edx, dword [ebp - 0x10]
mov al, byte [ebp - 9]
mov byte [edx + ecx], al
movzx ecx, byte [ebp - 2]
mov edx, dword [ebp - 0x10]
mov al, byte [ebp - 1]
mov byte [edx + ecx], al
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx]
movzx eax, byte [ebp - 1]
movzx ecx, byte [ebp - 9]
add eax, ecx
movzx eax, al
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + eax]
xor edx, eax
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 8]
mov byte [ecx], dl
jmp 0x405999
mov edx, dword [ebp + 8]
mov al, byte [ebp - 3]
mov byte [edx], al
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 2]
mov byte [ecx + 1], dl
mov esp, ebp
pop ebp
ret
Function at 0x405a40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406b50
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
mov byte [ebp - 7], dl
mov eax, dword [ebp + 8]
mov cl, byte [eax + 1]
mov byte [ebp - 6], cl
mov edx, dword [ebp + 8]
add edx, 2
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], 0
jmp 0x405a8f
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp + 0x10]
test edx, edx
jne 0x405aa6
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jge 0x405b5d
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x10]
jl 0x405ac9
mov eax, dword [ebp - 0x10]
shl eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00406b90
add esp, 8
mov dword [ebp - 0x18], eax
mov al, byte [ebp - 7]
add al, 1
mov byte [ebp - 7], al
movzx ecx, byte [ebp - 7]
mov edx, dword [ebp - 0x1c]
mov al, byte [edx + ecx]
mov byte [ebp - 5], al
movzx ecx, byte [ebp - 5]
movzx edx, byte [ebp - 6]
add edx, ecx
mov byte [ebp - 6], dl
movzx eax, byte [ebp - 6]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ecx + eax]
mov byte [ebp - 0x11], dl
movzx eax, byte [ebp - 7]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x11]
mov byte [ecx + eax], dl
movzx eax, byte [ebp - 6]
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 5]
mov byte [ecx + eax], dl
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 5]
movzx eax, byte [ebp - 0x11]
add edx, eax
movzx edx, dl
mov eax, dword [ebp - 0x1c]
movzx edx, byte [eax + edx]
xor ecx, edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
mov byte [eax], cl
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
test edx, edx
jne 0x405b51
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x405b58
mov dword [ebp - 4], 0
jmp 0x405a86
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 7]
mov byte [ecx], dl
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 6]
mov byte [eax + 1], cl
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x405cf0
Capabilities:
Encrypt data using rsa via embedded library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
movzx edx, word [ebp + 0x10]
mov eax, dword [ebp - 4]
sub eax, edx
sub eax, 3
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
mov byte [ecx], 0
mov edx, dword [ebp + 0x14]
mov byte [edx + 1], 2
mov eax, dword [ebp + 0x14]
add eax, 2
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004057e0
add esp, 8
test eax, eax
jge 0x405d3a
or eax, 0xffffffff
jmp 0x405dba
mov edx, dword [ebp + 0x14]
add edx, dword [ebp - 0xc]
mov byte [edx + 2], 0
movzx eax, word [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x14]
lea ecx, [eax + edx + 3]
push ecx
call fcn.00406d80
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.004049d0
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00405cc0
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.00404aa0
add esp, 0x10
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call fcn.00404020
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x405dc0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], 0
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax + 0x1c], dx
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x67452301
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0x10325476
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0xc3d2e1f0
pop ebp
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rsrc
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x10101485
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x79f05e4c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x438c71
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x438a14
and ebx, eax
add eax, 0xe0745be1
call fcn.00438ca8
and eax, eax
inc ebx
xor dword [ecx], edx
add eax, 1
sub eax, 0x17772089
inc ecx
or ebx, ebx
cmp ecx, esi
jne fcn.00438c71
add ebx, eax
or eax, ebx
or eax, eax
ret
Function at 0x405c70
Capabilities:
Delete directory
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
xor esi, esi
cmp dword [0xc7205c], 0x594
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], eax
jne 0x405cb1
push esi
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
push 0x405840
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x80f6f8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x80f6fc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.00405c69
mov eax, dword [0x80f700]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x80f704]
add ebx, 0x23f
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x20
jmp 0x405cf1
mov edi, dword [ebp - 0x14]
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, edi
shl eax, 4
cmp dword [0xc7205c], 0xc
mov dword [ebp - 4], eax
jne 0x405d2f
push esi
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [ebp - 0x2c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0xc7205c]
cmp eax, 0xfa9
jne 0x405d4b
mov dword [0xc72058], 0xedeb2e40
cmp eax, 0x3eb
jne 0x405d58
mov dword [0xc4b1f8], esi
mov ecx, dword [ebp - 8]
mov edx, edi
shr edx, cl
lea eax, [ebx + edi]
mov dword [ebp - 0x10], eax
mov dword [0xc72054], 0xf4ea3dee
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0xc7205c], 0x213
mov dword [ebp - 0x10], edx
jne 0x405d92
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0xc7205c], 0xc
jne 0x405dd2
lea eax, [ebp - 0x10]
push eax
push esi
push esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_BackupRead]
push esi
lea eax, [ebp - 0x830]
push eax
push 0x40587c
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edx
shr eax, cl
lea edi, [ebx + edx]
add ebx, 0x61c88647
add eax, dword [ebp - 0x20]
xor eax, edi
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
dec dword [ebp - 0x18]
jne 0x405cee
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
leave
ret 4
Function at 0x405e1d
Capabilities:
Create pipe
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1284
call fcn.00413bf0
mov eax, dword [0xc7205c]
mov ecx, dword [0xc4b1fc]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x405f2b
mov ebx, ecx
mov dword [ebp - 8], eax
cmp dword [0xc7205c], 0x959
jne 0x405f19
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
push esi
push esi
lea eax, [ebp - 0xa80]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x4058b0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x4058d8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x1280]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_FatalExit]
push ebx
call fcn.00405c70
add ebx, 8
dec dword [ebp - 8]
jne 0x405e4a
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4097be
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80e6b0]
jne 0x4097c8
repz ret
jmp fcn.0040f72e

Function at 0x4115f4
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.00408113
and dword [ebp - 4], 0
cmp dword [0x810aec], 0
mov ebx, eax
jne 0x4116a5
push 0x4057b4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x411756
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4057a8
push edi
call esi
test eax, eax
je 0x411756
push eax
call fcn.004080a1
mov dword [esp], 0x405798
push edi
mov dword [0x810aec], eax
call esi
push eax
call fcn.004080a1
mov dword [esp], 0x405784
push edi
mov dword [0x810af0], eax
call esi
push eax
call fcn.004080a1
mov dword [esp], 0x405768
push edi
mov dword [0x810af4], eax
call esi
push eax
call fcn.004080a1
pop ecx
mov dword [0x810afc], eax
test eax, eax
je 0x4116a5
push 0x405750
push edi
call esi
push eax
call fcn.004080a1
pop ecx
mov dword [0x810af8], eax
mov eax, dword [0x810af8]
cmp eax, ebx
je 0x4116fd
cmp dword [0x810afc], ebx
je 0x4116fd
push eax
call fcn.0040811c
push dword [0x810afc]
mov esi, eax
call fcn.0040811c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4116fd
test edi, edi
je 0x4116fd
call esi
test eax, eax
je 0x4116f4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4116f4
test byte [ebp - 0xc], 1
jne 0x4116fd
or dword [ebp + 0x10], 0x200000
jmp 0x411736
mov eax, dword [0x810af0]
cmp eax, ebx
je 0x411736
push eax
call fcn.0040811c
pop ecx
test eax, eax
je 0x411736
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x411736
mov eax, dword [0x810af4]
cmp eax, ebx
je 0x411736
push eax
call fcn.0040811c
pop ecx
test eax, eax
je 0x411736
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x810aec]
call fcn.0040811c
pop ecx
test eax, eax
je 0x411756
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x411758
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40cdf6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x40ce00
repz ret
jmp fcn.0040d09b

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x658b56ee
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
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
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0xf1030b9
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219