joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4932f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49336b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, 0x104
call fcn.00404db4
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x493378
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x10]
mov eax, 8
call fcn.00408e1c
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.004047bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493372
lea eax, [ebp - 0x10]
call fcn.00404768
ret

Function at 0x493e40
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c18
mov eax, dword [ebp - 8]
call fcn.00404c18
xor eax, eax
push ebp
push 0x493fa4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00409218
test al, al
jne 0x493ea4
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x493fbc
call fcn.00404a74
mov eax, dword [ebp - 0x10]
call fcn.00493dec
jmp 0x493f7c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404b74
jne 0x493ec0
mov eax, 0x493fe0
call fcn.00493dec
jmp 0x493f7c
mov eax, dword [ebp - 8]
call fcn.00409218
test al, al
je 0x493f3c
cmp byte [ebp - 9], 0
jne 0x493eef
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, 0x49400c
call fcn.00404a74
mov eax, dword [ebp - 0x14]
call fcn.00493dec
jmp 0x493f7c
mov eax, dword [ebp - 8]
call fcn.0040924c
mov edx, eax
and edx, 0xfffffffe
mov eax, dword [ebp - 8]
call fcn.00409260
mov eax, dword [ebp - 8]
call fcn.00404c28
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00404960
mov eax, dword [ebp - 0x18]
call fcn.0040937c
test al, al
jne 0x493f3c
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov edx, 0x494034
call fcn.00404a74
mov eax, dword [ebp - 0x1c]
call fcn.00493dec
jmp 0x493f7c
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.00404c28
push eax
mov eax, dword [ebp - 4]
call fcn.00404c28
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x493f65
mov eax, 0x49406c
call fcn.00493dec
jmp 0x493f7c
mov eax, dword [ebp - 8]
call fcn.0040924c
mov edx, eax
and edx, 0xfffffffe
mov eax, dword [ebp - 8]
call fcn.00409260
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493fab
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.0040478c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040478c
ret
Function at 0x41572c
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov edi, edx
mov eax, 0xc8
call fcn.0047c3e8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4157c8
push dword fs:[eax]
invalid

Function at 0x41bfdc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x41c009
mov ecx, 4
mov dl, 1
mov eax, dword [0x419dc8]
call fcn.0042093c
call fcn.00483f90
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, eax
call fcn.0041bf7c
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
push eax
call sub.KERNEL32.DLL_WriteFile
test eax, eax
jne 0x41c04e
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x3e5
je 0x41c04e
xor eax, eax
jmp 0x41c050
mov al, 1
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x41c075
call sub.KERNEL32.DLL_GetLastError
push eax
mov ecx, 2
mov dl, 1
mov eax, dword [0x419dc8]
call fcn.00420868
call fcn.00483f90
mov cl, 1
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.0041f8bc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4

Function at 0x43609c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004835b8
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x49f92c]
cmp byte [edx + 8], 0
je 0x436100
mov edx, dword [0x49f920]
cmp dword [edx], 2
jne 0x436100
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x43632c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4363bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.00435e24
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004848ac
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x4363a7
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x49f844]
call fcn.00485b68
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x435cdc]
call fcn.0047f500
call fcn.00483f90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4363c4
lea eax, [ebp - 0x10]
call fcn.0048446c
ret
Function at 0x4363d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43646b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004848ac
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x436445
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x49f848]
call fcn.00485b68
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x435cdc]
call fcn.0047f500
call fcn.00483f90
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00435e54
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436472
lea eax, [ebp - 0x10]
call fcn.0048446c
ret

Function at 0x43d288
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x43d28e
ret

Function at 0x43f88c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x43f8dd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x43f8c4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x43f8b4
jmp 0x43f8dd
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x43f8c5
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442990
Capabilities:
Encode data using xor

Disassembly:
into
jo 0x44291d
in al, 0x8b
lds esi, [eax - 0x7429a90d]
cmc
xor edx, 0xffffff8f
stc
xor eax, eax

Function at 0x443eb4
Capabilities:
Encode data using xor

Disassembly:
add eax, edx
or dl, byte [ebx + 0x2a]
jb 0x443ec6
pushfd
salc
xor eax, 0x8ba0e
add byte [ecx], ah
test eax, 0xff98e881
sti
scasd eax, dword es:[edi]
sub eax, 0xaffbff98
jmp 0x443ee6
mov edi, edx
or eax, ebx
cmp dword [edi + 0x18], 0x7b
sbb al, 0x14
cmp byte [ebx - 0xc48b73d], ch
std
not esi
push esi
xchg edx, eax
adc byte [ebp - 0x46f7d3b4], cl
adc eax, 0xf3204001
movsd dword es:[edi], dword [esi]
pop edi
pop esi
cdq
js 0x443f3a
and al, 0x89
js 0x443f76
xchg esi, eax
or edi, dword [edi + 0x10]
mov edx, dword [edx + 8]
wait
ret
add bl, ah
jae 0x443f94
push ebx
push ebp
test esp, edx
sar bl, 1
idiv dword [edi]
sub byte [esp], cl
mov edi, edx
invalid
add byte [edx - 0x39], dh
Function at 0x4477a4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49fd7c
cmp dword [edi], 0
jne 0x447820
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x49fd78]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x49b884
mov ecx, 2
call fcn.004833d0
mov edx, 0x44777c
lea eax, [esi + 5]
call fcn.0044779c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0044779c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4477f5
mov dword [0x49fd78], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4588c4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
cmp byte [0x49fe04], 0
jne 0x458902
mov eax, dword [0x49fdf4]
sub eax, dword [esi]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [0x49fe00]
jge 0x458902
mov eax, dword [0x49fdf8]
sub eax, dword [esi + 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [0x49fe00]
jl 0x458b8e
mov eax, dword [0x49fde4]
push eax
mov eax, dword [0x49fde4]
mov cl, byte [eax + 0x87]
lea edx, [esp + 4]
mov eax, esi
call fcn.004587a4
mov ebx, eax
cmp byte [0x49fe04], 0
jne 0x45894f
cmp dword [0x49fe08], 0
je 0x45894f
mov eax, dword [0x49fdf8]
push eax
call sub.USER32.DLL_geTdSp_tSn4nw
mov edx, eax
mov ecx, dword [0x49fdf4]
mov eax, dword [0x49fe08]
call fcn.00461cc0
mov eax, dword [0x49fde4]
cmp byte [eax + 0x87], 0
jne 0x45896b
mov byte [0x49fe04], 1
mov byte [esp + 4], 0
jmp 0x45897e
cmp byte [0x49fe04], 0
setne byte [esp + 4]
mov byte [0x49fe04], 2
mov eax, dword [0x49fde8]
cmp ebx, dword [eax + 4]
je 0x4589d3
mov al, 1
call fcn.004587f4
cmp dword [0x49fde8], 0
je 0x458b8e
mov eax, dword [0x49fde8]
mov dword [eax + 4], ebx
mov eax, dword [0x49fde8]
mov edx, dword [esp]
mov dword [eax + 8], edx
mov eax, dword [0x49fde8]
mov edx, dword [esi]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 4]
mov dword [eax + 0x10], edx
xor eax, eax
call fcn.004587f4
cmp dword [0x49fde8], 0
je 0x458b8e
mov eax, dword [0x49fde8]
mov edx, dword [esi]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 4]
mov dword [eax + 0x10], edx
mov eax, dword [0x49fde8]
cmp dword [eax + 4], 0
je 0x458a14
lea ecx, [esp + 8]
mov edx, esi
mov eax, dword [0x49fde8]
mov eax, dword [eax + 4]
call 0x645a270
and eax, edi
sti
leave
adc byte [ebx - 0x44444dfc], al
mov ebx, 0x82050550
add eax, dword [eax]
add byte [eax], al
dec eax
add byte [eax], al
call 0xd52fcccc
jg 0x458a1d
invalid
mov edi, 0x9e9ad08b
mov eax, dword [0x8049bda8]
mov bh, byte [eax]
call [edi]
sar eax, cl
xchg dword [0x85c9f608], edi
add byte [edx + ebp*2 - 0x7f], dh
invalid
rcl ah, cl
adc al, 0x7f
sbb bl, byte [ebx - 0x3d]
xchg ecx, eax
nop
mov byte [ebx + 0x16], dl
xchg ebp, eax
adc esp, 0xfffffff8
or bh, cl
sbb edx, 0xffffff8b
invalid
Function at 0x4688ac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x468984
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49fe54], 0
jne 0x468968
lea eax, [ebp - 4]
mov edx, 0x46899c
call fcn.00484504
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004848ac
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x468968
mov eax, ebx
call fcn.00483244
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x468961
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x46894b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4689ac
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x46894b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x49fe54], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468968
mov eax, dword [ebp - 0xc]
call fcn.0048325c
ret
mov ebx, dword [0x49fe54]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46898b
lea eax, [ebp - 4]
call fcn.0048446c
ret

Function at 0x4789a8
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
jne 0x4789bd
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x47ed88
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x47edc1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00484550
jmp 0x47edca
mov eax, ebx
mov edx, esi
call fcn.00484504
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x483768
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x49c038]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x483800
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4837e0
xor eax, eax
push ebp
push 0x4837d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x48381c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4837e0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x49c038]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x49c038], ax
mov esp, ebp
pop ebp
ret
Function at 0x485814
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4859cc
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x485875
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4859e8
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4858e2
xor eax, eax
push ebp
push 0x4858db
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4858c4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x485a08
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4858e2
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4859c3
cmp byte [ebp - 0xd], 0
jne 0x485924
cmp byte [ebp - 0x12], 0
je 0x4859c3
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x48593d
dec ebx
cmp byte [ebx], 0x2e
je 0x48594c
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x48593c
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4859c3
inc ebx
cmp byte [ebp - 0x12], 0
je 0x485979
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4859c3
cmp byte [ebp - 0xd], 0
je 0x4859c3
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4859c3
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485d8c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x485e74
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x4a04cc], 1
jae 0x485e66
xor eax, eax
mov dword [0x4a00d8], eax
xor eax, eax
mov dword [0x4a00e0], eax
xor eax, eax
mov dword [0x4a00e4], eax
mov byte [0x4a00ea], 2
mov byte [0x4a00eb], 2
mov byte [0x4a00ec], 3
mov word [0x4a0494], 0
mov word [0x4a04a4], 1
mov word [0x4a04b4], 0xa
mov dword [0x4a04bc], 0x80020004
mov dword [0x4a0488], 0x485168
mov dword [0x4a048c], 0x485160
mov dword [0x4a0490], 0x485168
call fcn.00483738
test al, al
je 0x485e25
call fcn.00483768
call fcn.0048382c
mov eax, 0x4a00f0
mov edx, 0x485e80
call fcn.00480f82
mov eax, 0x4a02bc
mov edx, 0x485e80
call fcn.00480f82
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x4a00d0], eax
call fcn.00481f00
mov dword [0x4a00cc], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4a00c4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485e7b
ret
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
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
nop
pop eax
nop
nop
nop
mov esi, 0x11154091
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..rdata
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x51e6546e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219