joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44cd4c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46ac00]
cmp dword [eax + 0x30], 0
je 0x44cdf6
cmp dword [ebx + 0x94], 0
jne 0x44cdf0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44ccdc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44cdf0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44cdb6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44cdf0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413db8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44cdc5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44d8d4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44d909
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404504
jmp 0x44d916
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404468
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44e9c4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44ea05
mov eax, esi
call fcn.00435070
test al, al
je 0x44ea05
mov eax, dword [ebx + 0x84]
call fcn.00434d6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44ea05
push 0
mov eax, dword [ebx + 0x84]
call fcn.00434d6c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45025c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4502e5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x46ac2c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4502cf
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00409754
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x4502fc
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4697ac]
mov dl, 1
mov eax, dword [0x44f6f8]
call fcn.0040a0a0
call fcn.00403df0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4502ec
lea eax, [ebp - 0x1c]
call fcn.00404414
ret
Function at 0x4509b0
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004508d4
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403820
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x450a14
call fcn.004501a4
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x450a06
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403820
pop esi
pop ebx
ret

Function at 0x450a38
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.004048c4
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402f38
test ebx, ebx
je 0x450a83
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x450b60
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x450b91
mov ecx, dword [0x46987c]
mov dl, 1
mov eax, dword [0x44f6f8]
call fcn.0040a064
call fcn.00403df0
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x450bbe
mov ecx, dword [0x4696b8]
mov dl, 1
mov eax, dword [0x44f6f8]
call fcn.0040a064
call fcn.00403df0
xor eax, eax
push ebp
push 0x450c3f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403820
cmp byte [ebp + 8], 0
je 0x450c19
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00450ac8
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00450930
jmp 0x450c35
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00450490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x450c5c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x450e40
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00450758
xor eax, eax
push ebp
push 0x450fb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x450f9c
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x450e8b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x450e95
call fcn.00403e9c
jmp 0x450fb9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415e00
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 8]
mov ebx, eax
test ebx, ebx
jle 0x450f91
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x450f43
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x450f30
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403820
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00450df8
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x450fc4]
cmp dl, byte [eax + 0x28]
je 0x450f98
call fcn.00409f4c
jmp 0x450f98
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415e20
jmp 0x450f98
cmp ecx, ebx
jge 0x450f5f
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415e20
jmp 0x450e95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415e00
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00415e34
cmp edx, dword [esp + 4]
jne 0x450f80
cmp eax, dword [esp]
pop edx
pop eax
jne 0x450e95
push ebp
call fcn.00450df8
pop ecx
jmp 0x450f98
push ebp
call fcn.00450df8
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450fb9
mov eax, dword [ebp - 4]
call fcn.00450764
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450fe0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451102
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00450758
xor eax, eax
push ebp
push 0x4510e5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x451030
call fcn.00403e9c
jmp 0x4510ec
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4510cf
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x4510cf
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403820
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x4510cf
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00409754
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x45111c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4697ac]
mov dl, 1
mov eax, dword [0x44f6f8]
call fcn.0040a0a0
call fcn.00403df0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4510ec
mov eax, dword [ebp - 4]
call fcn.00450764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451109
lea eax, [ebp - 0x28]
call fcn.00404414
ret
Function at 0x451168
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4512b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00450758
xor eax, eax
push ebp
push 0x451295
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4511cd
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4511cd
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x45127f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4511e0
call fcn.00403e9c
jmp 0x45129c
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45127f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45127f
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403820
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x45127f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00409754
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4512cc
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4697ac]
mov dl, 1
mov eax, dword [0x44f6f8]
call fcn.0040a0a0
call fcn.00403df0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45129c
mov eax, dword [ebp - 4]
call fcn.00450764
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4512b9
lea eax, [ebp - 0x28]
call fcn.00404414
ret
Function at 0x45566c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x45569a
mov eax, ebx
call fcn.00456124
cmp dword [ebx + 0x3c], 0
je 0x455693
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x45570b
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4556fd
cmp dword [ebx + 8], 0
je 0x4556bc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4556ce
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4556fd
cmp dword [ebx + 8], 0
je 0x4556af
cmp eax, 3
je 0x4556e1
dec eax
jne 0x4556af
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4556af
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4556af
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x455729
cmp dword [ebx + 0x10], 0xcc
je 0x455729
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00455734
pop ebx
ret

Function at 0x465a54
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004657d0
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.004048c4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x465ab2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4696d4]
mov dl, 1
mov eax, dword [0x4656f4]
call fcn.0040a0a0
call fcn.00403df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x465f38
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x465fe4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x465754]
call fcn.00465800
mov dword [ebp - 4], eax
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.004658a0
xor eax, eax
push ebp
push 0x465fc7
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, 0x465ff8
mov eax, dword [ebp - 4]
call fcn.00465904
lea edx, [ebp - 8]
mov eax, dword [0x46973c]
mov eax, dword [eax]
call fcn.0044e36c
mov ecx, dword [ebp - 8]
mov edx, 0x466030
mov eax, dword [ebp - 4]
call fcn.00465a28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465fce
mov eax, dword [ebp - 4]
call fcn.00465870
mov eax, dword [ebp - 4]
call fcn.00403624
ret
Function at 0x40102b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 1
call fcn.00401e67
test eax, eax
jne 0x4010c5
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x403148
sub eax, 0x4026e6
mov dword [esp], 0x4026e6
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x4010c5
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401d2e
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0040226c
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1be00
mov dword [esp], 0x40400c
call fcn.00402e4b
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x401e67
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x250
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
call ebx
push edx
mov dword [ebp - 0x228], eax
call esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x21c], 6
push ecx
push ecx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push esi
push esi
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x220], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push edx
push edx
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x238]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
mov dword [esp], 0
call ebx
lea ebx, [ebp - 0x210]
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push ecx
push ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a
mov dword [esp], 0
call dword [sym.imp.SHELL32.DLL_SHGetFolderPathW]
sub esp, 0x14
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 5]
push esi
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x422920
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
jmp 0x42293a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422941
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422930
mov eax, 1
add ebx, ebx
jne 0x422953
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422948
jne 0x422964
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422948
xor ecx, ecx
sub eax, 3
jb 0x422978
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4229ea
mov ebp, eax
add ebx, ebx
jne 0x422983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422990
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4229b4
inc ecx
add ebx, ebx
jne 0x4229a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x422995
jne 0x4229b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422995
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4229d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4229c5
jmp 0x422936
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4229d4
add edi, ecx
jmp 0x422936
pop esi
mov edi, esi
mov ecx, 0x4ae
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4229f2
cmp byte [edi], 9
jne 0x4229f2
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 0x4229f7
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x422a6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22f08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22ff8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422a24
mov ecx, edi
jns 0x422a53
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 + 0x22ffc]
or eax, eax
je 0x422a69
mov dword [ebx], eax
add ebx, 4
jmp 0x422a41
call dword [esi + 0x2300c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x422aa0
cmp al, 0xef
ja 0x422a93
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x422a75
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x422a82
mov ebp, dword [esi + 0x23000]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x15f]
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 0x422ad4
sub esp, 0xffffff80
jmp 0x413df9
Function at 0x4048d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x551a60]
push ebx
push esi
push edi
push eax
call dword [0x5002a4]
mov ebx, eax
test ebx, ebx
jne 0x4048ec
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret
lea ecx, [ebx + 0x4ec6]
push ebp
push ecx
call fcn.0040d470
mov ebp, dword [esp + 0x18]
add esp, 4
xor edi, edi
call fcn.0040d3c0
xor edx, edx
mov esi, eax
mov dl, byte [edi + ebp]
xor esi, edx
push esi
call fcn.0040d3f0
add esp, 4
inc edi
cmp edi, 0xc
jl 0x404902
mov al, byte [ebx + 0x45ae]
pop ebp
test al, 8
je 0x404938
xor eax, eax
mov ax, word [ebx + 0x45b2]
shr eax, 8
jmp 0x40494d
mov eax, dword [ebx + 0x4e68]
xor ecx, ecx
shr eax, 0x10
mov cl, ah
and ecx, 0xff
mov eax, ecx
and esi, 0xffff
cmp esi, eax
je 0x40495e
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret
mov edx, dword [ebx + 0x4534]
mov eax, dword [ebx + 0x14f30]
xor ecx, ecx
cmp ecx, edx
jl 0x404980
jg 0x40497a
cmp eax, dword [ebx + 0x4530]
jbe 0x404980
mov eax, dword [ebx + 0x4530]
mov esi, dword [ebx + 0x14f2c]
mov edx, eax
dec eax
test edx, edx
je 0x4049ac
lea edi, [eax + 1]
call fcn.0040d3c0
mov ebx, eax
xor eax, eax
mov al, byte [esi]
xor ebx, eax
push ebx
call fcn.0040d3f0
add esp, 4
mov byte [esi], bl
inc esi
dec edi
jne 0x404990
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x40d3f0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [0x551a60]
push eax
call dword [0x5002a4]
test eax, eax
je 0x40d468
mov edx, dword [eax + 0x4f08]
push esi
mov esi, dword [esp + 8]
mov ecx, edx
xor ecx, esi
and ecx, 0xff
shr edx, 8
mov ecx, dword [ecx*4 + 0x54a374]
xor ecx, edx
mov edx, dword [eax + 0x4f0c]
mov dword [eax + 0x4f08], ecx
and ecx, 0xff
add ecx, edx
mov edx, dword [eax + 0x4f10]
imul ecx, ecx, 0x8088405
inc ecx
mov esi, edx
mov dword [eax + 0x4f0c], ecx
and esi, 0xff
shr ecx, 0x18
xor ecx, esi
pop esi
shr edx, 8
mov ecx, dword [ecx*4 + 0x54a374]
xor ecx, edx
mov dword [eax + 0x4f10], ecx
ret

Function at 0x40d4c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
mov edx, ecx
dec ecx
mov eax, dword [edi + 0x14f14]
test edx, edx
je 0x40d507
push ebx
push esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x54a374]
xor eax, edx
inc ecx
dec esi
jne 0x40d4df
pop esi
mov dword [edi + 0x14f14], eax
pop ebx
pop edi
ret
mov dword [edi + 0x14f14], eax
pop edi
ret