joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452a80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9d1b
mov eax, dword fs:[0]
push eax
sub esp, 0xc80
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc84], esp
lea eax, [ebp + 8]
push eax
call fcn.004065b0
mov dword [ebp - 0xc8c], eax
call fcn.0043ce80
add esp, 0x18
mov byte [ebp - 0xc75], al
movzx ecx, byte [ebp - 0xc75]
test ecx, ecx
jne 0x452b05
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004066d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004066d0
jmp 0x452c1a
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp + 8]
call fcn.00406750
push eax
call fcn.00430000
add esp, 8
lea eax, [ebp - 0xc20]
push eax
lea ecx, [ebp + 0x20]
call fcn.00406750
push eax
call fcn.00430000
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc88], esp
lea edx, [ebp + 8]
push edx
call fcn.004065b0
mov dword [ebp - 0xc80], eax
lea eax, [ebp - 0xc38]
push eax
call fcn.0043de90
add esp, 0x1c
mov dword [ebp - 0xc7c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0xc38]
call fcn.00406750
push eax
call fcn.00430000
add esp, 8
mov dword [ebp - 0xc74], 0x3c
mov dword [ebp - 0xc70], 0
mov dword [ebp - 0xc6c], 0
mov dword [ebp - 0xc68], 0
lea edx, [ebp - 0x218]
mov dword [ebp - 0xc64], edx
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xc60], eax
lea ecx, [ebp - 0x420]
mov dword [ebp - 0xc5c], ecx
mov dword [ebp - 0xc58], 5
mov dword [ebp - 0xc54], 0
lea edx, [ebp - 0xc74]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc38]
call fcn.004066d0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004066d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004066d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00588685
mov esp, ebp
pop ebp
ret
Function at 0x452e20
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9d9b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1cc], 0
push 0x6151db
lea ecx, [ebp - 0x1c8]
call fcn.00406640
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 8]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004334a0
push 0x616c28
lea ecx, [ebp - 0x1c8]
call fcn.0040def0
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00406750
push eax
call fcn.00430000
add esp, 8
lea edx, [ebp - 0x1ac]
push edx
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x1a4]
push ecx
lea edx, [ebp - 0x1a8]
push edx
lea ecx, [ebp - 0x1c8]
call fcn.00406750
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x1a8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1a4]
xor eax, eax
mov ecx, dword [ebp + 0xc]
push eax
push edx
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call fcn.00590b00
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x1ac]
xor eax, eax
mov ecx, dword [ebp + 0xc]
push eax
push edx
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call fcn.00590b00
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x1a8]
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1a4]
xor eax, eax
mov ecx, dword [ebp + 0x10]
push eax
push edx
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call fcn.00590b00
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x1b0]
xor eax, eax
mov ecx, dword [ebp + 0x10]
push eax
push edx
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call fcn.00590b00
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.004066d0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00588685
mov esp, ebp
pop ebp
ret
Function at 0x452fe0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9de6
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1ec], 0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x1b0], xmm0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x1a8], xmm0
push 0x615215
lea ecx, [ebp - 0x1e0]
call fcn.00406640
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 0x1e1], 0x41
jmp 0x45306c
mov cl, byte [ebp - 0x1e1]
add cl, 1
mov byte [ebp - 0x1e1], cl
movsx edx, byte [ebp - 0x1e1]
cmp edx, 0x5a
jg 0x453189
push 0x6151f7
lea ecx, [ebp - 0x1c8]
call fcn.00406640
mov byte [ebp - 4], 1
movzx eax, byte [ebp - 0x1e1]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004334a0
push 0x616c2c
lea ecx, [ebp - 0x1c8]
call fcn.0040def0
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00406750
push eax
call fcn.00430000
add esp, 8
lea edx, [ebp - 0x1a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 1
je 0x453175
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f4], 3
je 0x453105
jmp 0x453175
lea ecx, [ebp - 0x1a8]
push ecx
lea edx, [ebp - 0x1b0]
push edx
movzx eax, byte [ebp - 0x1e1]
push eax
call fcn.00452e20
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1f0], ecx
mov edx, dword [ebp - 0x1f0]
mov eax, dword [ebp - 0x1a4]
cmp eax, dword [edx + 4]
jl 0x453175
jg 0x45314f
mov ecx, dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x1a8]
cmp edx, dword [ecx]
jbe 0x453175
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1a8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1a4]
mov dword [eax + 4], edx
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.004070f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c8]
call fcn.004066d0
jmp 0x45305d
lea ecx, [ebp - 0x1e0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406680
mov edx, dword [ebp - 0x1ec]
or edx, 1
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004066d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00588685
mov esp, ebp
pop ebp
ret
Function at 0x458ee0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x240], 0x616d50
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x240]
mov ax, word [edx]
mov word [ebp - 0x22a], ax
mov ecx, dword [ebp - 0x238]
mov dx, word [ebp - 0x22a]
mov word [ecx], dx
mov eax, dword [ebp - 0x240]
add eax, 2
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x238]
add ecx, 2
mov dword [ebp - 0x238], ecx
cmp word [ebp - 0x22a], 0
jne 0x458f1f
lea edx, [ebp - 0x228]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x458fab
push 0x61523a
mov ecx, dword [ebp + 8]
call fcn.00406640
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
jmp 0x45907c
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x45902d
mov dword [ebp - 0x23c], 0x616d54
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x23c]
mov ax, word [edx]
mov word [ebp - 0x22c], ax
mov ecx, dword [ebp - 0x230]
mov dx, word [ebp - 0x22c]
mov word [ecx], dx
mov eax, dword [ebp - 0x23c]
add eax, 2
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x230]
add ecx, 2
mov dword [ebp - 0x230], ecx
cmp word [ebp - 0x22c], 0
jne 0x458fe5
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.004300a0
add esp, 8
lea edx, [ebp - 0x224]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406680
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
lea ecx, [ebp - 0x224]
call fcn.004066d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00588685
mov esp, ebp
pop ebp
ret
Function at 0x45a9e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8f98
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x5c]
call fcn.004104d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 0x4e]
test ecx, ecx
je 0x45aa35
mov dword [ebp - 0x68], 1
jmp 0x45aa3c
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x14], edx
push 4
lea eax, [ebp - 0x14]
push eax
push 1
push 6
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov byte [ebp - 0x5c], 1
push 0x61525a
lea ecx, [ebp - 0x58]
call fcn.00408b60
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0041b4e0
mov ecx, dword [ebp - 0x60]
or ecx, 1
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00409a40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00588685
mov esp, ebp
pop ebp
ret 4
Function at 0x46fb69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x46fbae
call fcn.0047a494
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46fbae
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x46fbca
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0047a62d
mov ebx, eax
test edi, edi
je 0x46fbc8
test esi, esi
je 0x46fbc8
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x475ecc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0047a494
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x475f03
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00475f24
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4f0ba1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004798e7
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4f0bdd
call fcn.004f0dc0
mov dword [esi + 0xc], 1
jmp 0x4f0be2
call fcn.004f0dc0
cmp dword [esi], 0
je 0x4f0c2b
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4f0c05
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0046fc21
jmp 0x4f0c16
push 0xff
mov ecx, esi
call fcn.00413c40
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0046da9b
jmp 0x4f0c4f
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4f0c4f
push dword [esi]
push dword [ebp - 4]
call fcn.0047cfef
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f0d15
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004f0dc0
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4f0d5d
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0046fc21
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0046da9b
jmp 0x4f0d68
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0047cfef
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x5535e8
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00584419
call fcn.0047a4e8
cmp dword [eax + 0x14], 0
jne 0x553603
mov ecx, esi
pop esi
jmp fcn.005529ee
pop esi
ret

Function at 0x55fed9
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004cbae8
call fcn.0047a4e8
cmp dword [eax + 0x14], 0
jne 0x55fef4
mov ecx, esi
pop esi
jmp fcn.0055f7c2
pop esi
ret
Function at 0x5a0825
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x642490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00592e0e
mov dword [ebp - 0x14], eax
cmp dword [0x64f8c8], esi
jne 0x5a0918
push 0x800
push esi
push 0x60b170
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5a08a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5a09f8
push esi
push esi
push 0x60b170
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5a09f8
push 0x60b188
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5a09f8
push eax
call ebx
push 0x60b194
push edi
mov dword [0x64f8c8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x60b1a4
push edi
mov dword [0x64f8cc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x64f8d0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x64f8d8], eax
test eax, eax
je 0x5a0915
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x64f8d4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5a093d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5a0930
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5a0952
push 4
pop eax
jmp 0x5a09fa
cmp dword [ebp - 0x14], esi
je 0x5a0952
push dword [0x64f8c8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5a0937
mov eax, dword [0x64f8d4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5a09b0
cmp dword [0x64f8d8], edi
je 0x5a09b0
push eax
call ebx
push dword [0x64f8d8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5a09b0
test eax, eax
je 0x5a09b0
call ecx
test eax, eax
je 0x5a09a5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5a09a5
test byte [ebp - 8], 1
jne 0x5a09b0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5a09e0
mov eax, dword [0x64f8cc]
cmp eax, edi
je 0x5a09dd
push eax
call ebx
test eax, eax
je 0x5a09dd
call eax
mov esi, eax
test esi, esi
je 0x5a09dd
mov eax, dword [0x64f8d0]
cmp eax, edi
je 0x5a09dd
push eax
call ebx
test eax, eax
je 0x5a09dd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x64f8c8]
call ebx
test eax, eax
je 0x5a09f8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5a09fa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00588685
mov esp, ebp
pop ebp
ret
Function at 0x5b06d8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

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 0x10b3d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10b3d1a8
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 0x10b3d07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10b3d06a
add dl, dl
jne 0x10b3d089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10b3d0dc
xor eax, eax
add dl, dl
jne 0x10b3d096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10b3d17d
add dl, dl
jne 0x10b3d0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b3d0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b3d0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b3d0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10b3d0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10b3d075
mov eax, 1
add dl, dl
jne 0x10b3d0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b3d0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10b3d0e1
sub eax, ebx
mov ebx, 1
jne 0x10b3d128
mov ecx, 1
add dl, dl
jne 0x10b3d10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10b3d119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10b3d105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10b3d075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10b3d13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10b3d14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10b3d136
cmp eax, 0x7d00
jae 0x10b3d16d
cmp eax, 0x500
jb 0x10b3d168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10b3d075
cmp eax, 0x7f
ja 0x10b3d170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10b3d075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10b3d19e
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 0x10b3d075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403224
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4c9020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4032bc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40329c
xor eax, eax
push ebp
push 0x403295
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 0x4032d8
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 0x40329c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4c9020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4c9020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403fc8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4cd04c], 0
je 0x404029
cmp word [0x4cd220], 0xd7b2
jne 0x403ff1
cmp dword [0x4cd228], 0
jbe 0x403ff1
mov eax, 0x4cd21c
call dword [0x4cd238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4c906c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404050
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4c9030], 0
jne 0x404045
push 0
push 0x4c9064
push 0x4c906c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret