joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411e80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4dcf50
push eax
mov eax, 0x400c
mov dword fs:[0], esp
call fcn.00422f90
push ebx
push ebp
push esi
xor ebx, ebx
push edi
lea eax, [esp + 0x18]
push ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.00442610
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push ecx
push str._sOServer3.ini
push edx
mov dword [esp + 0x4030], 1
call fcn.00442480
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x4024], 3
call fcn.0044d9c0
mov ecx, 0xfff
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], bx
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x4034]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
stosw word es:[edi], ax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x4030]
push eax
lea ecx, [esp + 0x20]
push 0x1fff
push ecx
push esi
push edi
push str.CONFIG
call ebp
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.004237f4
add esp, 8
test eax, eax
je 0x411f54
mov esi, dword [esp + 0x402c]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0044d150
mov dword [esp + 0x14], 1
jmp 0x411f87
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push 0x1fff
push edx
push esi
push edi
push str.OSERVER3
call ebp
mov esi, dword [esp + 0x402c]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0044d150
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x4024], bl
call fcn.0044d9c0
mov ecx, dword [esp + 0x401c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4018
ret

Function at 0x4125c0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push 1
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x1c], edi
jne 0x41260d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push 0x14
push eax
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
mov dword [ebp + 8], esi
jne 0x41263d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x14]
push 0x501dc8
push ecx
mov dword [ebp - 0x14], eax
call fcn.00423785
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x412681
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x18]
push 0x501dc8
push edx
mov dword [ebp - 0x18], eax
call fcn.00423785
mov eax, dword [ebp - 0x20]
cmp eax, 0x420
jne 0x41266f
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, 0x412678
ret
test esi, esi
je 0x41268c
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4126b0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd090
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
push 1
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x20], ebx
jne 0x4126fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push 0x24
push eax
push ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, edi
mov dword [ebp + 8], esi
jne 0x412730
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x18]
push 0x501dc8
push ecx
mov dword [ebp - 0x18], eax
call fcn.00423785
lea edx, [ebp - 0x40]
mov dword [ebp - 0x40], edi
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x3c]
push edx
push 1
push esi
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x412779
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 0x501dc8
push eax
call fcn.00423785
mov ecx, dword [ebp - 0x24]
mov eax, 0x412773
mov dword [ebp - 0x14], ecx
ret
test esi, esi
je 0x412784
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4127a0
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd0a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push 1
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x1c], edi
jne 0x4127ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push 3
push eax
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
mov dword [ebp + 8], esi
jne 0x41281d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x14]
push 0x501dc8
push ecx
mov dword [ebp - 0x14], eax
call fcn.00423785
mov edx, dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x41286a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x501dc8
push eax
call fcn.00423785
mov ecx, dword [ebp - 0x20]
mov eax, 0x412861
mov dword [ebp + 0xc], ecx
ret
test esi, esi
je 0x412875
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412890
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4dd0b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x10]
xor esi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push esi
push eax
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x1c], 0x440
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], str.runas
call fcn.00442560
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x10]
mov dword [esp + 0x20], ecx
push eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41296a
mov ecx, dword [esp + 0x48]
push 0xea60
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x41296a
mov eax, dword [esp + 0x48]
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
xor edx, edx
cmp eax, esi
lea ecx, [esp + 8]
sete dl
mov esi, edx
mov dword [esp + 0x54], 0xffffffff
call fcn.0044d9c0
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
mov eax, dword [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 8]
mov dword [esp + 0x54], 0xffffffff
call fcn.0044d9c0
mov ecx, dword [esp + 0x4c]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x50
ret
Function at 0x4129a0
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x4dd12e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x88
mov dword [esp + 0x18], esi
call fcn.004c5c38
mov ecx, dword [0x50ee64]
lea ebp, [esi + 0x5c]
mov dword [esp + 0x1c], 0
mov dword [ebp], ecx
mov edx, dword [0x50ee64]
lea edi, [esi + 0x60]
mov dword [edi], edx
mov eax, dword [0x4e84ec]
lea ebx, [esi + 0x64]
mov dword [ebx], eax
lea ecx, [esi + 0x70]
mov byte [esp + 0x1c], 3
call fcn.004381e0
lea ecx, [esi + 0x13c]
mov byte [esp + 0x1c], 4
call fcn.00414ba0
mov dword [esi + 0x580], 0x4e6324
mov dword [esi + 0x584], 0
mov byte [esp + 0x1c], 6
call fcn.00445030
mov byte [esp + 0x1c], 7
mov dword [esi], method.CDialog.virtual_0
call fcn.004d807f
call fcn.004d807f
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push str.OSERVER3
mov ecx, edi
mov dword [esi + 0x594], eax
call fcn.004c51c0
push 1
mov ecx, ebp
call fcn.004caf7f
test eax, eax
jne 0x412a82
push str.OCULAR3_Service_Controller
mov ecx, ebp
call fcn.004c51c0
push str.http:__www.register_center.com_RegCenter_
mov ecx, ebx
call fcn.0044dca0
lea edx, [esi + 0x1cc]
mov ecx, 0xea
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp]
mov dword [edx], 0x3a8
lea edx, [esi + 0x1e4]
push ecx
push edx
mov dword [esi + 0x1d4], 0x80
mov dword [esi + 0x1d8], 7
call fcn.004238fd
mov ecx, dword [esp + 0x1c]
add esp, 8
xor eax, eax
mov dword [esi + 0x1dc], 0x401
mov dword [esi + 0x590], eax
mov dword [esi + 0x58c], eax
mov dword [esi + 0x574], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4131a0
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd1f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
push edi
call fcn.004125c0
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
je 0x413227
push str._admin_StartService
call fcn.00412890
add esp, 4
test eax, eax
jne 0x413227
push ebx
lea eax, [ebp + 8]
push ebx
push eax
push ebx
push esi
push ebx
push 0x1100
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov ecx, dword [ebp + 8]
push ebx
push ebx
push ecx
call fcn.004d0f95
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 1
push ebx
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, ebx
mov dword [ebp - 0x24], eax
jne 0x413250
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 4
push edi
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x20], esi
jne 0x41327d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0x501dc8
push eax
call fcn.00423785
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x3c]
mov dword [ebp - 0x40], ebx
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
lea ecx, [ebp - 0x40]
mov ebx, eax
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x3c], 2
jne 0x4132c0
call edi
sub eax, ebx
cmp eax, 0x2710
ja 0x4132c0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x40]
push edx
jmp 0x41329a
cmp dword [ebp - 0x3c], 4
jne 0x4132cd
mov edi, 1
jmp 0x41333b
lea eax, [ebp - 0x1c]
push 0x501dc8
push eax
mov dword [ebp - 0x1c], 0x41d
call fcn.00423785
mov eax, dword [ebp - 0x14]
cmp eax, 0x420
jne 0x4132f9
mov dword [ebp + 8], 1
mov eax, 0x413335
ret
push 0
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push eax
push 0
push 0x1100
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov edx, dword [ebp - 0x14]
push 0
push 0
push edx
call fcn.004d0f95
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 0x413335
ret
test esi, esi
je 0x413346
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x418ac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ddca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x34]
call fcn.00435ec0
mov eax, dword [0x50ee64]
mov word [esp + 0x38], 0x8808
mov word [esp + 0x3a], 2
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
xor ebx, ebx
push ecx
lea ecx, [edi + 0x32c]
mov dword [esp + 0x60], ebx
call fcn.004c7012
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push edx
call fcn.0044d150
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x468]
push ebx
mov byte [esp + 0x60], 1
mov eax, dword [eax - 8]
mov dword [esp + 0x30], eax
mov ecx, dword [ecx - 8]
mov dword [esp + 0x34], ecx
add ecx, eax
lea edx, [ecx + ecx + 0xc]
lea ecx, [esp + 0x14]
push edx
call fcn.00444660
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 2
call fcn.00444f40
mov esi, eax
mov eax, dword [esp + 0x2c]
mov edx, eax
mov dword [esi], eax
mov ecx, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov eax, dword [esp + 0x14]
push edx
lea ecx, [esi + 8]
push eax
push ecx
call fcn.00423fc5
mov edx, dword [esi + 4]
mov eax, dword [edi + 0x468]
push edx
push eax
mov eax, dword [esi]
lea ecx, [esi + eax*2 + 0xa]
push ecx
call fcn.00423fc5
add esp, 0x18
lea ecx, [esp + 0x10]
call fcn.00444820
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
xor esi, esi
call fcn.004ca3f6
cmp eax, ebx
je 0x418bc3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov ebp, eax
jmp 0x418bc5
xor ebp, ebp
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push ebx
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00444f40
push eax
lea ecx, [esp + 0x48]
call fcn.00435f60
push eax
lea ecx, [ebp + 0x70]
call fcn.00438d20
test eax, eax
je 0x418c05
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.004360b0
test eax, eax
jne 0x418c05
mov esi, 1
mov edx, dword [esp + 0x1c]
push edx
call fcn.004c4c89
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], ebx
push eax
call fcn.004c4c89
add esp, 8
cmp esi, ebx
mov dword [esp + 0x20], ebx
jne 0x418c30
push 0xffffffffffffffff
push 0x10
push 0x11
jmp 0x418c76
lea ecx, [esp + 0x28]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00416b70
test eax, eax
jne 0x418c55
push 0xffffffffffffffff
push 0x10
push 0x11
jmp 0x418c76
cmp dword [esp + 0x24], ebx
je 0x418c63
push 0xffffffffffffffff
push 0x10
push 0x11
jmp 0x418c76
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
cmp eax, ebx
je 0x418c73
push 0x40
push 0x12
jmp 0x418c76
push ebx
push 0x10
call fcn.004d0fcd
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 1
call fcn.00444780
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], bl
call fcn.0044d9c0
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004c5029
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret
Function at 0x4381e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4df044
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov eax, 0xa
mov dword [esp + 0x10], esi
mov dword [esi + 0x48], 0x4e7f18
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esp + 0x1c], edi
mov dword [esi + 0x64], 0x4e7f0c
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], eax
lea ebx, [esi + 0x80]
push edi
mov ecx, ebx
mov byte [esp + 0x20], 1
call fcn.0042283c
mov ebp, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx], vtable.CCriticalSection.0
add ebx, 8
push ebx
call ebp
lea ebx, [esi + 0xa0]
push edi
mov ecx, ebx
mov byte [esp + 0x20], 2
call fcn.0042283c
mov dword [ebx], vtable.CCriticalSection.0
add ebx, 8
push ebx
call ebp
push edi
push edi
push 1
push edi
mov dword [esi], 0x4e7f08
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0xc0], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 0x7530
mov dword [esi + 0x44], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xc8], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43b590
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4df575
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x91c
push esi
push edi
mov esi, dword [esp + 0x938]
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x126]
mov word [esp + 0x124], 0
mov dword [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x522a7c]
test esi, esi
je 0x43b67c
test eax, eax
jne 0x43b63b
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0x14]
mov dword [0x522a7c], 1
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x20], 2
jne 0x43b62f
cmp dword [esp + 0x14], 5
jb 0x43b62f
mov ecx, dword [str.GlobalOCULAR_]
mov dword [0x522a80], ecx
jmp 0x43b63b
mov edx, dword [0x5132fc]
mov dword [0x522a80], edx
mov eax, dword [esp + 0x93c]
test eax, eax
mov eax, dword [0x5132fc]
jne 0x43b650
mov eax, dword [0x522a80]
mov ecx, dword [esp + 0x944]
mov edx, dword [esp + 0x940]
push ecx
push edx
push esi
push eax
lea eax, [esp + 0x134]
push str._s__s__08x__08x
push eax
call fcn.004233e8
add esp, 0x18
jmp 0x43b70b
test eax, eax
jne 0x43b6d0
mov ecx, 0x44
xor eax, eax
lea edi, [esp + 0x14]
mov dword [0x522a7c], 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x114
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x20], 2
jne 0x43b6c6
cmp dword [esp + 0x14], 5
jb 0x43b6c6
mov edx, dword [str.GlobalOCULAR_]
mov dword [0x522a80], edx
jmp 0x43b6d0
mov eax, dword [0x5132fc]
mov dword [0x522a80], eax
mov eax, dword [esp + 0x93c]
test eax, eax
mov eax, dword [0x5132fc]
jne 0x43b6e5
mov eax, dword [0x522a80]
mov ecx, dword [esp + 0x944]
mov edx, dword [esp + 0x940]
push ecx
push edx
push eax
lea eax, [esp + 0x130]
push str._s___08x__08x
push eax
call fcn.004233e8
add esp, 0x14
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0xc]
call fcn.004c509d
mov esi, dword [esp + 0x934]
lea edx, [esp + 8]
push edx
mov ecx, esi
mov dword [esp + 0x930], 1
call fcn.004c4d96
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x92c], 0
call fcn.004c5029
mov ecx, dword [esp + 0x924]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x928
ret
Function at 0x4413f0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0xffffffff
je 0x441478
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x441452
mov ecx, dword [esi + 0x18]
xor eax, eax
mov dword [esp + 9], eax
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
mov word [esp + 0x11], ax
push ecx
mov byte [esp + 0x10], bl
mov byte [esp + 0x17], al
call edi
push ebx
mov dword [esp + 0x10], eax
call edi
lea edx, [esp + 0xc]
push 8
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc]
push edx
push 0xd
push ebx
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
pop edi
jge 0x441452
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov ecx, dword [esi + 0xc]
push 1
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
pop esi
mov eax, 1
pop ebx
add esp, 8
ret

Function at 0x442010
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
mov dword [esi], 0x4e80bc
test eax, eax
je 0x44205d
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x44204c
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esi + 0xc], 0
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x442074
push eax
call edi
mov dword [esi + 8], 0
mov edx, dword [esi + 0x10]
push edx
call edi
pop edi
pop esi
ret

Function at 0x442080
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x4420d0
lea eax, [esi + 4]
push eax
push 4
push esi
push 0x442250
push 0
push 0
call fcn.00423d24
add esp, 0x18
mov dword [esi + 8], eax
test eax, eax
je 0x4420d0
mov ecx, dword [esi + 0x18]
mov dword [esi + 0xc], 1
test ecx, ecx
je 0x4420bf
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x442100
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x44210e
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x442139
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esi + 0xc], 0
mov eax, 1
pop esi
ret