joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f85d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x43f87f
cmp dword [edi + 0x3c], 0
jne 0x43f87f
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004580ae
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0043f8ac
pop edi
pop esi
pop ebx
ret 8

Function at 0x43f8fa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004580ae
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x43f92b
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0043f93e
pop edi
pop esi
pop ebx
ret 8

Function at 0x440eef
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x440f27
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.0044438d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00444365
jmp 0x440f33
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x440f37
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x47e740
mov ecx, edi
call fcn.0044406f
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x440f8a
push dword [esi + 0x1c]
call dword [sym.imp.user32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x440f9d
push esi
call dword [sym.imp.user32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0044438d
push eax
push esi
call dword [sym.imp.user32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00444365
jmp 0x440f9d
mov ecx, esi
call fcn.00443892
test eax, eax
je 0x440f9d
push edi
mov ecx, eax
call fcn.00440eef
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x442bab
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 0x442bed
call fcn.004580ae
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
cmp eax, edi
je 0x442bed
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
cmp eax, edi
jne 0x442be4
xor eax, eax
jmp 0x442bf5
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00442bfb
pop edi
pop esi
pop ebx
ret 4
Function at 0x458d58
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.004580ae
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
test eax, eax
je 0x458d95
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x458d95
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x458d99
xor eax, eax
jmp 0x458e17
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00443c73
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x458dd1
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x458dbb
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00458f08
push ebx
mov edi, eax
call fcn.00443c9c
test edi, edi
pop ecx
je 0x458e13
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00458cd1
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00458e1c
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x45a75c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x45a80c
mov ecx, 0x47ed68
call fcn.0045a204
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x45a7ea
push str.COMCTL32.DLL
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x45a7c8
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindResourceA]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x45a7c8
push ebx
push edi
push eax
call fcn.00446ace
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.0044406f
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc
Function at 0x45fde7
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.ws2_32.dll_recv
ret 0xc

Function at 0x45fdfe
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.ws2_32.dll_send
ret 0xc
Function at 0x4aa453
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x4aa4bf
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x4aa508
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.004c3900
add esp, 8
test eax, eax
jne 0x4aa506
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x4aa50a
jmp 0x4aa4b6
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4b679a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4b67aa
xor eax, eax
jmp 0x4b6973
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x4b692b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4e6f14]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4e6f14]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4e6f14]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4e6f14]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4e6f14]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4e6f14]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4e6f14]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4e6f14]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x4b67b3
cmp dword [ebp + 0x10], 0
je 0x4b696d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x4e6f14]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x4b6931
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1cab366e
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..text_1
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7a5f2f23
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x406090
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4a997b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x40434c
call fcn.00406cf1
push 4
mov dword [esp + 0x18], 0
call fcn.00407bb2
mov edi, eax
add esp, 4
test edi, edi
je 0x406104
push ebx
call fcn.00406bc9
mov dword [edi], eax
call fcn.00406988
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406cb2
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4060f8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406cda
pop ebx
jmp 0x406106
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408621
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4addc0]
jne 0x40862b
repz ret
jmp fcn.0040dd8c
Function at 0x412994
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4addc0]
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.0040a99a
and dword [ebp - 0x14], 0
cmp dword [0x4b03b4], 0
mov dword [ebp - 0x18], eax
jne 0x412a47
push 0x403fa0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412aef
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403f94
push ebx
call edi
test eax, eax
je 0x412aef
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403f84
push ebx
mov dword [0x4b03b4], eax
call edi
push eax
call esi
push 0x403f70
push ebx
mov dword [0x4b03b8], eax
call edi
push eax
call esi
push 0x403f54
push ebx
mov dword [0x4b03bc], eax
call edi
push eax
call esi
mov dword [0x4b03c4], eax
test eax, eax
je 0x412a47
push 0x403f3c
push ebx
call edi
push eax
call esi
mov dword [0x4b03c0], eax
mov eax, dword [0x4b03c0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412aa0
cmp dword [0x4b03c4], ecx
je 0x412aa0
push eax
call esi
push dword [0x4b03c4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412aa0
test ebx, ebx
je 0x412aa0
call edi
test eax, eax
je 0x412a97
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x412a97
test byte [ebp - 8], 1
jne 0x412aa0
or dword [ebp + 0x10], 0x200000
jmp 0x412ad3
mov eax, dword [0x4b03b8]
cmp eax, dword [ebp - 0x18]
je 0x412ad3
push eax
call esi
test eax, eax
je 0x412ad3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x412ad3
mov eax, dword [0x4b03bc]
cmp eax, dword [ebp - 0x18]
je 0x412ad3
push eax
call esi
test eax, eax
je 0x412ad3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b03b4]
call esi
test eax, eax
je 0x412aef
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412af1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408621
leave
ret

Function at 0x4a8300
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov eax, 0x6b
mov edx, 0x72
mov word [0x834118], ax
mov word [0x83411c], dx
mov ecx, 0x6e
mov edx, 0x65
xor eax, eax
push 0x834118
mov dword [0x834124], 0x320033
mov dword [0x83412c], 0x6c006c
mov word [0x83411e], cx
mov dword [0x834120], 0x6c0065
mov dword [0x834128], 0x64002e
mov word [0x83411a], dx
mov word [0x834130], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [0x834114]
lea ecx, [esp]
push ecx
push 0x40
mov dword [0x834110], eax
mov eax, dword [0x4b5164]
push edx
push eax
mov byte [0x4b03db], 0x65
mov dword [0x4b03d1], 0x75747269
mov word [0x4b03d5], 0x6c61
mov byte [0x4b03d0], 0x56
mov word [0x4b03dc], 0x7463
mov byte [0x4b03de], 0
mov dword [0x4b03d7], 0x746f7250
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop ecx
ret
Function at 0x4a83f0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x834114], 0x37
jne 0x4a8497
mov eax, dword [esp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
mov ecx, dword [esp]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea edx, [esp + 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0x404110
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov eax, dword [0x835108]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x4b5164]
mov byte [eax + esi], dl
add esp, 0xc0c
ret
Function at 0x4a8690
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x834114]
sub esp, 0x9d4
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
mov edi, dword [0x4b5164]
cmp eax, esi
jbe 0x4a886e
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
jmp 0x4a86c6
mov edi, dword [esp + 0x1c]
xor esi, esi
cmp dword [0x834114], 0x1c
jne 0x4a86e1
lea eax, [esp + 0x40]
push eax
push esi
lea ecx, [esp + 0x4c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov edx, dword [0x4ae6f8]
mov eax, dword [0x4ae6fc]
mov ecx, dword [0x4ae700]
mov ebx, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [0x4ae704]
mov ebp, 0xc6ef3720
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], 0x20
jmp 0x4a8722
xor esi, esi
mov ecx, ebx
shl ecx, 4
add ecx, dword [esp + 0x3c]
mov eax, ebx
shr eax, 5
add eax, dword [esp + 0x38]
lea edx, [ebx + ebp]
xor ecx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [0x834084], esi
mov eax, dword [esp + 0x18]
add dword [0x834084], eax
mov eax, dword [0x834084]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x28]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
sub edi, dword [esp + 0x18]
mov ecx, edi
shl ecx, 4
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], eax
cmp dword [0x834114], 0x1be
jne 0x4a87a1
lea edx, [esp + 0x30]
push edx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x34]
cmp dword [0x834114], 0x979
mov dword [0x834088], 0xff6b3619
mov dword [0x83408c], 0xffffffff
jne 0x4a87f3
mov eax, dword [esp + 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push 0
lea ecx, [esp + 0x1e4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [edi + ebp]
xor esi, eax
mov eax, dword [esp + 0x14]
xor eax, esi
sub ebx, eax
add ebp, 0x61c88647
dec dword [esp + 0x20]
mov dword [esp + 0x14], eax
jne 0x4a8720
cmp dword [0x834114], 0x8d4
jne 0x4a882b
lea edx, [esp + 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov esi, dword [esp + 0x1c]
mov dword [esi], ebx
mov dword [esi + 4], edi
cmp dword [0x834114], 0x17
jne 0x4a885d
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea eax, [esp + 0xa0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], esi
jne 0x4a86c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9d4
ret
Function at 0x4114a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40d015
lea edi, [esi - 0xc015]
push edi
or ebp, 0xffffffff
jmp 0x4114c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4114c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4114b8
mov eax, 1
add ebx, ebx
jne 0x4114db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4114d0
jne 0x4114ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4114d0
xor ecx, ecx
sub eax, 3
jb 0x411500
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411572
mov ebp, eax
add ebx, ebx
jne 0x41150b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411518
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41153c
inc ecx
add ebx, ebx
jne 0x411528
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41151d
jne 0x411539
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41151d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41155c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41154d
jmp 0x4114be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41155c
add edi, ecx
jmp 0x4114be
pop esi
mov edi, esi
mov ecx, 0x210
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41157a
cmp byte [edi], 5
jne 0x41157a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41157f
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x4115ee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14cd4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14d88]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4115ac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14d8c]
or eax, eax
je 0x4115e8
mov dword [ebx], eax
add ebx, 4
jmp 0x4115c9
call dword [esi + 0x14d9c]
mov ebp, dword [esi + 0x14d90]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x411622
sub esp, 0xffffff80
jmp section.UPX0