joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dcf4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x27
push 0
push 0
dec ecx
jne 0x45dcfc
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45df39
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, esi
call fcn.004092fc
lea eax, [ebp - 0x104]
mov edx, 0x104
call fcn.00407e9c
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x108]
mov eax, dword [ebx]
call fcn.004092fc
mov edx, dword [ebp - 0x108]
mov eax, 0x45df50
call fcn.004051b8
dec eax
jne 0x45dda8
mov al, byte [0x45df5c]
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, 0x45df50
call fcn.0040ef34
mov edx, dword [ebp - 0x10c]
mov eax, ebx
call fcn.00404c08
jmp 0x45df1b
lea edx, [ebp - 0x114]
mov eax, dword [ebx]
call fcn.004092fc
mov edx, dword [ebp - 0x114]
mov eax, 0x45df68
call fcn.004051b8
dec eax
jne 0x45de2b
mov al, byte [0x45df5c]
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, 0x45df68
call fcn.0040ef34
mov edx, dword [ebp - 0x118]
mov eax, ebx
call fcn.00404c08
jmp 0x45df1b
mov edx, dword [ebx]
mov eax, 0x45df80
call fcn.004051b8
test eax, eax
jle 0x45de68
mov al, byte [0x45df88]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebx]
xor ecx, ecx
mov edx, 0x45df80
call fcn.0040ef34
mov edx, dword [ebp - 0x124]
mov eax, ebx
call fcn.00404c08
jmp 0x45df1b
lea edx, [ebp - 0x128]
mov eax, dword [ebx]
call fcn.004092fc
mov edx, dword [ebp - 0x128]
mov eax, 0x45df94
call fcn.004051b8
dec eax
jne 0x45decc
mov al, byte [0x45df88]
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, 0x45df94
call fcn.0040ef34
mov edx, dword [ebp - 0x12c]
mov eax, ebx
call fcn.00404c08
jmp 0x45df1b
lea edx, [ebp - 0x134]
mov eax, dword [ebx]
call fcn.004092fc
mov edx, dword [ebp - 0x134]
mov eax, 0x45dfac
call fcn.004051b8
dec eax
jne 0x45df1b
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x104]
mov ecx, 0x104
call fcn.00404e24
push dword [ebp - 0x138]
push 0x45dfc0
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 0x45df40
lea eax, [ebp - 0x138]
mov edx, 0xd
call fcn.00404bd8
ret
Function at 0x45dfc4
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.00409dcc
test al, al
jne 0x45e01b
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
jmp 0x45e006
mov eax, ebx
call fcn.00409e00
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 0x45e011
mov eax, ebx
call fcn.00409ddc
test al, al
je 0x45dfe5
mov eax, ebx
call fcn.00409ddc
mov byte [esp], al
mov al, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x45e114
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x4b806c]
cmp dword [eax], 0
je 0x45e134
mov eax, dword [0x4b806c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x4b806c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4b7b10]
cmp dword [eax], 0
je 0x45e163
push 0
mov eax, dword [0x4b7b10]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x4b7b10]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [0x4b7b10]
xor edx, edx
mov dword [eax], edx
ret

Function at 0x45e1e8
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 0x45e2b4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x45e28d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00409dcc
test al, al
je 0x45e242
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.0040a060
mov eax, dword [ebp - 0xc]
call fcn.00409ddc
test al, al
jne 0x45e261
mov eax, dword [ebp - 0xc]
call fcn.00409e00
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 0x45e299
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e2bb
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bd8
ret
Function at 0x45e81c
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 0x45e915
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor edx, edx
push ebp
push 0x45e8f0
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 0x45e893
lea eax, [ebp - 0x10]
mov edx, dword [ebx + 8]
call fcn.00404dac
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040a060
jmp 0x45e8a6
lea eax, [ebp - 0xc]
mov edx, dword [0x4b8024]
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 0x45e8cc
lea eax, [ebp - 0xc]
mov edx, 0x45e930
call fcn.00404e7c
lea eax, [ebp - 0xc]
mov edx, 0x45e93c
call fcn.00404e7c
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.0045e1e8
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45e8fa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e91c
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404bd8
ret

Function at 0x45ec18
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 0x45ed68
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x45ed40
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.0040a29c
lea eax, [ebp - 0x110]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45ed2e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x45ed28
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45ed22
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, 0x45ed80
call fcn.0040a944
mov edx, dword [ebp - 0x114]
mov eax, ebx
call fcn.00404c08
mov byte [ebp - 5], 1
jmp 0x45ed32
mov byte [ebp - 5], 0
jmp 0x45ed32
mov byte [ebp - 5], 0
jmp 0x45ed32
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ed47
ret
Function at 0x45ed8c
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 0x45ee92
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, esi
call fcn.0045ec18
test al, al
jne 0x45edc9
lea eax, [ebp - 4]
mov edx, 0x45eeac
call fcn.00404c4c
push 6
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx], eax
cmp dword [ebx], 0xffffffff
jne 0x45ede5
mov ebx, 2
jmp 0x45ee7c
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 0x45ee26
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_closesocket
mov ebx, 3
jmp 0x45ee7c
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 0x45ee50
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_closesocket
mov ebx, 4
jmp 0x45ee7c
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 0x45ee7a
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_closesocket
mov ebx, 5
jmp 0x45ee7c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ee99
lea eax, [ebp - 4]
call fcn.00404bb4
ret
Function at 0x45eebc
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 0x45f0bc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x45f05b
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.0045ed8c
test eax, eax
je 0x45ef76
mov ebx, 2
mov eax, dword [ebp + 0xc]
mov edx, 0x45f0d8
call fcn.00404c08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f091
xor esi, esi
mov eax, dword [ebp - 8]
call fcn.00405074
mov dword [ebp - 0x10], eax
cmp edi, esi
jle 0x45efe6
lea eax, [ebp - 0x1021]
xor ecx, ecx
mov edx, 0x1001
call fcn.0040362c
mov eax, edi
sub eax, esi
cmp eax, 0x1000
jle 0x45efab
mov ebx, 0x1000
jmp 0x45efaf
mov ebx, edi
sub ebx, esi
lea eax, [ebp - 0x1021]
mov ecx, ebx
mov edx, dword [ebp - 0x10]
call fcn.00407e94
push 0
lea eax, [ebp - 0x1021]
call fcn.0040a204
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 0x45ef87
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 0x45f03c
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 0x45f046
test ebx, ebx
jg 0x45efe6
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 0x45f091
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f0c3
lea eax, [ebp - 0x102c]
mov edx, 2
call fcn.00404bd8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404bd8
ret

Function at 0x45f400
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x45f419
mov al, 1
jmp 0x45f41b
xor eax, eax
add esp, 0x190
ret
Function at 0x4702f0
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 [0x41a624]
call fcn.00405624
xor eax, eax
push ebp
push 0x470434
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b64c0], 0
jne 0x470343
mov ecx, dword [0x4b7b24]
mov dl, 1
mov eax, dword [0x4085a4]
call fcn.0040da40
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, 0x470444
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 0x4703db
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 0x4703d4
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.004094b4
test eax, eax
jne 0x4703d4
mov ebx, 0x15
jmp 0x4703e0
mov ebx, 0x10
jmp 0x4703e0
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 [0x4b64c0]
call fcn.004701ec
mov eax, dword [ebp - 8]
call fcn.004701ec
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 0x47043b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404bd8
lea eax, [ebp - 0x10]
mov edx, dword [0x41a624]
call fcn.004056f4
ret

Function at 0x48ab5b
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 0x4b7246
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48abb3
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 0x4b7267
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x48aba9
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x48abb7
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x498014
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 0x498068
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 0x498047
mov byte [ebp - 5], 0
jmp 0x49805e
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
jne 0x49805e
mov byte [ebp - 5], 0
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x498258
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 0x4982c9
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.0040a944
lea eax, [ebp - 0x14]
mov ecx, 0x4982e0
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 0x4982d0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404bd8
ret

Function at 0x499040
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 0x499130
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
push ebp
push 0x499109
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
mov edx, 0x44
call fcn.00407e9c
lea eax, [ebp - 4]
call fcn.00498e1c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a060
push 0x499148
push dword [ebp - 4]
push 0x499154
push esi
push 0x499148
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 0x4990ff
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 0x499115
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499137
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bd8
ret

Function at 0x49c7f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0049c294
test byte [ebx + 0x23d], 4
jne 0x49c889
mov edx, esp
mov eax, ebx
call fcn.00451958
push esp
mov eax, ebx
call fcn.00458574
push eax
push 0
mov eax, ebx
test eax, eax
je 0x49c829
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 0x49c85a
mov ecx, dword [0x4b7e04]
mov dl, 1
mov eax, dword [0x46feac]
call fcn.0040da40
call fcn.004045ac
mov eax, ebx
call fcn.0049cdc0
cmp byte [ebx + 0x57], 0
jne 0x49c890
mov eax, ebx
call fcn.00458778
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49c890
push 0
mov eax, ebx
call fcn.00458778
push eax
call sub.user32.dll_ShowWindow
jmp 0x49c890
mov eax, ebx
call fcn.004556f8
add esp, 0x10
pop ebx
ret
Function at 0x4ad4c8
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 0x4ad502
mov edx, 0x4ad54c
mov eax, esp
call fcn.0040a240
mov edx, 0x4ad558
mov eax, esp
call fcn.0040a2f0
jmp 0x4ad51a
mov edx, 0x4ad570
mov eax, esp
call fcn.0040a240
mov edx, 0x4ad558
mov eax, esp
call fcn.0040a2f0
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 0x4ad545
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x4ad547
xor eax, eax
add esp, 0x40
ret

Function at 0x4ad578
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 0x4ad748
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
or eax, 0xff
cmp eax, 5
jb 0x4ad5b0
lea eax, [ebp - 8]
mov edx, 0x4ad760
call fcn.00404c4c
jmp 0x4ad5bd
lea eax, [ebp - 8]
mov edx, 0x4ad784
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 0x4ad688
push eax
call sub.kernel32.dll_CloseHandle_1
lea eax, [ebp - 0xc]
call fcn.0045e164
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0x4ad7a0
call fcn.00404ec0
mov eax, dword [ebp - 4]
call fcn.00409dcc
test al, al
jne 0x4ad61a
mov ebx, 1
jmp 0x4ad72d
xor eax, eax
push ebp
push 0x4ad669
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 [0x4b7a84], eax
push 0x4ad7ac
mov eax, dword [0x4b7a84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb2e4], eax
mov dword [0x4b7a90], 1
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ad72d
call fcn.004ad4c8
test al, al
je 0x4ad728
lea eax, [ebp - 0x10]
call fcn.0045e164
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x4ad7c0
call fcn.00404ec0
mov eax, dword [ebp - 4]
call fcn.00409dcc
test al, al
jne 0x4ad6c0
mov ebx, 1
jmp 0x4ad72d
xor eax, eax
push ebp
push 0x4ad70c
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 [0x4b7a84], eax
push 0x4ad7d0
mov eax, dword [0x4b7a84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bb2e8], eax
mov dword [0x4b7a90], 2
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ad72d
mov ebx, 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad74f
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404bd8
ret