joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10025d3f
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x10061060]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.10026374
push esi
test eax, eax
je 0x10025dcc
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10033d90
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x10025dc3
cmp esi, 0xffffffff
je 0x10025dc3
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x10025dbf
push edi
lea eax, [esp + 0xc]
push eax
call fcn.10026374
test eax, eax
je 0x10025dc3
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x10025da5
lea eax, [esp + 4]
call fcn.1000316d
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.1003186a
mov esp, ebp
pop ebp
ret 4

Function at 0x10025de1
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x22c
lea ebp, [esp - 4]
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp + 0x22c], eax
push 8
mov eax, 0x10047d8f
call fcn.10032d91
mov eax, dword [ebp + 0x238]
mov dword [ebp - 0x14], eax
test edi, edi
je 0x10025e76
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x10025e6e
cmp esi, 0xffffffff
je 0x10025e6e
push 0x228
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp], 0x22c
call fcn.10033d90
add esp, 0xc
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x10025e6a
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call edi
test eax, eax
je 0x10025e6e
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10025e53
lea eax, [ebp - 0x10]
call fcn.1000316d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x22c]
xor ecx, ebp
call fcn.1003186a
add ebp, 0x230
leave
ret 4

Function at 0x10025e9b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x10025eae
xor eax, eax
jmp 0x10025f07
push 0x40
lea eax, [ebp - 0x58]
push esi
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.10033d90
mov dword [ebp - 0x14], esi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
add esp, 0xc
call fcn.10024413
mov edi, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10025eff
push dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.10024440
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x10025fe8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
jne 0x10026001
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.10025f0d
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x100260fd
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call fcn.10025de1
cmp dword [ebp - 0x14], esi
je 0x10025ff8
push dword [ebp - 0x18]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x1002603d
cmp eax, 0xffffffff
jne 0x10026049
lea eax, [ebp - 0x10]
call fcn.1000316d
mov eax, esi
jmp 0x10025ffa
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1002603d
push esi
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], esi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100260f3
mov edi, dword [ebp + 8]
call fcn.10024413
push 0x40
mov dword [ebp + 8], eax
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], 0x44
call fcn.10033d90
add esp, 0xc
push 5
pop eax
mov word [ebp - 0x44], ax
xor eax, eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push dword [ebp - 0xc]
mov dword [ebp - 0x48], 1
push 0x420
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x100260e2
push dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
call ebx
push dword [ebp + 8]
call fcn.10024440
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
push dword [ebp - 8]
call ebx
jmp 0x1002603d

Function at 0x100262d3
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x100262fa
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003186a
leave
ret 4
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x210], esi
test esi, esi
je 0x1002631c
cmp esi, 0xffffffff
jne 0x1002632e
xor esi, esi
lea eax, [ebp - 0x210]
call fcn.1000316d
mov eax, esi
pop esi
jmp 0x100262ec
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10033d90
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jbe 0x1002631c
mov edx, edi
lea ecx, [ebp - 0x20c]
call fcn.1002536e
xor esi, esi
inc esi
jmp 0x1002631e
Function at 0x100264dd
Capabilities:
Check if file exists
Get file size
Read file via mapping

Disassembly:
or dword [esi], 0xffffffff
push ebx
push dword [esp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10026572
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x10026572
push edi
lea edi, [esi + 0x10]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10026571
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov edx, ecx
or edx, eax
je 0x10026571
cmp eax, ebx
jl 0x10026546
mov eax, 0x400000
jg 0x10026542
cmp ecx, eax
jbe 0x10026546
mov edi, eax
jmp 0x10026548
mov edi, ecx
push ebx
push ebx
push ebx
push 2
push ebx
push dword [esi]
mov dword [esi + 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x10026571
push dword [esi + 0x18]
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
pop edi
mov eax, esi
pop ebx
ret 4

Function at 0x10026d88
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x4f90]
mov eax, 0x5010
call fcn.10040400
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp + 0x4f8c], eax
cmp dword [ebp + 0x4f9c], 0
mov eax, dword [ebp + 0x4f98]
mov dword [ebp - 0x78], eax
je 0x10026e0b
xor eax, eax
push 0x4ffe
push eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push eax
call fcn.10033d90
and dword [ebp - 0x7c], 0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push edi
push esi
mov dword [ebp - 0x80], 0x5000
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x7c], 1
jne 0x10026e0b
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x10026e0b
inc eax
jmp 0x10026e33
xor eax, eax
cmp dword [ebp - 0x78], eax
je 0x10026e1b
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0x78]
push 1
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0x4f8c]
xor ecx, ebp
call fcn.1003186a
add ebp, 0x4f90
leave
ret 8
Function at 0x10026e8b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x10049626
call fcn.10032d91
mov eax, dword [ebp + 0x80c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x810]
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
mov ebx, ecx
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], ebx
mov word [esi + 4], ax
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], edi
cmp ebx, edi
je 0x10026f99
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.10033d90
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
push ebx
push dword [ebp - 0x20]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x18], edi
call ebx
cmp dword [ebp - 0x18], 1
je 0x10026f33
cmp dword [ebp - 0x18], 2
jne 0x10026f99
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x10026f99
cmp eax, 0x800
jbe 0x10026f67
add eax, 2
push eax
call fcn.100324f6
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
push edi
push eax
mov dword [ebp - 0x14], eax
call fcn.10033d90
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
jmp 0x10026f6f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call ebx
mov ebx, dword [ebp - 0x14]
mov eax, ebx
cmp ebx, edi
jne 0x10026f87
lea eax, [ebp]
push eax
push esi
call fcn.10002316
cmp ebx, edi
je 0x10026f99
push ebx
call fcn.10032419
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.1003186a
add ebp, 0x804
leave
ret
Function at 0x10026fbe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100495e5
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.10040400
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov esi, ecx
mov dword [ebp - 0x202c], edi
call fcn.10002068
xor ebx, ebx
push esi
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.1002422d
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x100270d3
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.10033d90
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x100270bd
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.10002018
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.1000bc6f
push edi
push 1
mov byte [ebp - 4], 1
call fcn.1000233d
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call ebx
test eax, eax
je 0x1002706f
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x100270f1
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003186a
leave
ret

Function at 0x10027111
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push 1
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x10027160
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x10027214
Capabilities:
Check if file exists
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [ebp + 0xc], 3
jbe 0x10027228
cmp dword [ebp + 0xc], esi
ja 0x10027296
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10027296
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x1002728e
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov eax, str.gxdte
push 1
push dword [ebp + 0xc]
push 2
push 0xf01ff
push eax
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.100271f4
xor eax, eax
cmp dword [ebp - 4], esi
setne al
jmp 0x10027298
lea eax, [ebp - 8]
call fcn.100271f4
xor eax, eax
pop esi
leave
ret 8

Function at 0x100273ac
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
push 4
push edi
push edi
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x10027406
push 4
push str.gxdte
lea esi, [ebp - 8]
call fcn.100271c6
cmp dword [ebp - 8], edi
je 0x10027406
push 6
mov dword [ebp - 0x24], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x10027406
cmp dword [ebp - 0x20], 4
jne 0x10027406
inc ebx
lea eax, [ebp - 8]
call fcn.100271f4
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x1002757b
Capabilities:
Get common file path

Disassembly:
push 0
push 0x23
push dword [esp + 0xc]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
ret 4
Function at 0x100276a8
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
xor esi, esi
push esi
push esi
push 6
push 1
push 2
mov dword [ebp - 0x3c], esi
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x5c], esi
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp ebx, 0xffffffff
je 0x1002783b
mov eax, 0xddf3
mov word [ebp - 0x10], ax
mov eax, 0x4660
push 2
mov word [ebp - 0xe], ax
pop eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x14], 0x25a207b9
mov byte [ebp - 0xc], 0x8e
mov byte [ebp - 0xb], 0xe9
mov byte [ebp - 0xa], 0x76
mov byte [ebp - 9], 0xe5
mov byte [ebp - 8], 0x8c
mov byte [ebp - 7], 0x74
mov byte [ebp - 6], 6
mov byte [ebp - 5], 0x3e
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x30], eax
call sub.WS2_32.dll_htons
push 0x10
pop edi
mov word [ebp - 0x32], ax
push edi
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x1002783b
push 2
pop eax
mov word [ebp - 0x24], ax
mov eax, dword [ebp + 8]
push 0x32e3
mov dword [ebp - 0x20], eax
call sub.WS2_32.dll_htons
push esi
push esi
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x48]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0xc8000006
push ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x10027824
cmp dword [ebp - 0x38], esi
je 0x10027824
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push edi
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [ebp - 0x38]
test eax, eax
jne 0x100277c8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x1002783b
push esi
push 0xbb8
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
test eax, eax
je 0x100277ea
push ebx
call dword [sym.imp.KERNEL32.dll_CancelIo]
jmp 0x1002783b
lea eax, [ebp - 0x44]
push eax
push edi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x1002783b
push esi
push esi
push 0x7010
push 0xffff
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1002783b
mov dword [ebp - 0x3c], edi
jmp 0x1002783b
push edi
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x1002783b
mov dword [ebp - 0x3c], 1
cmp dword [ebp - 0x4c], esi
je 0x10027849
push dword [ebp - 0x4c]
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
cmp dword [ebp - 0x3c], esi
jne 0x1002785c
cmp ebx, 0xffffffff
je 0x1002785c
push ebx
call sub.WS2_32.dll_closesocket
or ebx, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1003186a
leave
ret
Function at 0x10027984
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x42c], eax
cmp esi, ebx
jne 0x100279b2
xor eax, eax
jmp 0x10027aa1
cmp eax, ebx
jne 0x100279c7
mov dword [ebp - 0x42c], str.abcdefghijklmnopqrstuvwabcdefghi
mov dword [ebp + 0xc], 0x20
lea eax, [ebp - 0x428]
push eax
mov eax, esi
mov dword [ebp - 0x428], ebx
call fcn.1002553d
test eax, eax
jne 0x10027a35
lea eax, [ebp - 0x424]
push esi
push eax
call fcn.1002786d
pop ecx
pop ecx
cmp dword [ebp - 0x410], ebx
jne 0x10027a06
push ebx
push 1
lea ecx, [ebp - 0x424]
call fcn.10002245
jmp 0x100279ab
cmp dword [ebp - 0x40c], 0x10
mov eax, dword [ebp - 0x420]
jae 0x10027a1b
lea eax, [ebp - 0x420]
lea ecx, [ebp - 0x428]
push ecx
call fcn.1002553d
push ebx
push 1
lea ecx, [ebp - 0x424]
call fcn.10002245
call sub.IPHLPAPI.DLL_IcmpCreateFile
mov edi, eax
cmp edi, 0xffffffff
je 0x100279ab
push 0x3ff
lea eax, [ebp - 0x407]
push ebx
push eax
xor esi, esi
mov byte [ebp - 0x408], bl
call fcn.10033d90
add esp, 0xc
push 0x7d0
push 0x400
lea eax, [ebp - 0x408]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x42c]
push dword [ebp - 0x428]
push ebx
push ebx
push ebx
push edi
call sub.IPHLPAPI.DLL_IcmpSendEcho2
test eax, eax
je 0x10027a99
cmp dword [ebp - 0x404], ebx
jne 0x10027a99
inc esi
push edi
call sub.IPHLPAPI.DLL_IcmpCloseHandle
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003186a
leave
ret
Function at 0x10029303
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x17ac]
mov eax, 0x182c
call fcn.10040400
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp + 0x17a8], eax
push esi
push edi
push 4
pop esi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
mov edi, ecx
push edi
push str.Softwareprojonepodlp_smpcache_
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10029357
cmp dword [ebp - 0x60], esi
jne 0x10029357
mov eax, dword [ebp - 0x5c]
jmp 0x10029359
xor eax, eax
test eax, eax
je 0x10029423
push ebx
push 0x7fe
lea eax, [ebp + 0xfaa]
push 0
push eax
call fcn.10033d90
mov ebx, dword [sym.imp.SHLWAPI.dll_StrNCatW]
add esp, 0xc
push 0x5b
pop eax
push 0x400
mov word [ebp + 0xfa8], ax
push edi
lea eax, [ebp + 0xfa8]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x1005604c
lea eax, [ebp + 0xfa8]
push eax
call edi
lea eax, [ebp - 0x80]
push eax
call fcn.100259e0
cmp dword [eax + 0x18], 8
pop ecx
jb 0x100293c0
mov eax, dword [eax + 4]
jmp 0x100293c3
add eax, 4
push eax
lea eax, [ebp + 0xfa8]
push eax
call edi
push 0
push 1
lea esi, [ebp - 0x80]
call fcn.1000233d
push 0x10056054
lea eax, [ebp + 0xfa8]
push eax
call edi
push 0x400
push dword [ebp + 0x17b4]
lea eax, [ebp + 0xfa8]
push eax
call ebx
lea eax, [ebp + 0x17b8]
push eax
lea eax, [ebp + 0xfa8]
push eax
push 0x800
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ebx
mov ecx, dword [ebp + 0x17a8]
pop edi
xor ecx, ebp
pop esi
call fcn.1003186a
add ebp, 0x17ac
leave
ret

Function at 0x10029e0c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10061060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 7
push 0xc0000000
mov edi, str..gxdte_cd
push edi
call esi
cmp eax, 0xffffffff
jne 0x10029ef3
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.10033d90
add esp, 0xc
call fcn.10029d94
mov ebx, eax
push 0x104
lea eax, [ebp - 0x210]
push eax
xor ecx, ecx
call fcn.10024e3c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10029eb9
cmp word [0x1006b800], ax
je 0x10029eb9
push 0x1006b800
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.10025010
mov ebx, str.gxdte64.sys
test eax, eax
jne 0x10029ecc
mov ebx, str.gxdte32.sys
call fcn.100272fe
push ebx
lea ecx, [ebp - 0x210]
call fcn.1002fbe0
call fcn.1002729d
xor eax, eax
push eax
push eax
push 3
push eax
push 7
push 0xc0000000
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003186a
leave
ret