joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe58
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 4], eax
push str.Thread_PerformSelfUpdate_...
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
xorps xmm0, xmm0
mov dword [ebp - 0xe48], 0x44
push 0x200
lea eax, [ebp - 0x604]
movlpd qword [ebp - 0xe44], xmm0
push 0
push eax
movlpd qword [ebp - 0xe3c], xmm0
movlpd qword [ebp - 0xe34], xmm0
movlpd qword [ebp - 0xe2c], xmm0
movlpd qword [ebp - 0xe24], xmm0
movlpd qword [ebp - 0xe1c], xmm0
movlpd qword [ebp - 0xe14], xmm0
movlpd qword [ebp - 0xe0c], xmm0
movups xmmword [ebp - 0xe58], xmm0
call fcn.00572a10
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00572a10
push 0x200
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.00572a10
lea eax, [ebp - 0x604]
push 1
push eax
call fcn.004615d0
add esp, 0x40
lea eax, [ebp - 0x604]
push str.AdobeGCClient_agshelper.exe
push 0x104
push eax
call fcn.00461410
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.004615d0
push str.AdobeGCClient
lea eax, [ebp - 0x404]
push 0x104
push eax
call fcn.00461410
push 1
push 0x62ca44
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.00461490
lea eax, [ebp - 0x604]
push eax
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.00461410
push 0x62ca44
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.00461410
add esp, 0x48
lea eax, [ebp - 0x204]
push 0x62ca14
push 0x104
push eax
call fcn.00461410
push 0x62ca44
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.00461410
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.00461410
push str._temp
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.00461410
push 0x62ca44
lea eax, [ebp - 0x204]
push 0x104
push eax
call fcn.00461410
push 0x400
lea eax, [ebp - 0xe04]
push 0
push eax
call fcn.00572a10
add esp, 0x48
lea eax, [ebp - 0xa04]
push 0x400
push 0
push eax
call fcn.00572a10
lea ecx, [ebp - 0x204]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450502
sub ecx, edx
lea eax, [ebp - 0x204]
push ecx
push eax
lea eax, [ebp - 0xe04]
push eax
call fcn.005876b7
lea eax, [ebp - 0x404]
add esp, 0xc
lea edx, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x450530
sub eax, edx
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0xa04]
push eax
call fcn.005876b7
add esp, 0xc
lea eax, [ebp - 0xe58]
push eax
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0xa04]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xe04]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x450597
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x204]
push eax
push str.Launch_Failed__s_d
jmp 0x4505aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x204]
push eax
push str.Launched__s_d
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
Function at 0x452760
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
push eax
push str._s_failed_w_err_0x_08lx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004526d0
add esp, 0x14
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x4527e0
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x214]
push eax
push 0
push 2
push 0
push 0
push 0
push 1
push esi
mov dword [ebp - 0x214], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0055d371
mov esp, ebp
pop ebp
ret 8

Function at 0x452800
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x452848
mov ecx, dword [edi + 4]
lea eax, [ebp - 8]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x452850
Capabilities:
Create service
Modify service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fb93b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x238], eax
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4528f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetModuleFileName_failed_w_err_0x_08lx_n
call fcn.0044fae0
add esp, 8
jmp 0x452a43
push 1
push 0x62d290
lea ecx, [ebp - 0x230]
call fcn.0044e500
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452914
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00452c10
push 1
push 0x62d290
lea ecx, [ebp - 0x230]
call fcn.00452c10
push 3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x452973
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.0044fae0
add esp, 8
jmp 0x452a43
push dword [ebp - 0x238]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x23c]
cmovae eax, dword [ebp - 0x230]
push dword [ebp - 0x240]
push 0
push 0
push eax
push 1
push dword [ebp - 0x234]
push 0x10
push 0xf01ff
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
jne 0x4529f2
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push str.CreateService_failed_w_err_0x_08lx_n
call fcn.0044fae0
add esp, 8
call esi
push eax
push str.AGSSerice_Service_Install_Failed_...08lx
push edi
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
add esp, 0x18
jmp 0x452a33
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 0x62d8c0
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push esi
push str._s_is_installed._n
call fcn.0044fae0
push str.AGSSerice_Service_Installed_...
push 0
push 4
push str.AGSService
push dword [0x6ce0ac]
call fcn.004ae670
add esp, 0x1c
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
test edi, edi
je 0x452a43
push edi
call esi
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x452a7f
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452a75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452a9b
push edx
push ecx
call fcn.0055d3b2
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
call fcn.0057bc5b
int3
Function at 0x452ab0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
push 1
push 0
push 0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
jne 0x452b11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.0044fae0
add esp, 8
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
push esi
push 0x10024
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x452b36
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenService_failed_w_err_0x_08lx_n
jmp 0x452bdb
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x452bbc
push edi
push str.Stopping__s.
call fcn.0044fae0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
push 0x3e8
call ebx
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x452b9c
mov eax, dword [ebp - 0x1c]
cmp eax, 3
jne 0x452b9f
push 0x62f8c8
call fcn.0044fae0
add esp, 4
push 0x3e8
call ebx
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x452b71
mov eax, dword [ebp - 0x1c]
push edi
cmp eax, 1
jne 0x452bac
push 0x62f8cc
jmp 0x452bb1
push str._n_s_failed_to_stop._n
call fcn.0044fae0
mov ebx, dword [ebp - 0x24]
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x452bd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x62f920
jmp 0x452bdb
push edi
push str._s_is_removed._n
call fcn.0044fae0
add esp, 8
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call edi
test esi, esi
je 0x452bf3
push esi
call edi
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.0055d371
mov esp, ebp
pop ebp
ret
Function at 0x457ce0
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x693b20
push 0x572bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x6c2d9c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov esi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0x7530
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 1
push esi
mov edi, dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
call edi
test eax, eax
jne 0x457e6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x457e3f
push dword [ebp - 0x44]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x457e3f
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push dword [ebp - 0x44]
push eax
push 1
push esi
call edi
test eax, eax
je 0x457e2c
xor edi, edi
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp - 0x48]
jae 0x457e63
lea eax, [edi + edi*8]
mov ecx, dword [ebp - 0x54]
movups xmm1, xmmword [ecx + eax*4]
movups xmm0, xmmword [ecx + eax*4 + 0x10]
movups xmmword [ebp - 0x74], xmm0
mov eax, dword [ecx + eax*4 + 0x20]
mov dword [ebp - 0x64], eax
push 0x24
movd eax, xmm1
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x457e2c
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x457e2c
cmp dword [ebp - 0x3c], 1
je 0x457e43
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x44]
push eax
push 0x24
lea eax, [ebp - 0x40]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x457e2c
cmp dword [ebp - 0x3c], 1
je 0x457e43
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jbe 0x457df2
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x6c2d9c
call fcn.00572d10
add esp, 0xc
xor eax, eax
jmp 0x457e74
mov dword [ebp - 4], 0
call fcn.00457e5b
inc edi
jmp 0x457d9b
mov dword [ebp - 4], 0xfffffffe
call fcn.00457e90
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
Function at 0x45dbf0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x45dc36
mov ax, word [ebp + 0xc]
test ax, ax
je 0x45dc36
push edi
movzx edi, ax
push edi
push esi
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp eax, 1
jbe 0x45dc35
cmp eax, edi
jae 0x45dc35
push edi
add eax, esi
push eax
push 0x5a
push 0x400
mov byte [eax - 1], 0x5f
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
pop edi
pop esi
pop ebp
ret

Function at 0x45dce0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa30
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 0xa2c], eax
mov dword [ebp - 0xa30], ecx
test eax, eax
je 0x45de95
push 0x20a
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00572a10
add esp, 0xc
xor eax, eax
mov word [ebp - 0xa28], ax
lea eax, [ebp - 0xa28]
push eax
push 0x1ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x1fe
ja 0x45de95
mov eax, dword [0x630398]
movzx ecx, word [ebp - 0xa28]
push esi
mov dword [ebp - 0xc], eax
mov ax, word [0x63039c]
push edi
mov word [ebp - 8], ax
lea edi, [ebp - 0xa28]
nop dword [eax]
push 0x104
lea eax, [ebp - 0x420]
mov word [ebp - 0xc], cx
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x45de76
lea esi, [ebp - 0x420]
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x45dda0
sub esi, ecx
sar esi, 1
cmp esi, 0x104
jae 0x45de76
push esi
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0xa2c]
call fcn.00587e3b
add esp, 0xc
add esi, esi
test eax, eax
mov eax, dword [ebp - 0xa2c]
jne 0x45ddeb
cmp word [esi + eax], 0x5c
jne 0x45ddeb
mov ebx, 1
jmp 0x45dded
xor ebx, ebx
test ebx, ebx
je 0x45de76
add eax, esi
push eax
lea eax, [ebp - 0xc]
push eax
push 0x6303a0
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.00439960
lea ecx, [ebp - 0x628]
add esp, 0x14
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45de20
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x218]
push 0x105
push eax
call fcn.00587de1
lea ecx, [ebp - 0x218]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45de54
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xa30]
push eax
call fcn.0044e500
movzx eax, word [edi]
add edi, 2
test ax, ax
jne 0x45de76
test ebx, ebx
jne 0x45de93
movzx eax, word [edi]
mov ecx, eax
test ax, ax
jne 0x45dd70
pop edi
pop esi
mov ecx, dword [ebp - 4]
test ebx, ebx
pop ebx
setne al
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
Function at 0x45e2f0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fdbf2
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x31c], esi
mov dword [ebp - 0x314], 0
push 7
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push str.unknown
mov dword [ebp - 4], 0
mov byte [esi], 0
call fcn.0044e410
mov ax, word [0x62d970]
push 0x1fe
mov word [ebp - 0x310], ax
lea eax, [ebp - 0x30e]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x314], 1
call fcn.00572a10
add esp, 0xc
mov dword [ebp - 0x318], 0x100
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x310]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x45e40a
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00572a10
add esp, 0xc
lea eax, [ebp - 0x110]
push 0
push 0
push 0x100
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x310]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e3f2
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.0044e410
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret

Function at 0x45e560
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fdbf2
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x31c], esi
mov dword [ebp - 0x314], 0
push 7
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push str.unknown
mov dword [ebp - 4], 0
mov byte [esi], 0
call fcn.0044e410
mov ax, word [0x62d970]
push 0x1fe
mov word [ebp - 0x310], ax
lea eax, [ebp - 0x30e]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x314], 1
call fcn.00572a10
add esp, 0xc
mov dword [ebp - 0x318], 0x100
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x310]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x45e67a
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00572a10
add esp, 0xc
lea eax, [ebp - 0x110]
push 0
push 0
push 0x100
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x310]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e662
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.0044e410
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
Function at 0x45e6a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push 0
push eax
call fcn.00572a10
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push 0
push 0
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x45e701
push 0x104
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00587ca9
add esp, 0xc
lea edx, [ebp - 0x108]
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x45e710
sub edx, ecx
lea eax, [ebp - 0x108]
push edx
push eax
mov ecx, esi
call fcn.00450ff0
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0055d371
mov esp, ebp
pop ebp
ret

Function at 0x45ff60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fddf8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x6c2d9c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0055d382
mov edi, eax
add esp, 4
test edi, edi
je 0x45fffd
push 1
mov dword [ebp - 4], 0
call fcn.0055f0fe
add esp, 4
mov dword [edi + 4], eax
jmp 0x45ffff
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.00459770
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x46005a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x46005a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x460076
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x460099
cmp byte [ebp + 0xc], 0
je 0x460085
push esi
call fcn.0055f9e9
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x4600a5
mov esi, 0x630234
jmp 0x4600b5
test cl, 2
mov esi, 0x63024c
mov eax, 0x630264
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.0043a460
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.0043a930
push 0x6a7be0
lea eax, [ebp - 0x28]
push eax
call fcn.005726a8
int3
Function at 0x4609b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
dec eax
push esi
cmp eax, 0xfe
ja case.0x4609da.2
movzx eax, byte [eax + 0x460adc]
jmp dword [eax*4 + 0x460abc]
mov esi, 0x2b
jmp 0x460a10
mov esi, 0x23
jmp 0x460a10
mov esi, 0x1a
jmp 0x460a10
mov esi, 0x1c
jmp 0x460a10
mov esi, 0x2a
jmp 0x460a10
mov esi, 0x26
jmp 0x460a10
mov esi, 0x2c
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
mov eax, esi
or eax, 0x8000
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x460a61
cmp esi, 0x2c
jne 0x460a4f
push 1
push ebx
call fcn.004609b0
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00461540
mov edi, eax
add esp, 4
test edi, edi
je 0x460aa6
push 0x104
push edi
push 0x104
push ebx
call fcn.00461490
push edi
mov esi, eax
call fcn.00587396
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055d371
mov esp, ebp
pop ebp
ret

Function at 0x460cb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
call fcn.004614e0
mov edi, eax
add esp, 4
test edi, edi
je 0x460cdd
push esi
push edi
call fcn.00589c9c
push edi
mov esi, eax
call fcn.00587396
add esp, 8
mov eax, esi
pop esi
pop edi
pop ebp
ret
push 0x16
call fcn.0058991e
add esp, 4
or eax, 0xffffffff
pop edi
pop ebp
ret

Function at 0x460f00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6c2d9c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x460f8f
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00461540
mov esi, eax
add esp, 4
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460f44
sub ecx, edx
je 0x460f5a
cmp byte [ecx + esi - 1], 0x5c
jne 0x460f5a
mov byte [ecx + esi - 1], al
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460f60
sub ecx, edx
push ecx
push esi
push dword [ebp + 0xc]
push edi
call fcn.00461490
push esi
call fcn.00587396
add esp, 0x14
mov eax, edi
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055d371
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0055d371
mov esp, ebp
pop ebp
ret