joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d0d4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x46d127
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0044db2c
test al, al
je 0x46d127
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0044d65c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46d127
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0044d65c
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x46f264
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x46f29c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46f27a
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46f289
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46f298
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x470d38
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00403144
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0x14]
call fcn.00470a28
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x470e88
Capabilities:
Set registry value

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 al, byte [ebp + 8]
call fcn.004709d8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x470ef0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [0x4df594]
mov dl, 1
mov eax, dword [0x4708b4]
call fcn.0040dd40
call fcn.00404074
mov esp, ebp
pop ebp
ret 8
Function at 0x470ef8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404b48
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x470f5a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x4df9f8]
mov dl, 1
mov eax, dword [0x4708b4]
call fcn.0040dd40
call fcn.00404074
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.00470a28
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x47f6d8
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x47f767
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4e0cb8
push 0x101
call sub.wsock32.dll_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47f751
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040d278
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
mov eax, 0x47f77c
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x1c]
push eax
push 2
mov ecx, dword [0x4df7c4]
mov dl, 1
mov eax, dword [0x47eb60]
call fcn.0040dd40
call fcn.00404074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f76e
lea eax, [ebp - 0x20]
call fcn.00404698
ret

Function at 0x47fe2c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov al, byte [0x47fea8]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
je 0x47fe5e
mov dword [ebp - 8], 0x401
mov eax, dword [ebp - 4]
call fcn.0047ffd4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x28]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
mov al, byte [0x47fea8]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
jne 0x47fea1
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x8004667e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
mov esp, ebp
pop ebp
ret
Function at 0x47ff4c
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0047fe2c
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403abc
push 0x10
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x47ffcc
call fcn.0047f60c
mov eax, dword [ebp - 4]
mov byte [eax + 0x29], 0
mov eax, dword [ebp - 4]
test byte [eax + 0x28], 0x10
jne 0x47ffbd
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 8], al
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403abc
pop esi
pop ecx
pop ebp
ret

Function at 0x48016c
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404b48
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 4
call fcn.00403144
cmp dword [ebp - 0x10], 0
je 0x4801db
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 1]
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 2]
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 3]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4802e4
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x480316
mov ecx, dword [0x4df9bc]
mov dl, 1
mov eax, dword [0x47eb60]
call fcn.0040dcf8
call fcn.00404074
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x480347
mov ecx, dword [0x4df53c]
mov dl, 1
mov eax, dword [0x47eb60]
call fcn.0040dcf8
call fcn.00404074
xor eax, eax
push ebp
push 0x4803ca
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.00403abc
cmp byte [ebp + 8], 0
je 0x4803a3
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00480238
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x1c]
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.0047feac
jmp 0x4803c0
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 - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047f970
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4803e7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48062c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0047fc68
xor eax, eax
push ebp
push 0x4807ab
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 0x480795
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x480677
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x480681
call fcn.00404120
jmp 0x4807b2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0042339c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1018]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x48078a
push 0
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x480737
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2733
je 0x480724
lea eax, [ebp - 0x18]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403abc
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.004805e4
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4807bc]
cmp dl, byte [eax + 0x28]
je 0x480791
call fcn.0040dbc4
jmp 0x480791
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004233c4
jmp 0x480791
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jle 0x480758
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004233c4
jmp 0x480681
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0042339c
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004233e0
cmp edx, dword [esp + 4]
jne 0x480779
cmp eax, dword [esp]
pop edx
pop eax
jne 0x480681
push ebp
call fcn.004805e4
pop ecx
jmp 0x480791
push ebp
call fcn.004805e4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4807b2
mov eax, dword [ebp - 4]
call fcn.0047fc80
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4807c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4808ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047fc68
xor eax, eax
push ebp
push 0x4808cd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x480812
call fcn.00404120
jmp 0x4808d4
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4808b7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x4808b7
lea eax, [ebp - 0x14]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403abc
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 - 0x14], 0
je 0x4808b7
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.0040d278
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x480904
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x4df7c4]
mov dl, 1
mov eax, dword [0x47eb60]
call fcn.0040dd40
call fcn.00404074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4808d4
mov eax, dword [ebp - 4]
call fcn.0047fc80
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4808f1
lea eax, [ebp - 0x30]
call fcn.00404698
ret
Function at 0x48097c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x480acf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0047fc68
xor eax, eax
push ebp
push 0x480ab2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4809e4
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4809e4
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x480a9c
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4809f7
call fcn.00404120
jmp 0x480ab9
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x480a9c
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x480a9c
lea eax, [ebp - 0x14]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403abc
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 - 0x14], 0
je 0x480a9c
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.0040d278
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x480ae8
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
mov ecx, dword [0x4df7c4]
mov dl, 1
mov eax, dword [0x47eb60]
call fcn.0040dd40
call fcn.00404074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480ab9
mov eax, dword [ebp - 4]
call fcn.0047fc80
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x480ad6
lea eax, [ebp - 0x30]
call fcn.00404698
ret

Function at 0x483e6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x483ed1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_LockResource
mov esi, eax
mov dword [ebx + 0xc], esi
test esi, esi
jne 0x483ebb
lea ecx, [ebp - 4]
mov edx, 2
mov eax, dword [0x4e0e4c]
call fcn.00483cd8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x483aa4]
call fcn.0040dc20
call fcn.00404074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483ed8
lea eax, [ebp - 4]
call fcn.00404698
ret
Function at 0x483ee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x484019
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
mov ecx, 0xff
mov edx, dword [ebp - 4]
call fcn.00409ef4
mov eax, ebx
call fcn.00405f6c
mov ebx, eax
push 0xa
lea eax, [ebp - 0x104]
push eax
push ebx
call sub.kernel32.dll_FindResourceA
mov esi, eax
test esi, esi
jne 0x483fa6
mov ebx, dword [0x4e0718]
push 0xa
lea eax, [ebp - 0x104]
push eax
push ebx
call sub.kernel32.dll_FindResourceA
mov esi, eax
test esi, esi
jne 0x483ffb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 0x108], 0xb
lea eax, [ebp - 0x10c]
push eax
push 0
lea ecx, [ebp - 0x110]
mov edx, 3
mov eax, dword [0x4e0e4c]
call fcn.00483cd8
mov ecx, dword [ebp - 0x110]
mov dl, 1
mov eax, dword [0x483aa4]
call fcn.0040dc68
call fcn.00404074
jmp 0x483ffb
push esi
push ebx
call sub.kernel32.dll_LoadResource
mov dword [edi + 8], eax
cmp dword [edi + 8], 0
jne 0x483ffb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 0x108], 0xb
lea eax, [ebp - 0x10c]
push eax
push 0
lea ecx, [ebp - 0x114]
mov edx, 4
mov eax, dword [0x4e0e4c]
call fcn.00483cd8
mov ecx, dword [ebp - 0x114]
mov dl, 1
mov eax, dword [0x483aa4]
call fcn.0040dc68
call fcn.00404074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484020
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.004046bc
ret

Function at 0x4860d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b38
xor eax, eax
push ebp
push 0x486168
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00486358
test al, al
jne 0x486117
lea eax, [ebp - 0x20c]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
jmp 0x486125
lea eax, [ebp - 0x20c]
mov edx, dword [ebp - 4]
call fcn.00409ec0
lea eax, [ebp - 0x108]
push eax
xor bl, 1
xor eax, eax
mov al, bl
push eax
push 0x486178
lea eax, [ebp - 0x20c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, esi
lea eax, [ebp - 0x108]
call fcn.0040a040
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48616f
lea eax, [ebp - 4]
call fcn.00404698
ret
Function at 0x4861b4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b38
xor eax, eax
push ebp
push 0x486253
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00409c8c
mov edx, dword [ebp - 0x10]
mov eax, 0x48626c
call fcn.00404c8c
mov esi, eax
test esi, esi
jle 0x486235
mov eax, dword [ebp - 0x10]
call fcn.00404950
mov ecx, eax
sub ecx, esi
lea edx, [esi + 1]
lea eax, [ebp - 0x10]
call fcn.00404be8
mov eax, dword [ebp - 0x10]
call fcn.00404950
mov ecx, eax
lea eax, [ebp - 9]
mov edx, dword [ebp - 0x10]
call fcn.00409ef4
lea eax, [ebp - 9]
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48625a
lea eax, [ebp - 0x10]
call fcn.00404698
lea eax, [ebp - 4]
call fcn.00404698
ret

Function at 0x486270
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b38
xor eax, eax
push ebp
push 0x486331
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00409c8c
mov edx, dword [ebp - 0x20]
mov eax, 0x486348
call fcn.00404c8c
mov ebx, eax
test ebx, ebx
jle 0x486313
mov eax, dword [ebp - 0x20]
call fcn.00404950
mov ecx, eax
sub ecx, ebx
lea edx, [ebx + 1]
lea eax, [ebp - 0x20]
call fcn.00404be8
lea eax, [ebp - 0x20]
mov edx, 0x486354
call fcn.00404958
mov eax, dword [ebp - 0x20]
call fcn.00404950
mov ecx, eax
lea eax, [ebp - 0x19]
mov edx, dword [ebp - 0x20]
call fcn.00409ef4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x19]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
mov esi, dword [ebp - 8]
imul esi, dword [ebp - 0xc]
imul esi, dword [ebp - 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486338
lea eax, [ebp - 0x20]
call fcn.00404698
lea eax, [ebp - 4]
call fcn.00404698
ret

Function at 0x486358
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, eax
xor ebx, ebx
mov edx, esi
mov eax, 0x4863b4
call fcn.00404c8c
test eax, eax
jne 0x48639e
mov edx, esi
mov eax, 0x4863c0
call fcn.00404c8c
test eax, eax
jne 0x48639e
mov eax, esp
mov edx, esi
call fcn.00409ec0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x48639e
test al, 0x10
je 0x48639e
mov bl, 1
mov eax, ebx
add esp, 0x100
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
mov esi, dword [eax]
movzx ecx, cx
dec ecx
test ecx, ecx
jl 0x487253
inc ecx
mov ebx, esi
xor bl, byte [edx]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4ddf84]
shr esi, 8
and esi, 0xffffff
xor ebx, esi
mov esi, ebx
inc edx
dec ecx
jne 0x487231
mov dword [eax], esi
pop esi
pop ebx
ret