joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481a08
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x481a11
mov eax, dword [ebp - 4]
add esp, 0xfffff7d8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x4828], edx
mov dword [ebp - 0x482c], edx
mov dword [ebp - 0x4820], edx
mov dword [ebp - 0x4824], edx
mov dword [ebp - 0x481c], edx
mov dword [ebp - 0x4818], edx
mov esi, eax
xor eax, eax
push ebp
push 0x481bf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00405428
push 5
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x481bd2
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4800
lea eax, [ebp - 0x4814]
push eax
push 3
push 0x13f
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EnumServicesStatusA
mov edi, dword [ebp - 0x10]
dec edi
test edi, edi
jl 0x481bb9
inc edi
lea ebx, [ebp - 0x4814]
mov eax, dword [ebx]
test eax, eax
je 0x481ac5
cmp byte [eax], 0
jne 0x481ad5
mov eax, esi
mov edx, 0x481c08
call fcn.004056f4
jmp 0x481afb
push dword [esi]
lea eax, [ebp - 0x4818]
mov edx, dword [ebx]
call fcn.00405620
push dword [ebp - 0x4818]
push 0x481c08
mov eax, esi
mov edx, 3
call fcn.004057bc
mov eax, dword [ebx + 4]
test eax, eax
je 0x481b05
cmp byte [eax], 0
jne 0x481b15
mov eax, esi
mov edx, 0x481c08
call fcn.004056f4
jmp 0x481b3c
push dword [esi]
lea eax, [ebp - 0x481c]
mov edx, dword [ebx + 4]
call fcn.00405620
push dword [ebp - 0x481c]
push 0x481c08
mov eax, esi
mov edx, 3
call fcn.004057bc
push dword [esi]
lea eax, [ebp - 0x4824]
mov edx, dword [ebx]
call fcn.00405620
mov eax, dword [ebp - 0x4824]
lea edx, [ebp - 0x4820]
call fcn.0048166c
push dword [ebp - 0x4820]
push 0x481c08
mov eax, esi
mov edx, 3
call fcn.004057bc
push dword [esi]
lea eax, [ebp - 0x4828]
push eax
lea eax, [ebp - 0x482c]
mov edx, dword [ebx]
call fcn.00405620
mov eax, dword [ebp - 0x482c]
xor ecx, ecx
xor edx, edx
call fcn.00481880
push dword [ebp - 0x4828]
push 0x481c14
mov eax, esi
mov edx, 3
call fcn.004057bc
add ebx, 0x24
dec edi
jne 0x481abc
cmp dword [ebp - 0xc], 0
jne 0x481a81
cmp dword [ebp - 8], 0
jbe 0x481bd2
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481bf7
lea eax, [ebp - 0x482c]
mov edx, 6
call fcn.0040544c
ret
Function at 0x481c18
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004058a8
xor eax, eax
push ebp
push 0x481d3e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
push 0xf003f
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
je 0x481d1b
xor eax, eax
push ebp
push 0x481d03
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004058b8
push eax
push 0
push 2
push 0x110
push 0xf01ff
push esi
push esi
push ebx
call sub.advapi32.dll_CreateServiceA
mov edi, eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00405620
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov edx, esi
call fcn.00405620
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x481d58
call fcn.00405740
mov eax, dword [ebp - 0x18]
call fcn.004058b8
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00405620
mov edx, dword [ebp - 0x14]
mov ecx, 0x481d84
mov eax, 0x80000002
call fcn.004815b0
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x481d14
mov dword [ebp - 0xc], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481d45
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.0040544c
lea eax, [ebp - 4]
call fcn.00405428
ret

Function at 0x481d90
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058a8
xor eax, eax
push ebp
push 0x481de1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004058b8
push eax
call sub.kernel32.dll_GetFileAttributesA
test al, 0x10
jne 0x481dc5
cmp eax, 0xffffffff
jne 0x481dc9
xor ebx, ebx
jmp 0x481dcb
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481de8
lea eax, [ebp - 4]
call fcn.00405428
ret

Function at 0x481df0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x1a
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x481e26
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00405698
add esp, 0x104
pop ebx
ret
Function at 0x4828e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058a8
xor eax, eax
push ebp
push 0x482980
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x14
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov esi, eax
mov ebx, esi
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040547c
lea eax, [ebx + 4]
mov edx, dword [0x4a8824]
call fcn.0040547c
lea eax, [ebx + 8]
mov edx, dword [0x4a8828]
call fcn.0040547c
lea eax, [ebx + 0xc]
mov edx, dword [0x4a882c]
call fcn.0040547c
lea eax, [ebx + 0x10]
mov edx, 0x482998
call fcn.0040547c
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x494f08
push 0
push 0
call sub.kernel32.dll_CreateThread
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482987
lea eax, [ebp - 4]
call fcn.00405428
ret

Function at 0x482bd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x482cb4
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x4a8808], 0
xor eax, eax
mov dword [0x4a8830], eax
mov word [0x4a886c], 0
mov byte [0x4a2300], 0
mov eax, dword [0x4a23d8]
cmp dword [eax], 0
je 0x482c2d
lea eax, [ebp - 4]
mov edx, 0x482cc0
call fcn.00405620
mov eax, dword [ebp - 4]
push eax
push 4
push 6
mov eax, dword [0x4a23d8]
mov eax, dword [eax]
push eax
call sub.user32.dll_PostThreadMessageA
mov byte [0x4a2304], 0
mov eax, dword [0x4a23d8]
xor edx, edx
mov dword [eax], edx
cmp word [0x4a886e], 1
jne 0x482c4c
call fcn.0047b744
mov word [0x4a886e], 0
push 1
mov eax, dword [0x4a87e8]
push eax
call sub.wsock32.dll_shutdown
mov eax, dword [0x4a87e8]
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup
xor eax, eax
mov dword [0x4a87e8], eax
xor eax, eax
mov dword [0x4a8820], eax
mov byte [0x4a8858], 0
push 0x4a881c
push 0
push 0
push 0x482de8
push 0
push 0
call sub.kernel32.dll_CreateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482cbb
lea eax, [ebp - 4]
call fcn.00405428
ret

Function at 0x482cc8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058a8
xor eax, eax
push ebp
push 0x482d4a
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, dword [0x4a2308]
mov eax, dword [ebp - 4]
call fcn.0047cb74
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004054c0
mov eax, dword [ebp - 4]
test eax, eax
je 0x482d16
sub eax, 4
mov eax, dword [eax]
mov esi, eax
push 0
push esi
lea eax, [ebp - 4]
call fcn.00405918
push eax
mov eax, dword [0x4a87e8]
push eax
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482d51
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040544c
ret
Function at 0x482d5c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004058a8
xor eax, eax
push ebp
push 0x482ddb
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, dword [0x4a2308]
mov eax, dword [ebp - 4]
call fcn.0047cb74
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004054c0
mov eax, dword [ebp - 4]
test eax, eax
je 0x482dac
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
push 0
push ebx
lea eax, [ebp - 4]
call fcn.00405918
push eax
push esi
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482de2
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040544c
ret
Function at 0x48eec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov ebx, 0x4a87ec
xor eax, eax
push ebp
push 0x48f0c0
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [0x4a2308]
lea eax, [ebp - 0x24]
call fcn.0049ca38
push dword [ebp - 0x24]
lea edx, [ebp - 0x28]
mov eax, dword [0x4a22e8]
call fcn.00409ae0
push dword [ebp - 0x28]
mov eax, 0x4a2308
mov edx, 3
call fcn.004057bc
mov byte [0x4a8808], 0
mov word [0x4a886c], 0
mov word [0x4a886e], 0
mov word [0x4a8870], 0
mov eax, dword [0x4a88bc]
mov edx, 0x48f0dc
call fcn.00405850
jne 0x48ef73
push 0x4a881c
push 0
push 0
push 0x4907f0
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a8834], 1
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x482290
push 0
push 0
call sub.kernel32.dll_CreateThread
mov eax, dword [0x4a2474]
mov byte [eax], 1
mov esi, 0x4a893c
mov eax, dword [0x4a893c]
call fcn.00406834
mov edx, esi
xor ecx, ecx
xchg edx, eax
call fcn.00403a84
lea edx, [ebp - 0x2c]
mov eax, dword [0x4a22e4]
call fcn.0048ed2c
mov edx, dword [ebp - 0x2c]
mov eax, 0x4a8814
mov ecx, dword [0x482200]
call fcn.00406a38
lea edx, [ebp - 0x30]
mov eax, dword [0x4a8944]
call fcn.0049ca60
mov edx, dword [ebp - 0x30]
mov eax, 0x4a230c
call fcn.0040547c
mov eax, dword [0x4a230c]
mov edx, 0x48f0e8
call fcn.00405850
jne 0x48f04d
call fcn.0040bbf8
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov edx, dword [0x4a2528]
mov edx, dword [edx]
lea eax, [ebp - 4]
call fcn.0040c858
call fcn.0040bc24
fstp qword [ebp - 0x20]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov edx, dword [0x4a26ac]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.0040c858
push dword [ebp - 4]
push 0x48f0f8
push dword [ebp - 8]
mov eax, 0x4a230c
mov edx, 3
call fcn.004057bc
push 0x4a881c
push 0
push 0
push 0x482de8
push 0
push 0
call sub.kernel32.dll_CreateThread
jmp 0x48f072
push ebx
call sub.user32.dll_TranslateMessage
push ebx
call sub.user32.dll_DispatchMessageA
push 0
push 0
push 0
push ebx
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x48f066
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f0c7
lea eax, [ebp - 0x30]
call fcn.00405428
lea eax, [ebp - 0x2c]
mov edx, dword [0x482200]
call fcn.004069fc
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040544c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040544c
ret
Function at 0x490c60
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
push esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.004058a8
xor eax, eax
push ebp
push 0x490cf2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x408]
xor ecx, ecx
mov edx, 0x400
call fcn.00403a84
mov eax, dword [ebp - 4]
test eax, eax
je 0x490ca5
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
test edx, edx
jl 0x490cc3
inc edx
xor esi, esi
lea eax, [ebp - 0x408]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + esi]
mov byte [eax], cl
inc esi
inc eax
dec edx
jne 0x490cb5
push 0
push 0x400
lea eax, [ebp - 0x408]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_send
test eax, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490cf9
lea eax, [ebp - 4]
call fcn.00405428
ret

Function at 0x4913fc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058a8
xor eax, eax
push ebp
push 0x49146e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xc
push 0x40
call sub.kernel32.dll_LocalAlloc_1
mov esi, eax
mov ebx, esi
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040547c
mov dword [ebx + 4], edi
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push 0x4912f0
push 0
push 0
call sub.kernel32.dll_CreateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491475
lea eax, [ebp - 4]
call fcn.00405428
ret
Function at 0x491550
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
xor eax, eax
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a8], eax
mov ebx, 0x4abb40
xor eax, eax
push ebp
push 0x4916b1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x190]
push eax
push 2
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x49159a
mov eax, dword [0x4a25b8]
mov byte [eax], 0
jmp 0x491693
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [ebx], eax
cmp dword [ebx], 0xffffffff
jne 0x4915be
call sub.wsock32.dll_WSACleanup
mov eax, dword [0x4a25b8]
mov byte [eax], 0
jmp 0x491693
mov word [ebp - 0x1a0], 2
mov eax, dword [0x4a259c]
movzx eax, word [eax]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x19e], ax
mov eax, dword [0x4a2730]
mov eax, dword [eax]
call fcn.0049a724
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x19c], eax
push 0x10
lea eax, [ebp - 0x1a0]
push eax
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_connect
push 0
push 0x1000
push 0x4a8b38
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_recv
mov eax, 0x4a8b38
xor ecx, ecx
mov edx, 0x1001
call fcn.00403a84
push 0x4916c8
lea edx, [ebp - 0x1a8]
mov eax, dword [0x4a24d8]
mov eax, dword [eax]
call fcn.00409cd4
push dword [ebp - 0x1a8]
push 0x4916d8
push 0x4916e4
lea eax, [ebp - 0x1a4]
mov edx, 4
call fcn.004057bc
mov edx, dword [ebp - 0x1a4]
mov eax, dword [ebx]
call fcn.00482d5c
push 0
push 0x1000
push 0x4a8b38
mov eax, dword [ebx]
push eax
call sub.wsock32.dll_recv
mov eax, 0x4a8b38
xor ecx, ecx
mov edx, 0x1001
call fcn.00403a84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4916b8
lea eax, [ebp - 0x1a8]
mov edx, 2
call fcn.0040544c
ret

Function at 0x491efc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 4], ecx
mov esi, edx
xor edx, edx
push ebp
push 0x491fbc
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 8]
push edx
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.0040aa78
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x491f58
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x114]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405920
mov eax, dword [ebp - 0x114]
mov edx, 0x491fd4
call fcn.00405850
je 0x491f91
mov eax, esi
mov ecx, 0x491fd4
mov edx, dword [ebp - 4]
call fcn.00405740
jmp 0x491f9b
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040547c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491fc3
lea eax, [ebp - 0x114]
call fcn.00405428
lea eax, [ebp - 4]
call fcn.00405428
ret
Function at 0x491fd8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x492087
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405b48
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x49200a
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.004058b8
push eax
push ebx
call sub.kernel32.dll_GetTempPathA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405b48
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x49202f
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405920
mov eax, dword [ebp - 8]
mov edx, 0x49209c
call fcn.00405850
je 0x492062
mov eax, esi
mov ecx, 0x49209c
mov edx, dword [ebp - 4]
call fcn.00405740
jmp 0x49206c
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040547c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49208e
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040544c
ret

Function at 0x4920a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x49214f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405b48
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4920d2
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 4]
call fcn.004058b8
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405b48
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4920f7
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405920
mov eax, dword [ebp - 8]
mov edx, 0x492164
call fcn.00405850
je 0x49212a
mov eax, esi
mov ecx, 0x492164
mov edx, dword [ebp - 4]
call fcn.00405740
jmp 0x492134
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040547c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492156
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040544c
ret

Function at 0x492168
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x492217
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00405b48
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x49219a
sub ebx, 4
mov ebx, dword [ebx]
push ebx
mov eax, dword [ebp - 4]
call fcn.004058b8
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405b48
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4921bf
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00405920
mov eax, dword [ebp - 8]
mov edx, 0x49222c
call fcn.00405850
je 0x4921f2
mov eax, esi
mov ecx, 0x49222c
mov edx, dword [ebp - 4]
call fcn.00405740
jmp 0x4921fc
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.0040547c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49221e
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040544c
ret
Function at 0x492230
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058a8
mov eax, dword [ebp - 8]
call fcn.004058a8
mov eax, dword [ebp - 0xc]
call fcn.004058a8
mov eax, dword [ebp + 8]
call fcn.004058a8
xor eax, eax
push ebp
push 0x492333
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0xf003f
mov dl, 1
mov eax, dword [0x422440]
call fcn.00422584
mov ebx, eax
mov eax, dword [ebp - 4]
mov edx, 0x49234c
call fcn.00405850
jne 0x49229b
mov esi, 0x80000002
mov eax, dword [ebp - 4]
mov edx, 0x492358
call fcn.00405850
jne 0x4922af
mov esi, 0x80000001
mov eax, dword [ebp - 8]
mov edx, 0x492358
call fcn.00405850
jne 0x4922cb
lea eax, [ebp - 0x10]
mov edx, 0x492364
call fcn.004054c0
mov eax, dword [ebp - 8]
mov edx, 0x49234c
call fcn.00405850
jne 0x4922e7
lea eax, [ebp - 0x10]
mov edx, 0x492364
call fcn.004054c0
mov edx, esi
mov eax, ebx
call fcn.0042261c
mov cl, 1
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00422760
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00422e84
mov eax, ebx
call fcn.004045fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49233a
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040544c
lea eax, [ebp + 8]
call fcn.00405428
ret

Function at 0x492394
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058a8
xor eax, eax
push ebp
push 0x492451
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49242c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0xf003f
mov dl, 1
mov eax, dword [0x422440]
call fcn.00422584
mov ebx, eax
mov esi, 0x80000001
lea eax, [ebp - 8]
mov edx, 0x49246c
call fcn.004054c0
mov edx, esi
mov eax, ebx
call fcn.0042261c
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00422760
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004230e0
test al, al
je 0x492417
mov byte [ebp - 9], 1
jmp 0x49241b
mov byte [ebp - 9], 0
mov eax, ebx
call fcn.004045fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x492436
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492458
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040544c
ret

Function at 0x498f1c
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x498f48
mov edx, ebx
lea eax, [esp + 4]
call fcn.00498f08
jmp 0x498f4f
mov eax, ebx
call fcn.00405428
add esp, 0x104
pop ebx
ret