joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cfdc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4bd204]
cmp byte [eax + 0xc], 0
je 0x45d149
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d142
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bf6ac], 0
jne 0x45d030
push 0x45d150
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45d158
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bf6ac], eax
cmp dword [0x4bb1f0], 0
jne 0x45d12b
push 0x45d168
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4bb1f0], eax
cmp dword [0x4bb1f0], 0
je 0x45d12b
push 0x45d174
mov eax, dword [0x4bb1f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bf6b0], eax
push 0x45d184
mov eax, dword [0x4bb1f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bf6b4], eax
push 0x45d198
mov eax, dword [0x4bb1f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bf6b8], eax
push 0x45d1b0
mov eax, dword [0x4bb1f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bf6bc], eax
push 0x45d1c8
mov eax, dword [0x4bb1f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bf6c0], eax
push 0x45d1dc
mov eax, dword [0x4bb1f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bf6c4], eax
push 0x45d1f4
mov eax, dword [0x4bb1f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bf6c8], eax
push 0x45d20c
mov eax, dword [0x4bb1f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bf6cc], eax
push 0x45d228
mov eax, dword [0x4bb1f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bf6d0], eax
push 0x45d234
mov eax, dword [0x4bb1f0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bf6d4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d149
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45dde8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x27
push 0
push 0
dec ecx
jne 0x45ddf0
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45e02d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, esi
call fcn.0040931c
lea eax, [ebp - 0x104]
mov edx, 0x104
call fcn.00407ebc
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x108]
mov eax, dword [ebx]
call fcn.0040931c
mov edx, dword [ebp - 0x108]
mov eax, 0x45e044
call fcn.004051b8
dec eax
jne 0x45de9c
mov al, byte [0x45e050]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x104]
mov ecx, 0x104
call fcn.00404e24
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebx]
mov edx, 0x45e044
call fcn.0040ef54
mov edx, dword [ebp - 0x10c]
mov eax, ebx
call fcn.00404c08
jmp 0x45e00f
lea edx, [ebp - 0x114]
mov eax, dword [ebx]
call fcn.0040931c
mov edx, dword [ebp - 0x114]
mov eax, 0x45e05c
call fcn.004051b8
dec eax
jne 0x45df1f
mov al, byte [0x45e050]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x104]
mov ecx, 0x104
call fcn.00404e24
mov eax, dword [ebp - 0x120]
mov ecx, 2
mov edx, 1
call fcn.004050d4
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebx]
mov edx, 0x45e05c
call fcn.0040ef54
mov edx, dword [ebp - 0x118]
mov eax, ebx
call fcn.00404c08
jmp 0x45e00f
mov edx, dword [ebx]
mov eax, 0x45e074
call fcn.004051b8
test eax, eax
jle 0x45df5c
mov al, byte [0x45e07c]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 0x45e074
call fcn.0040ef54
mov edx, dword [ebp - 0x124]
mov eax, ebx
call fcn.00404c08
jmp 0x45e00f
lea edx, [ebp - 0x128]
mov eax, dword [ebx]
call fcn.0040931c
mov edx, dword [ebp - 0x128]
mov eax, 0x45e088
call fcn.004051b8
dec eax
jne 0x45dfc0
mov al, byte [0x45e07c]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x130]
lea edx, [ebp - 0x104]
mov ecx, 0x104
call fcn.00404e24
mov ecx, dword [ebp - 0x130]
mov eax, dword [ebx]
mov edx, 0x45e088
call fcn.0040ef54
mov edx, dword [ebp - 0x12c]
mov eax, ebx
call fcn.00404c08
jmp 0x45e00f
lea edx, [ebp - 0x134]
mov eax, dword [ebx]
call fcn.0040931c
mov edx, dword [ebp - 0x134]
mov eax, 0x45e0a0
call fcn.004051b8
dec eax
jne 0x45e00f
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x104]
mov ecx, 0x104
call fcn.00404e24
push dword [ebp - 0x138]
push 0x45e0b4
push dword [ebx]
mov eax, ebx
mov edx, 3
call fcn.00404f34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e034
lea eax, [ebp - 0x138]
mov edx, 0xd
call fcn.00404bd8
ret
Function at 0x45e0b8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, edx
mov ebx, eax
mov byte [esp], 0
mov eax, ebx
call fcn.00409dec
test al, al
jne 0x45e10f
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
jmp 0x45e0fa
mov eax, ebx
call fcn.00409e20
push 0x32
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
sub esi, edi
imul eax, ebp, 0x3e8
cmp esi, eax
jae 0x45e105
mov eax, ebx
call fcn.00409dfc
test al, al
je 0x45e0d9
mov eax, ebx
call fcn.00409dfc
mov byte [esp], al
mov al, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45e208
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x4bd054]
cmp dword [eax], 0
je 0x45e228
mov eax, dword [0x4bd054]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x4bd054]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4bcb00]
cmp dword [eax], 0
je 0x45e257
push 0
mov eax, dword [0x4bcb00]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x4bcb00]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x4bcb00]
xor edx, edx
mov dword [eax], edx
ret

Function at 0x45e2dc
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405064
mov eax, dword [ebp - 8]
call fcn.00405064
xor eax, eax
push ebp
push 0x45e3a8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x45e381
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00409dec
test al, al
je 0x45e336
mov eax, dword [ebp - 8]
call fcn.00405074
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0040a080
mov eax, dword [ebp - 0xc]
call fcn.00409dfc
test al, al
jne 0x45e355
mov eax, dword [ebp - 0xc]
call fcn.00409e20
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405074
push eax
mov eax, dword [ebp - 4]
call fcn.00405074
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45e38d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e3af
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bd8
ret
Function at 0x45e910
Capabilities:
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45ea09
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor edx, edx
push ebp
push 0x45e9e4
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
mov eax, dword [ebp - 8]
call fcn.00402bcc
mov ebx, eax
lea eax, [ebp - 8]
push eax
push ebx
push 0
call sub.wininet.dll_FindFirstUrlCacheEntryA
test eax, eax
je 0x45e987
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 8]
call fcn.00404dac
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040a080
jmp 0x45e99a
lea eax, [ebp - 0xc]
mov edx, dword [0x4bd00c]
mov ecx, 0x105
call fcn.00404e24
mov eax, ebx
call fcn.00402bfc
mov eax, dword [ebp - 0xc]
call fcn.00404e74
mov edx, dword [ebp - 0xc]
cmp byte [edx + eax - 1], 0x5c
je 0x45e9c0
lea eax, [ebp - 0xc]
mov edx, 0x45ea24
call fcn.00404e7c
lea eax, [ebp - 0xc]
mov edx, 0x45ea30
call fcn.00404e7c
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.0045e2dc
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45e9ee
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ea10
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404bd8
ret

Function at 0x45ed0c
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405064
xor eax, eax
push ebp
push 0x45ee5c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x45ee34
push dword fs:[edx]
mov dword fs:[edx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x110]
mov edx, dword [ebp - 4]
call fcn.0040a2bc
lea eax, [ebp - 0x110]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45ee22
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x45ee1c
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45ee16
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 1]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x120], 0
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 3]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 0x118], 0
lea edx, [ebp - 0x134]
mov ecx, 3
mov eax, 0x45ee74
call fcn.0040a964
mov edx, dword [ebp - 0x114]
mov eax, ebx
call fcn.00404c08
mov byte [ebp - 5], 1
jmp 0x45ee26
mov byte [ebp - 5], 0
jmp 0x45ee26
mov byte [ebp - 5], 0
jmp 0x45ee26
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ee3b
ret
Function at 0x45ee80
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45ef86
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, esi
call fcn.0045ed0c
test al, al
jne 0x45eebd
lea eax, [ebp - 4]
mov edx, 0x45efa0
call fcn.00404c4c
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx], eax
cmp dword [ebx], 0xffffffff
jne 0x45eed9
mov ebx, 2
jmp 0x45ef70
mov word [ebp - 0x14], 2
push edi
call sub.wsock32.dll_htons
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 4]
call fcn.00405074
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x10], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_connect
inc eax
jne 0x45ef1a
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_closesocket
mov ebx, 3
jmp 0x45ef70
push 4
lea eax, [ebp + 8]
push eax
push 0x1006
push 0xffff
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_setsockopt
inc eax
jne 0x45ef44
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_closesocket
mov ebx, 4
jmp 0x45ef70
push 4
lea eax, [ebp + 8]
push eax
push 0x1005
push 0xffff
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_setsockopt
inc eax
jne 0x45ef6e
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_closesocket
mov ebx, 5
jmp 0x45ef70
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ef8d
lea eax, [ebp - 4]
call fcn.00404bb4
ret
Function at 0x45efb0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x102c], ebx
mov dword [ebp - 0x1028], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
call fcn.00405064
mov eax, dword [ebp - 8]
call fcn.00405064
xor eax, eax
push ebp
push 0x45f1b0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x45f14f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
call fcn.00404bb4
mov dword [ebp - 0xc], 0xffffffff
mov word [ebp - 0x20], 2
push ebx
call sub.wsock32.dll_htons
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 4]
call fcn.00405074
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x1c], eax
push 0x2710
lea eax, [ebp - 0xc]
mov ecx, ebx
mov edx, dword [ebp - 4]
call fcn.0045ee80
test eax, eax
je 0x45f06a
mov ebx, 2
mov eax, dword [ebp + 0xc]
mov edx, 0x45f1cc
call fcn.00404c08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f185
xor esi, esi
mov eax, dword [ebp - 8]
call fcn.00405074
mov dword [ebp - 0x10], eax
cmp edi, esi
jle 0x45f0da
lea eax, [ebp - 0x1021]
xor ecx, ecx
mov edx, 0x1001
call fcn.0040362c
mov eax, edi
sub eax, esi
cmp eax, 0x1000
jle 0x45f09f
mov ebx, 0x1000
jmp 0x45f0a3
mov ebx, edi
sub ebx, esi
lea eax, [ebp - 0x1021]
mov ecx, ebx
mov edx, dword [ebp - 0x10]
call fcn.00407eb4
push 0
lea eax, [ebp - 0x1021]
call fcn.0040a224
push eax
lea eax, [ebp - 0x1021]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_send
add dword [ebp - 0x10], ebx
add esi, ebx
cmp edi, esi
jg 0x45f07b
lea eax, [ebp - 0x1021]
xor ecx, ecx
mov edx, 0x1000
call fcn.0040362c
push 0
push 0x1000
lea eax, [ebp - 0x1021]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
jle 0x45f130
lea eax, [ebp - 0x1028]
lea edx, [ebp - 0x1021]
mov ecx, 0x1001
call fcn.00404e24
mov edx, dword [ebp - 0x1028]
mov eax, dword [ebp + 0xc]
call fcn.00404e7c
mov eax, dword [ebp + 0xc]
cmp byte [ebp + 8], 0
je 0x45f13a
test ebx, ebx
jg 0x45f0da
mov eax, dword [ebp - 0xc]
push eax
call sub.wsock32.dll_closesocket
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f185
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f1b7
lea eax, [ebp - 0x102c]
mov edx, 2
call fcn.00404bd8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404bd8
ret

Function at 0x45f4f4
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x45f50d
mov al, 1
jmp 0x45f50f
xor eax, eax
add esp, 0x190
ret
Function at 0x470c28
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41a694]
call fcn.00405624
xor eax, eax
push ebp
push 0x470d6c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bb4d0], 0
jne 0x470c7b
mov ecx, dword [0x4bcb10]
mov dl, 1
mov eax, dword [0x4085c4]
call fcn.0040da60
call fcn.004045ac
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040362c
mov eax, ebx
call fcn.00405480
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x470d7c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004069b4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405490
test eax, eax
jle 0x470d13
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x470d0c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404e3c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404e24
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004094d4
test eax, eax
jne 0x470d0c
mov ebx, 0x15
jmp 0x470d18
mov ebx, 0x10
jmp 0x470d18
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4bb4d0]
call fcn.00470b24
mov eax, dword [ebp - 8]
call fcn.00470b24
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004069cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470d73
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404bd8
lea eax, [ebp - 0x10]
mov edx, dword [0x41a694]
call fcn.004056f4
ret

Function at 0x48b493
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4bc256
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48b4eb
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4bc277
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x48b4e1
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x48b4ef
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x49894c
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
push 0x4989a0
push 0
push 0x1f0001
call sub.kernel32.dll_OpenMutexA
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x49897f
mov byte [ebp - 5], 0
jmp 0x498996
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
jne 0x498996
mov byte [ebp - 5], 0
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x498b90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x498c01
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a964
lea eax, [ebp - 0x14]
mov ecx, 0x498c18
mov edx, dword [ebp - 0x10]
call fcn.00404ec0
mov eax, dword [ebp - 0x14]
call fcn.00405074
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498c08
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404bd8
ret

Function at 0x499978
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x499a68
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
push ebp
push 0x499a41
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
mov edx, 0x44
call fcn.00407ebc
lea eax, [ebp - 4]
call fcn.00499754
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a080
push 0x499a80
push dword [ebp - 4]
push 0x499a8c
push esi
push 0x499a80
lea eax, [ebp - 8]
mov edx, 5
call fcn.00404f34
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405074
push eax
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00405074
push eax
mov eax, dword [ebp - 4]
call fcn.00405074
push eax
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x499a37
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x499a4d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499a6f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bd8
ret

Function at 0x49d12c
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0049cbcc
test byte [ebx + 0x23d], 4
jne 0x49d1c1
mov edx, esp
mov eax, ebx
call fcn.0045198c
push esp
mov eax, ebx
call fcn.004585a8
push eax
push 0
mov eax, ebx
test eax, eax
je 0x49d161
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x49d192
mov ecx, dword [0x4bcdec]
mov dl, 1
mov eax, dword [0x4707e4]
call fcn.0040da60
call fcn.004045ac
mov eax, ebx
call fcn.0049d6f8
cmp byte [ebx + 0x57], 0
jne 0x49d1c8
mov eax, ebx
call fcn.004587ac
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49d1c8
push 0
mov eax, ebx
call fcn.004587ac
push eax
call sub.user32.dll_ShowWindow
jmp 0x49d1c8
mov eax, ebx
call fcn.0045572c
add esp, 0x10
pop ebx
ret
Function at 0x4b05c0
Capabilities:
Check os version

Disassembly:
add esp, 0xffffffc0
mov eax, esp
xor ecx, ecx
mov edx, 0x40
call fcn.0040362c
call sub.kernel32.dll_GetVersion_1
and eax, 0xff
cmp eax, 5
jb 0x4b05fa
mov edx, 0x4b0644
mov eax, esp
call fcn.0040a260
mov edx, 0x4b0650
mov eax, esp
call fcn.0040a310
jmp 0x4b0612
mov edx, 0x4b0668
mov eax, esp
call fcn.0040a260
mov edx, 0x4b0650
mov eax, esp
call fcn.0040a310
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_CreateFileA_1
cmp eax, 0xffffffff
je 0x4b063d
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x4b063f
xor eax, eax
add esp, 0x40
ret

Function at 0x4b0670
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4b0840
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
or eax, 0xff
cmp eax, 5
jb 0x4b06a8
lea eax, [ebp - 8]
mov edx, 0x4b0858
call fcn.00404c4c
jmp 0x4b06b5
lea eax, [ebp - 8]
mov edx, 0x4b087c
call fcn.00404c4c
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 8]
call fcn.00405074
push eax
call sub.kernel32.dll_CreateFileA_1
cmp eax, 0xffffffff
je 0x4b0780
push eax
call sub.kernel32.dll_CloseHandle_1
lea eax, [ebp - 0xc]
call fcn.0045e258
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0x4b0898
call fcn.00404ec0
mov eax, dword [ebp - 4]
call fcn.00409dec
test al, al
jne 0x4b0712
mov ebx, 1
jmp 0x4b0825
xor eax, eax
push ebp
push 0x4b0761
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405074
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4bca74], eax
push 0x4b08a4
mov eax, dword [0x4bca74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c02fc], eax
mov dword [0x4bca80], 1
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b0825
call fcn.004b05c0
test al, al
je 0x4b0820
lea eax, [ebp - 0x10]
call fcn.0045e258
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x4b08b8
call fcn.00404ec0
mov eax, dword [ebp - 4]
call fcn.00409dec
test al, al
jne 0x4b07b8
mov ebx, 1
jmp 0x4b0825
xor eax, eax
push ebp
push 0x4b0804
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405074
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4bca74], eax
push 0x4b08c8
mov eax, dword [0x4bca74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c0300], eax
mov dword [0x4bca80], 2
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b0825
mov ebx, 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0847
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404bd8
ret