joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452ec0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
mov eax, 0x6c42c4
call fcn.006b9c3c
sub esp, 0x2b0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor eax, eax
mov dword [ebp - 0x18], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2bc]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0xff
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
push esi
mov ecx, edi
call fcn.00411aae
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], bl
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x452f81
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, 0x6c42ef
call fcn.006b9c3c
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
push 2
pop eax
mov byte [ebp - 4], al
push edi
push eax
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x452fe6
mov ecx, esi
call fcn.00452ec0
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push edi
lea eax, [ebp - 0x3c]
push eax
call fcn.005077d5
add esp, 0xc
push 2
pop edi
mov word [ebp - 0x3c], di
mov dword [ebp - 0x38], 0x7f000001
push 9
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x3a], ax
push 0x10
lea eax, [ebp - 0x3c]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x453031
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, esi
call fcn.00452ec0
jmp 0x452fc8
mov dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_getsockname]
push ebx
cmp eax, 0xffffffff
je 0x453022
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x16
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.WS2_32.dll_inet_ntop]
mov ecx, esi
test eax, eax
je 0x45302a
lea eax, [ebp - 0x54]
push eax
call fcn.00411aae
jmp 0x452fc8
Function at 0x459a61
Capabilities:
Terminate process

Disassembly:
mov eax, 0x6c5626
call fcn.006b9c3c
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
cmp edi, eax
je 0x459b2c
test edi, edi
je 0x459b2c
push edi
push ebx
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x459b04
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x28], 0x1e
mov ecx, ebx
push 0x7f
pop esi
mov dword [ebp - 0x20], ecx
cmp ecx, 1
jae 0x459afc
push 6
pop eax
sub eax, dword [ebp + ecx*4 - 0x28]
imul eax, eax, 0x23
cdq
idiv esi
lea eax, [esi + edx]
cdq
idiv esi
mov byte [ebp + ecx - 0x2c], dl
inc ecx
jmp 0x459ada
mov byte [ebp - 0x2b], bl
lea eax, [ebp - 0x2c]
jmp 0x459b09
mov eax, 0x73a9e8
push eax
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00411aae
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
test ebx, ebx
je 0x459b43
mov ecx, ebx
call fcn.0040f5b8
jmp 0x459b43
push 0x73a9e8
mov ecx, esi
call fcn.00411aae
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x459b80
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, 0x6c5651
call fcn.006b9c3c
sub esp, 0x234
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
and dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
push 0
push 0xf
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x459c21
push esi
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0069d684
pop ecx
pop ecx
test eax, eax
jne 0x459c0e
push dword [ebp - 0x238]
push eax
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x459c0e
push 9
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x240]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x459bcb
pop esi
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x73a9b8
mov ecx, edi
call fcn.00411aae
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
push 0
push 1
call fcn.004ab703
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x45a0dc
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
mov eax, 0x6c5726
call fcn.006b9c3c
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x1c], edi
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
cmp edi, eax
jne 0x45a143
push 0x73a9e8
mov ecx, esi
call fcn.00411aae
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push 4
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x58], 0x1c
lea eax, [ebp - 0x58]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Thread32First]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x4c], eax
jne 0x45a24b
push dword [ebp - 0x50]
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.DLL_OpenThread]
test eax, eax
je 0x45a244
push eax
cmp dword [ebp + 8], 0
je 0x45a1fd
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
je 0x45a1d1
xor eax, eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x1c], 0x60
mov ecx, ebx
push 0x7f
pop edi
mov dword [ebp - 0x24], ecx
cmp ecx, 1
jae 0x45a1c9
mov eax, dword [ebp + ecx*4 - 0x1c]
sub eax, 0x3c
imul eax, eax, 0x13
cdq
idiv edi
lea eax, [edi + edx]
cdq
idiv edi
mov byte [ebp + ecx - 0x20], dl
inc ecx
jmp 0x45a1a7
mov byte [ebp - 0x1f], bl
lea eax, [ebp - 0x20]
jmp 0x45a1d6
mov eax, 0x73a9e8
push eax
mov ecx, esi
call fcn.00411aae
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
test ebx, ebx
je 0x45a130
mov ecx, ebx
call fcn.0040f5b8
jmp 0x45a130
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
cmp eax, 0xffffffff
je 0x45a1d1
xor eax, eax
mov word [ebp - 0x34], ax
mov dword [ebp - 0x30], 0x51
mov ecx, ebx
push 0x7f
pop edi
mov dword [ebp - 0x28], ecx
cmp ecx, 1
jae 0x45a23c
mov eax, dword [ebp + ecx*4 - 0x30]
sub eax, 0x6f
imul eax, eax, 0x1c
cdq
idiv edi
lea eax, [edi + edx]
cdq
idiv edi
mov byte [ebp + ecx - 0x34], dl
inc ecx
jmp 0x45a21a
mov byte [ebp - 0x33], bl
lea eax, [ebp - 0x34]
jmp 0x45a1d6
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x58]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Thread32Next]
test eax, eax
jne 0x45a160
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x73a9e8
jmp 0x45a1d7
Function at 0x45a618
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x6c57cb
call fcn.006b9c3c
sub esp, 0x244
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
call fcn.004947d7
push ebx
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45a66e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x22c
push ebx
lea eax, [ebp - 0x250]
push eax
call fcn.005077d5
add esp, 0xc
mov dword [ebp - 0x250], 0x22c
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x45a6f6
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x250]
push ecx
push dword [eax + 4]
push eax
call fcn.004b5eee
mov ecx, eax
mov edx, dword [edi + 4]
mov eax, 0x7432d5
sub eax, edx
cmp eax, 1
jae 0x45a6cf
push str.list_T__too_long
call fcn.00582131
lea eax, [edx + 1]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov eax, dword [ecx + 4]
mov dword [eax], ecx
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x45a69f
mov edi, ebx
jmp 0x45a6fe
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [ebp - 4], bl
test ebx, ebx
je 0x45a713
mov ecx, ebx
call fcn.0040f5b8
mov eax, edi
jmp 0x45a65d
Function at 0x45eab8
Capabilities:
Delete service

Disassembly:
mov eax, 0x6c5e95
call fcn.006b9c3c
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x28], edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 3
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x45eb32
push 0x73a9e8
mov ecx, edi
call fcn.00411aae
xor esi, esi
inc esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.004ab703
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push 0xf003f
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x45eb66
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x73a9e8
mov ecx, edi
call fcn.00411aae
jmp 0x45eb0c
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x45eb83
call esi
push dword [ebp - 0x24]
call esi
jmp 0x45eb58
call esi
push dword [ebp - 0x24]
call esi
xor eax, eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x1c], 0x4c
mov ecx, ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], 0x7f
xor esi, esi
inc esi
cmp ecx, esi
jae 0x45ebcb
push 0x72
pop eax
sub eax, dword [ebp + ecx*4 - 0x1c]
imul eax, eax, 0x12
cdq
idiv dword [ebp - 0x24]
push 0x7f
pop eax
add eax, edx
cdq
idiv dword [ebp - 0x24]
mov byte [ebp + ecx - 0x20], dl
inc ecx
mov dword [ebp - 0x2c], ecx
jmp 0x45eba6
mov byte [ebp - 0x1f], bl
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.00411aae
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
test ebx, ebx
je 0x45eb12
mov ecx, ebx
call fcn.0040f5b8
jmp 0x45eb12
Function at 0x45ec2d
Capabilities:
Start service

Disassembly:
mov eax, 0x6c5ec8
call fcn.006b9c3c
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x28], edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 3
push eax
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
jne 0x45eca2
push 0x73a9e8
mov ecx, edi
call fcn.00411aae
xor esi, esi
inc esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], bl
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.004ab703
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push 0x10
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [ebp - 0x1c], 0
jne 0x45ecdb
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x73a9e8
mov ecx, edi
call fcn.00411aae
jmp 0x45ec7c
push ebx
push ebx
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
jne 0x45ecfb
call esi
push dword [ebp - 0x24]
call esi
jmp 0x45eccd
call esi
push dword [ebp - 0x24]
call esi
xor eax, eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x1c], 0x54
mov ecx, ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], 0x7f
xor esi, esi
inc esi
cmp ecx, esi
jae 0x45ed43
push 0x51
pop eax
sub eax, dword [ebp + ecx*4 - 0x1c]
imul eax, eax, 0x1a
cdq
idiv dword [ebp - 0x24]
push 0x7f
pop eax
add eax, edx
cdq
idiv dword [ebp - 0x24]
mov byte [ebp + ecx - 0x20], dl
inc ecx
mov dword [ebp - 0x2c], ecx
jmp 0x45ed1e
mov byte [ebp - 0x1f], bl
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.00411aae
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
test ebx, ebx
je 0x45ec82
mov ecx, ebx
call fcn.0040f5b8
jmp 0x45ec82
Function at 0x45fe51
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x6c60c3
call fcn.006b9c3c
sub esp, 0x150
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov byte [ebp - 4], 2
mov dword [0x78fe94], ebx
mov esi, 0x78fe84
mov eax, esi
cmp dword [0x78fe98], 0x10
cmovae eax, dword [0x78fe84]
mov byte [eax], bl
push 0x40000
mov ecx, esi
call fcn.0041b40a
push ebx
push 0x45f11f
call dword [sym.imp.USER32.dll_EnumWindows]
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x3c], bx
movaps xmm0, xmmword [0x7458a0]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x45
mov ecx, ebx
mov dword [ebp - 0x1c], 0x7f
mov dword [ebp - 0x24], ecx
cmp ecx, 5
jae 0x45feff
push 0x7c
pop eax
sub eax, dword [ebp + ecx*4 - 0x38]
imul eax, eax, 0x2d
cdq
idiv dword [ebp - 0x1c]
push 0x7f
pop eax
add eax, edx
cdq
idiv dword [ebp - 0x1c]
mov byte [ebp + ecx - 0x40], dl
inc ecx
jmp 0x45fed9
mov byte [ebp - 0x3b], bl
push esi
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x94]
call fcn.004b0946
mov esi, eax
mov byte [ebp - 4], 3
mov dword [esp], str.__xml_
lea ecx, [ebp - 0xb4]
call fcn.0049303d
mov ecx, eax
call fcn.0049300b
push eax
mov edx, esi
lea ecx, [ebp - 0x7c]
call fcn.0041cdde
pop ecx
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x94]
call fcn.00411bc8
push ecx
push ecx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x15c]
call fcn.004a844d
mov byte [ebp - 4], 6
mov edx, eax
lea ecx, [ebp - 0x64]
call fcn.00444af6
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x15c]
call fcn.004525e5
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
cmp dword [edi + 0x14], 0x10
jb 0x45ff96
mov eax, dword [edi]
jmp 0x45ff98
mov eax, edi
mov byte [eax], bl
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.0041208e
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
push ebx
push eax
lea ecx, [ebp - 0x64]
call fcn.00411bc8
mov byte [ebp - 4], 2
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.00411bc8
mov byte [ebp - 4], 1
test ebx, ebx
je 0x45ffd7
mov ecx, ebx
call fcn.0040f5b8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46073e
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6c61ff
call fcn.006b9c3c
sub esp, 0x220
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
xor eax, eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x22c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
lea eax, [ebp - 0x22c]
push eax
mov ecx, esi
call fcn.004a63fc
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4607d1
Capabilities:
Get hostname

Disassembly:
mov eax, 0x6c6232
call fcn.006b9c3c
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x20], edi
xor esi, esi
mov dword [ebp - 0x18], esi
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.DLL_GetComputerNameW]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov word [ebp + eax*2 - 0x64], cx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x44]
call fcn.004a63fc
mov byte [ebp - 4], 3
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.00461197
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.004ab703
mov byte [ebp - 4], bl
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4613ae
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x6c64a7
call fcn.006b9c3c
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_GetNativeSystemInfo]
cmp word [ebp - 0x40], 9
je 0x461405
cmp word [ebp - 0x40], 7
je 0x461405
cmp word [ebp - 0x40], 6
je 0x461405
mov byte [ebp - 4], bl
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
mov byte [ebp - 4], bl
xor eax, eax
inc eax
jmp 0x4613f4
Function at 0x461435
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x6c64d2
call fcn.006b9c3c
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.DLL_GetNativeSystemInfo]
cmp word [ebp - 0x74], 9
je 0x4614d1
cmp word [ebp - 0x74], 7
je 0x4614d1
cmp word [ebp - 0x74], 6
je 0x4614d1
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 0x3d
mov dword [ebp - 0x38], 0x6e
mov dword [ebp - 0x34], 0x34
mov ecx, ebx
push 0x7f
pop edi
mov dword [ebp - 0x20], ecx
cmp ecx, 3
jae 0x4614c1
push 0xa
pop eax
sub eax, dword [ebp + ecx*4 - 0x3c]
imul eax, eax, 0x23
cdq
idiv edi
lea eax, [edi + edx]
cdq
idiv edi
mov byte [ebp + ecx - 0x40], dl
inc ecx
jmp 0x46149f
mov byte [ebp - 0x3d], bl
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00411aae
jmp 0x46151e
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], 0x6f
mov dword [ebp - 0x48], 0x5e
mov dword [ebp - 0x44], 0x37
mov ecx, ebx
push 0x7f
pop edi
mov dword [ebp - 0x24], ecx
cmp ecx, 3
jae 0x461510
push 0x39
pop eax
sub eax, dword [ebp + ecx*4 - 0x4c]
imul eax, eax, 0x1a
cdq
idiv edi
lea eax, [edi + edx]
cdq
idiv edi
mov byte [ebp + ecx - 0x50], dl
inc ecx
jmp 0x4614ee
mov byte [ebp - 0x4d], bl
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.00411aae
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 1
test ebx, ebx
je 0x461534
mov ecx, ebx
call fcn.0040f5b8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464c27
Capabilities:
Get disk information

Disassembly:
mov eax, 0x6c685c
call fcn.006b9c3c
sub esp, 0x290
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x38], esi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push 7
pop ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ebx
xor eax, eax
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 4
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], ax
mov byte [ebp - 4], 5
push ebx
push 2
lea ecx, [ebp - 0x34]
call fcn.004ab8d1
mov eax, ebx
mov dword [ebp - 0x1c], eax
cmp eax, 0x19
ja 0x464da4
cmp dword [ebp - 0x24], 0
ja 0x464cb1
push str.invalid_string_position
call fcn.00582151
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
cmovae ecx, dword [ebp - 0x34]
add al, 0x41
cbw
mov word [ecx], ax
cmp dword [ebp - 0x24], edi
jbe 0x464ca7
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
cmovae eax, dword [ebp - 0x34]
push 0x3a
pop ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
cmovae eax, dword [ebp - 0x34]
push 0x208
lea ecx, [ebp - 0x29c]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
test eax, eax
je 0x464dbe
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004a63fc
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x50]
call fcn.004a638e
mov byte [ebp - 4], 5
push ebx
push edi
lea ecx, [ebp - 0x7c]
call fcn.004ab703
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
cmovae eax, dword [ebp - 0x50]
push dword [ebp - 0x40]
push ebx
push eax
lea ecx, [ebp + 8]
call fcn.004ab82c
test eax, eax
jne 0x464dbe
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x34]
push eax
call fcn.004a6481
mov byte [ebp - 4], 7
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x50]
push eax
call fcn.004a6481
mov byte [ebp - 4], 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x58], esp
lea eax, [ebp + 8]
push eax
call fcn.004a6481
mov byte [ebp - 4], 9
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.00460cfb
add esp, 0x48
push ebx
push edi
lea ecx, [ebp - 0x94]
call fcn.004ab703
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 8
jb 0x464dc7
mov eax, dword [esi]
jmp 0x464dc9
mov eax, dword [ebp - 0x1c]
inc eax
jmp 0x464c95
mov eax, esi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.004abf8f
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 4
push ebx
push edi
lea ecx, [ebp - 0x50]
call fcn.004ab703
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.004ab703
mov byte [ebp - 4], 2
test ebx, ebx
je 0x464e07
mov ecx, ebx
call fcn.0040f5b8
mov byte [ebp - 4], bl
push ebx
push edi
lea ecx, [ebp + 8]
call fcn.004ab703
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464e5d
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x6c6887
call fcn.006b9c3c
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 2
cmp dword [edx + 0x14], 0x10
jb 0x464e93
mov edx, dword [edx]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x464ed1
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, esi
call fcn.00411aae
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 0x10
jb 0x464eeb
mov eax, dword [esi]
jmp 0x464eed
mov eax, esi
mov byte [eax], bl
jmp 0x464eb3