joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a280
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x524b7c]
cmp eax, 0xfffffc19
jne 0x44a3ff
push ebx
push esi
xor ebx, ebx
push str.kernel32
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
jne 0x44a2ba
xor eax, eax
jmp 0x44a2dc
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x44a2d9
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [ebp - 0x24]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x28]
push ecx
and eax, 0x100
add eax, 0x20019
push eax
push ebx
push str.SOFTWAREEYOOCLIENTSTATUS
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44a3aa
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 4
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push str.BootFrom
push edx
call esi
test eax, eax
jne 0x44a351
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x2c]
push edx
push ebx
push str.MixedMode
push eax
call esi
test eax, eax
je 0x44a364
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], ebx
je 0x44a392
cmp dword [ebp - 0x30], ebx
jne 0x44a392
mov eax, 1
pop esi
mov dword [0x524b7c], eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
pop esi
mov dword [0x524b7c], ebx
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
push 0x1a
push str.D:_syssetmenu_setmenu.dat
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xc], 0xf
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x20], bl
call fcn.00402a60
mov eax, dword [ebp - 0x20]
mov esi, 0x10
cmp dword [ebp - 0xc], esi
jae 0x44a3d6
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
neg eax
sbb eax, eax
inc eax
mov dword [0x524b7c], eax
cmp dword [ebp - 0xc], esi
jb 0x44a3fd
mov edx, dword [ebp - 0x20]
push edx
call fcn.00481954
mov eax, dword [0x524b7c]
add esp, 4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
Function at 0x44a410
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 4], eax
test edi, edi
jne 0x44a437
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
push 0x1ff
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.00485940
push 0x1ff
lea ecx, [ebp - 0x403]
push 0
push ecx
mov byte [ebp - 0x404], 0
call fcn.00485940
push str.MainServer
push 0x50fe5c
lea edx, [ebp - 0x404]
call fcn.0044ac10
add esp, 0x20
push esi
push 0x200
lea edx, [ebp - 0x204]
push edx
push 0x50d365
lea eax, [ebp - 0x404]
push eax
push str.setup
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x204]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44a4b0
sub eax, edx
inc eax
cmp eax, 0x40
ja 0x44a427
lea eax, [ebp - 0x204]
mov edx, edi
mov ecx, eax
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x44a4d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
call fcn.004815a9
mov esp, ebp
pop ebp
ret
Function at 0x44aa10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eda65
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], edi
mov byte [ebp - 0x88], 0
lea esi, [ebp - 0x88]
mov dword [ebp - 4], 1
call fcn.0044a100
test eax, eax
je 0x44aab0
push edi
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], edi
push 0x50d365
mov ecx, ebx
mov byte [ebx], 0
call fcn.00402a60
mov byte [ebp - 4], 0
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0x8c], 1
jb 0x44abef
mov eax, dword [ebp - 0x88]
push eax
jmp 0x44abe7
push 1
push 0x50d388
lea ecx, [ebp - 0x88]
call fcn.004040a0
push str.BaseSeting.ini
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.00406520
add esp, 0xc
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x6c]
mov esi, 0x10
cmp dword [ebp - 0x58], esi
jae 0x44aaee
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44ab40
push edi
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], edi
push 0x50d365
mov ecx, ebx
mov byte [ebx], al
call fcn.00402a60
mov byte [ebp - 4], 1
mov dword [ebp - 0x8c], 1
cmp dword [ebp - 0x58], esi
jb 0x44ab31
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00481954
add esp, 4
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], edi
jmp 0x44abd3
push 0x3f
lea edx, [ebp - 0x4f]
push edi
push edx
mov byte [ebp - 0x50], 0
call fcn.00485940
add esp, 0xc
cmp dword [ebp - 0x58], esi
mov esi, dword [ebp - 0x6c]
jae 0x44ab5e
lea esi, [ebp - 0x6c]
lea edi, [ebp - 0x50]
call fcn.0044a410
mov edi, 0xf
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], edi
mov byte [ebx], 0
test eax, eax
jne 0x44ab84
push eax
push 0x50d365
jmp 0x44ab9e
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44ab90
sub eax, edx
push eax
lea edx, [ebp - 0x50]
push edx
mov ecx, ebx
call fcn.00402a60
mov esi, 0x10
mov byte [ebp - 4], 1
mov dword [ebp - 0x8c], 1
cmp dword [ebp - 0x58], esi
jb 0x44abc9
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00481954
add esp, 4
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 0
mov byte [ebp - 0x6c], 0
cmp dword [ebp - 0x74], esi
jb 0x44abef
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.00481954
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
Function at 0x44ac30
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec6f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44aca4
mov ecx, esi
lea edi, [ebp - 0x2c]
call fcn.004072d0
xor edi, edi
mov edx, eax
mov dword [ebp - 4], edi
call fcn.00406ee0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x44ac96
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00481954
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
push 0x50d53c
push esi
call fcn.004836e8
mov edi, eax
add esp, 8
test edi, edi
jne 0x44acd8
mov edx, esi
call fcn.004076d0
push 0x50d53c
push esi
call fcn.004836e8
mov edi, eax
add esp, 8
test edi, edi
jne 0x44acd8
lea eax, [edi + 0x6e]
jmp 0x44acfe
mov esi, dword [ebp + 8]
push edi
push esi
push 1
push ebx
call fcn.004838ae
add esp, 0x10
cmp eax, esi
je 0x44acf3
mov eax, 0x1d
jmp 0x44acfe
push edi
call fcn.00483bd9
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
Function at 0x44ad20
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eb508
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x51e584]
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 + 8]
mov esi, ecx
mov ebx, 0x10
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x14], ebx
jb 0x44ad61
mov eax, dword [esi]
jmp 0x44ad63
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44adb3
cmp dword [esi + 0x14], ebx
jb 0x44ad77
mov ecx, dword [esi]
jmp 0x44ad79
mov ecx, esi
lea edi, [ebp - 0x2c]
call fcn.004072d0
xor edi, edi
mov edx, eax
mov dword [ebp - 4], edi
call fcn.00406ee0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], ebx
jb 0x44ada5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00481954
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp dword [esi + 0x14], ebx
jb 0x44adbc
mov eax, dword [esi]
jmp 0x44adbe
mov eax, esi
push 0x50d53c
push eax
call fcn.004836e8
mov edi, eax
add esp, 8
test edi, edi
jne 0x44ae02
cmp dword [esi + 0x14], ebx
jb 0x44addb
mov edx, dword [esi]
jmp 0x44addd
mov edx, esi
call fcn.004076d0
cmp dword [esi + 0x14], ebx
jb 0x44ade9
mov esi, dword [esi]
push 0x50d53c
push esi
call fcn.004836e8
mov edi, eax
add esp, 8
test edi, edi
jne 0x44ae02
lea eax, [edi + 0x6e]
jmp 0x44ae32
mov eax, dword [ebp - 0x30]
mov esi, dword [eax + 0x10]
cmp dword [eax + 0x14], ebx
jb 0x44ae0f
mov eax, dword [eax]
push edi
push esi
push 1
push eax
call fcn.004838ae
add esp, 0x10
cmp eax, esi
je 0x44ae27
mov eax, 0x1d
jmp 0x44ae32
push edi
call fcn.00483bd9
add esp, 4
xor eax, eax
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.004815a9
mov esp, ebp
pop ebp
ret
Function at 0x44ae50
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ebc48
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x51e584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov esi, 0x10
cmp dword [ebp + 0x1c], esi
jae 0x44ae91
lea eax, [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44aec8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], esi
jb 0x44aeb4
mov edx, dword [ebp + 8]
push edx
call fcn.00481954
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
xor ebx, ebx
jmp 0x44aed7
mov esi, 0x10
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x44aee2
lea eax, [ebp + 8]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x44af43
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x44af6f
push 0xfa
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 5
jl 0x44aed2
mov dword [ebp - 4], esi
cmp dword [ebp + 0x1c], 0x10
jb 0x44aeb4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00481954
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 0x10]
push 0
push 0
push 0
push 4
push 0
push esi
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
push esi
test edi, edi
jne 0x44afa0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 0x10
jb 0x44aeb4
mov eax, dword [ebp + 8]
push eax
call fcn.00481954
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0
push 0
push 0
push 2
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
push edi
test eax, eax
jne 0x44afe6
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004db8f0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004db8f0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0x10
mov dword [ebp - 0x40], eax
cmp dword [edi + 0x14], ebx
jb 0x44b039
mov eax, dword [edi]
jmp 0x44b03b
mov eax, edi
push 0x50d42c
push eax
call fcn.004836e8
mov esi, eax
add esp, 8
test esi, esi
jne 0x44b08e
cmp dword [edi + 0x14], ebx
jb 0x44b058
mov edx, dword [edi]
jmp 0x44b05a
mov edx, edi
call fcn.004076d0
cmp dword [edi + 0x14], ebx
jb 0x44b066
mov edi, dword [edi]
push 0x50d42c
push edi
call fcn.004836e8
mov esi, eax
add esp, 8
test esi, esi
jne 0x44b08e
lea eax, [esi + 0x6e]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
push esi
call fcn.00483731
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.00482a67
add esp, 0xc
test eax, eax
js 0x44b134
push 0x400000
call fcn.00482427
push esi
mov edi, eax
call fcn.00484bbe
add esp, 8
test eax, eax
jne 0x44b112
push 0x400000
push 0
push edi
call fcn.00485940
push esi
push 0x400000
push 1
push edi
call fcn.00484f0e
push esi
mov ebx, eax
call fcn.00484be6
add esp, 0x20
test eax, eax
jne 0x44b105
mov ecx, dword [ebp - 0x40]
push ebx
push edi
call fcn.004040a0
push esi
call fcn.00484bbe
add esp, 4
test eax, eax
je 0x44b0c2
jmp 0x44b112
push str.Read_error
call fcn.00484c36
add esp, 4
push edi
call fcn.0048280a
push esi
call fcn.00483bd9
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
push esi
call fcn.00483bd9
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
pop esi
xor ecx, ebp
mov eax, 0x3ee
pop ebx
call fcn.004815a9
mov esp, ebp
pop ebp
ret
Function at 0x44b380
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov eax, dword [0x51e584]
xor eax, esp
mov dword [esp + 0xa8], eax
xor eax, eax
push ebx
push esi
push edi
mov edi, edx
mov byte [esp + 0x90], al
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
mov byte [esp + 0x6c], al
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
cmp dword [edi + 0x10], eax
jne 0x44b42c
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0x14], 0x10
mov edx, dword [ecx + 0x10]
jb 0x44b437
mov ecx, dword [ecx]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
push ecx
mov eax, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00421f10
lea esi, [esp + 0x14]
lea ebx, [esp + 0x94]
call fcn.00421fd0
lea eax, [esp + 0x70]
push eax
mov ecx, ebx
push ecx
call fcn.004026c0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x44b493
mov edi, dword [edi]
lea edx, [esp + 0x6c]
push edx
push edi
call fcn.004829ed
mov ecx, dword [esp + 0xbc]
add esp, 8
pop edi
neg eax
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.004815a9
mov esp, ebp
pop ebp
ret
Function at 0x44b4c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [0x51e584]
xor eax, esp
mov dword [esp + 0xac], eax
xor eax, eax
push ebx
push esi
mov esi, ecx
mov byte [esp + 0x6c], al
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov byte [esp + 0x90], al
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
cmp edi, eax
je 0x44b5e7
mov ecx, edi
lea ebx, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, al
jne 0x44b560
sub ecx, ebx
je 0x44b5e7
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00421f10
lea esi, [esp + 0x14]
lea ebx, [esp + 0x70]
call fcn.00421fd0
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call fcn.004026c0
lea edx, [esp + 0x9c]
push edx
push edi
call fcn.004829ed
add esp, 0x14
neg eax
sbb eax, eax
inc eax
pop esi
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xb4]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004815a9
mov esp, ebp
pop ebp
ret

Function at 0x44ba50
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44bade
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x44baa4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0
push eax
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
Function at 0x44bd50
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa7c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ebx, ebx
push 0
push 0x1000
push 4
push 0
push 0
push 0x10000000
push str..pipeProcessHelper_communication_pipe
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x44bdb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x44be43
push 0x12c
push str..pipeProcessHelper_communication_pipe
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x44be43
inc ebx
cmp ebx, 3
jl 0x44bd64
xor edi, edi
push edi
push edi
lea eax, [ebp - 8]
push eax
push esi
mov dword [ebp - 8], 2
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x44be43
push 0xa74
lea ecx, [ebp - 0xa7c]
push edi
push ecx
call fcn.00485940
mov edx, dword [ebp + 8]
add esp, 0xc
push edi
lea eax, [ebp - 4]
push eax
push 0xa74
lea ecx, [ebp - 0xa7c]
push ecx
push esi
mov dword [ebp - 0xa7c], 0x1008
mov dword [ebp - 0xa78], edx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44be33
push edi
lea edx, [ebp - 4]
push edx
push 8
lea eax, [ebp - 0xa7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44be33
mov edi, dword [ebp - 0xa78]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44cc40
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x51e584]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x44cc90
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x44cc8a
shr eax, 8
cmp al, 2
jne 0x44cc8a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004815a9
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 2
call fcn.004815a9
mov esp, ebp
pop ebp
ret

Function at 0x4556e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x455713
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x51
pop ebp
ret
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
xor eax, eax
pop ebp
ret

Function at 0x455860
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x45587b
mov edx, dword [esi + 0xf4]
push edx
push edi
push ebx
push eax
push esi
call ecx
add esp, 0x14
ret
test eax, eax
js 0x4558af
cmp eax, 2
jg 0x4558af
mov ecx, dword [esi + 0xf0]
push ecx
push 1
lea edx, [eax + eax*2 + 0x4f9d90]
push 2
push edx
call fcn.004838ae
mov eax, dword [esi + 0xf0]
push eax
push 1
push edi
push ebx
call fcn.004838ae
add esp, 0x20
xor eax, eax
ret

Function at 0x455ac0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + eax*4 + 0x130]
push edi
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ebx, dword [ebp + 0x18]
mov edi, eax
mov dword [ebx], 0
cmp edi, 0xffffffff
jne 0x455b3c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp + 8], eax
cmp eax, 0x2733
jne 0x455b11
pop edi
pop esi
mov dword [ebx], 0x51
xor eax, eax
pop ebx
pop ebp
ret
push eax
push esi
call fcn.0045a6e0
push eax
mov eax, dword [esi]
push str.Send_failure:__s
push eax
call fcn.00455a20
mov ecx, dword [esi]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x8594], edx
add esp, 0x14
mov dword [ebx], 0x37
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x457620
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
cmp dword [edi + 0x408], eax
push 4
lea ecx, [ebp - 4]
push ecx
setne al
push 8
push 0xffff
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x457659
push esi
push str.Failed_to_set_SO_KEEPALIVE_on_fd__d_n
push edi
call fcn.004559a0
add esp, 0xc
mov esp, ebp
pop ebp
ret