joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4260e8
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.00425858
xor eax, eax
push ebp
push 0x42625a
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 0x426244
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x426133
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x42613d
call fcn.0044ad24
jmp 0x426261
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0042e0e4
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 0x426239
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 0x4261eb
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x4261d8
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0044a6a8
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.004260a0
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x42626c]
cmp dl, byte [eax + 0x28]
je 0x426240
call fcn.0043cc74
jmp 0x426240
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0042e104
jmp 0x426240
cmp ecx, ebx
jge 0x426207
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.0042e104
jmp 0x42613d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0042e0e4
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0042e118
cmp edx, dword [esp + 4]
jne 0x426228
cmp eax, dword [esp]
pop edx
pop eax
jne 0x42613d
push ebp
call fcn.004260a0
pop ecx
jmp 0x426240
push ebp
call fcn.004260a0
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426261
mov eax, dword [ebp - 4]
call fcn.00425864
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426270
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 0x426392
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00425858
xor eax, eax
push ebp
push 0x426375
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 0x4262c0
call fcn.0044ad24
jmp 0x42637c
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 0x42635f
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x42635f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0044a6a8
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 0x42635f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0043c478
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, 0x4263ac
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4a8114]
mov dl, 1
mov eax, dword [0x424748]
call fcn.0043cdc8
call fcn.0044ac78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42637c
mov eax, dword [ebp - 4]
call fcn.00425864
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426399
lea eax, [ebp - 0x28]
call fcn.0044b1dc
ret
Function at 0x4263f8
Capabilities:
Receive data
Receive 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 ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x426542
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00425858
xor eax, eax
push ebp
push 0x426525
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x42645d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x42645d
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 0x42650f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x426470
call fcn.0044ad24
jmp 0x42652c
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 0x42650f
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x42650f
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0044a6a8
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 0x42650f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0043c478
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, 0x42655c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4a8114]
mov dl, 1
mov eax, dword [0x424748]
call fcn.0043cdc8
call fcn.0044ac78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42652c
mov eax, dword [ebp - 4]
call fcn.00425864
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426549
lea eax, [ebp - 0x28]
call fcn.0044b1dc
ret

Function at 0x433efc
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00433d34
dec esi
jne 0x433f1e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x435668
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f9228
cmp dword [edi], 0
jne 0x4356e4
push pe_nt_image_headers32
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4f9224]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a2430
mov ecx, 2
call fcn.004496d8
mov edx, 0x435640
lea eax, [esi + 5]
call fcn.00435660
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00435660
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4356b9
mov dword [0x4f9224], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x436a48
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x436bb1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0044b274
mov eax, dword [ebp - 0x10]
call fcn.004367d8
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x436a9a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.0044b72c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00436cdc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x436b6f
xor eax, eax
push ebp
push 0x436b68
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00436920
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00436be0
test al, al
je 0x436b46
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.0044b2cc
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x436b46
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0044b68c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x436b40
mov eax, dword [ebp - 0x14]
call fcn.0044b68c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0044b3cc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00436a48
dec ebx
cmp ebx, 0xffffffff
jne 0x436af9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436b6f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00436920
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 0x10]
call fcn.0044b68c
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0043690c
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436bb8
lea eax, [ebp - 0x3c]
call fcn.0044b1dc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0044b200
ret

Function at 0x436be0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00449dc0
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4a813c]
cmp byte [edx + 0xc], 0
je 0x436c44
mov edx, dword [0x4a8134]
cmp dword [edx], 2
jne 0x436c44
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x436c74
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.004367ec
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.0044b68c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x436cd2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a80f0]
mov dl, 1
mov eax, dword [0x436710]
call fcn.0043cdc8
call fcn.0044ac78
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43c4c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x43c4fd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0044b2cc
jmp 0x43c506
mov eax, ebx
mov edx, esi
call fcn.0044b230
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43c510
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x43c531
mov al, byte [esp]
jmp 0x43c533
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x43da38
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x43da9c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0044b444
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.004398d8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43daa3
lea eax, [ebp - 0xc]
call fcn.0044b1dc
ret

Function at 0x449864
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0044b1dc
test esi, esi
jne 0x44989a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0044b2cc
jmp 0x4498b8
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00449718
mov edi, eax
test esi, esi
je 0x4498b8
cmp dword [ebx], 0
je 0x4498b8
dec esi
jmp 0x4498a1
add esp, 0x108
pop edi
pop esi
pop ebx
ret
Function at 0x44a31c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a29a4]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x44a3b4
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x44a394
xor eax, eax
push ebp
push 0x44a38d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x44a3d0
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a394
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4a29a4]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a29a4], ax
mov esp, ebp
pop ebp
ret

Function at 0x44afdc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f9568], 0
je 0x44b03d
cmp word [0x4f973c], 0xd7b2
jne 0x44b005
cmp dword [0x4f9744], 0
jbe 0x44b005
mov eax, 0x4f9738
call dword [0x4f9754]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x44b064
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4a29b4], 0
jne 0x44b059
push 0
push 0x4a2a0c
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x44b190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00449474
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4f9569], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x44b158
push eax
push esi
push ebx
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x44cb98
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x44cdc8
push reloc.WSOCK32.DLL_accept
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x44cc1b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x44cdc8
push reloc.WSOCK32.DLL_bind
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x44cc1b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x44cde4
push reloc.WSOCK32.DLL_accept
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x44cca4
xor eax, eax
push ebp
push 0x44cc9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0044c9e0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x44cc82
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x44ce04
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x44cc82
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cca4
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x44cdbe
cmp byte [ebp - 0xd], 0
jne 0x44cceb
cmp byte [ebp - 0x12], 0
je 0x44cdbe
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x44cd04
dec ebx
cmp byte [ebx], 0x2e
je 0x44cd13
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x44cd03
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x44cdbe
inc ebx
cmp byte [ebp - 0x12], 0
je 0x44cd50
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x44cdbe
cmp byte [ebp - 0xd], 0
je 0x44cdbe
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x44cdbe
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d53c
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x4f9adc], 1
jae 0x44d5c2
mov byte [0x4a29a0], 2
mov dword [0x4f952c], 0x497ffc
mov dword [0x4f9530], 0x498014
mov byte [0x4f956a], 2
mov dword [0x4f9518], 0x44c1bc
call fcn.0044a2ec
test al, al
je 0x44d57f
call fcn.0044a31c
call fcn.0044a3e0
mov word [0x4f9570], 0xd7b0
mov word [0x4f973c], 0xd7b0
mov word [0x4f9908], 0xd7b0
call fcn.0044c088
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x4f955c], eax
call fcn.00448110
mov dword [0x4f9558], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4f9550], eax
ret

Function at 0x44dfd8
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x44df24
call sub.USER32.DLL_EnumWindows
ret

Function at 0x44e0fc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x44e179
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044db48
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x44e121
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0044d7a0
cmp dword [ebp - 4], 0
je 0x44e163
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0044b68c
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.USER32.DLL_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e180
lea eax, [ebp - 4]
call fcn.0044b1dc
ret

Function at 0x4516ec
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0044b67c
xor eax, eax
push ebp
push 0x45176a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044b68c
mov dword [ebp - 8], eax
cmp dword [ebx + 8], 0
jne 0x451735
mov eax, dword [ebx + 4]
call fcn.0044b68c
push eax
push 0
call sub.ADVAPI32.DLL_RegisterEventSourceA
mov dword [ebx + 8], eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
mov ax, word [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 8]
push eax
call sub.ADVAPI32.DLL_ReportEventA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451771
lea eax, [ebp - 4]
call fcn.0044b1dc
ret
Function at 0x45273c
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4528d9
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00449864
cmp word [ebx + 0xa2], 0
je 0x452785
mov edx, ebx
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x452799
lea esi, [ebp - 8]
jmp 0x45279b
xor esi, esi
cmp dword [ebx + 0x80], 0
jne 0x4527a8
xor edi, edi
jmp 0x4527b5
mov eax, dword [ebx + 0x80]
call fcn.0044b68c
mov edi, eax
mov eax, dword [ebx + 0x7c]
call fcn.0044b68c
push eax
push edi
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00451ea4
mov eax, dword [ebp - 0x14]
call fcn.0044b68c
push eax
push esi
mov eax, dword [ebx + 0x74]
call fcn.0044b68c
push eax
mov eax, dword [ebp - 0x10]
call fcn.0044b68c
push eax
mov eax, ebx
call fcn.00451fd8
push eax
mov eax, ebx
call fcn.00451fac
push eax
mov eax, ebx
call fcn.00451f60
push eax
push 0xf01ff
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.00451d70
mov eax, dword [ebp - 0x18]
call fcn.0044b68c
push eax
mov eax, dword [ebx + 8]
call fcn.0044b68c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_CreateServiceA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x90], eax
cmp dword [ebp - 0xc], 0
jne 0x45283e
call fcn.0043e254
xor edx, edx
push ebp
push 0x4528b7
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x45287c
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [ebx + 0xaa], 0
je 0x452872
mov edx, ebx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4528a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4528be
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_CloseServiceHandle
ret

Function at 0x4528e8
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0xb2], 0
je 0x452914
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xb4]
call dword [esi + 0xb0]
push 0xf01ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0044b68c
push eax
push ebx
call sub.ADVAPI32.DLL_OpenServiceA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x452939
call fcn.0043e254
xor eax, eax
push ebp
push 0x452970
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_DeleteService
test eax, eax
jne 0x452959
call fcn.0043e254
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452977
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_CloseServiceHandle
ret