joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418370
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x52a51c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push edi
push 0x40
push 0
push eax
mov edi, ecx
call fcn.004ce8d0
add esp, 0xc
mov dword [ebp - 0x4c], 0x40
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x4183c0
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c8a23
mov esp, ebp
pop ebp
ret 4
test esi, esi
je 0x4183ac
cmp dword [edi + 4], 0xffffffff
jne 0x4183ec
mov eax, dword [ebp - 0x44]
mov dword [esi], eax
mov eax, dword [ebp - 0x40]
mov dword [esi + 4], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c8a23
mov esp, ebp
pop ebp
ret 4
call fcn.00418430
test eax, eax
mov edi, 1
push 0
cmove eax, edi
push eax
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.004d2210
mov ecx, dword [ebp - 8]
mov dword [esi], eax
xor ecx, ebp
mov eax, edi
mov dword [esi + 4], edx
pop edi
pop esi
call fcn.004c8a23
mov esp, ebp
pop ebp
ret 4

Function at 0x418430
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd498
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x52a51c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.0043df40
mov dword [ebp - 0x20], eax
xor esi, esi
mov dword [ebp - 4], 0
test edi, edi
je 0x41850b
jmp 0x418490
cmp dword [0x53afc0], 0
mov byte [ebp - 0xd], 0
je 0x41853b
cmp dword [0x53afc4], 0
je 0x41853b
mov eax, dword [0x53afc8]
test eax, eax
je 0x41853b
cmp dword [0x53afcc], 0
je 0x41853b
cmp dword [0x53afd0], 0
je 0x41853b
cmp dword [0x53afd4], 0
je 0x41853b
cmp dword [0x53afd8], 0
je 0x41853b
lea ecx, [ebp - 0xd]
push ecx
push esi
call eax
test eax, eax
je 0x41853b
movzx eax, byte [0x55c322]
push eax
lea eax, [ebp - 0xd]
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043ff00
inc esi
cmp esi, edi
jb 0x418490
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043a180
push dword [ebp - 0x20]
call fcn.0044bc50
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
xor esi, esi
jmp 0x41850e
Function at 0x418550
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x52a51c]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ecx + 4], 0xffffffff
push esi
mov esi, dword [ebp + 8]
jne 0x4185b4
push 0x40
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.004ce8d0
add esp, 0xc
mov dword [ebp - 0x4c], 0x40
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x41860c
test esi, esi
je 0x41860c
mov eax, dword [ebp - 0x3c]
mov dword [esi], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 4], eax
mov eax, 1
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c8a23
mov esp, ebp
pop ebp
ret 4
cmp dword [0x53afc0], 0
movzx ecx, word [ecx + 4]
je 0x41860c
cmp dword [0x53afc4], 0
je 0x41860c
cmp dword [0x53afc8], 0
je 0x41860c
mov eax, dword [0x53afcc]
test eax, eax
je 0x41860c
cmp dword [0x53afd0], 0
je 0x41860c
cmp dword [0x53afd4], 0
je 0x41860c
cmp dword [0x53afd8], 0
je 0x41860c
push esi
push ecx
call eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004c8a23
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004c8a23
mov esp, ebp
pop ebp
ret 4
Function at 0x41f8d0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdd78
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x52a51c]
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 edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov ebx, dword [ebp + 8]
movzx eax, bl
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], eax
call fcn.004cb2dc
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
sub ecx, edx
mov byte [ebp - 0x29], al
add esp, 4
cmp ecx, 1
ja 0x41f943
push str.string_too_long
call fcn.004c790d
lea esi, [edx + 1]
cmp esi, 0xfffffffe
jbe 0x41f955
push str.string_too_long
call fcn.004c790d
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
jae 0x41f9c5
push edx
push esi
lea ecx, [ebp - 0x28]
call fcn.00405280
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
test esi, esi
je 0x41f992
cmp ecx, 0x10
lea eax, [ebp - 0x28]
mov cl, byte [ebp - 0x29]
cmovae eax, dword [ebp - 0x28]
mov byte [eax + edx], cl
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x18], esi
cmovae eax, dword [ebp - 0x28]
mov byte [eax + esi], 0
push 2
push 0x5118d0
lea ecx, [ebp - 0x28]
call fcn.00404960
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x41f9db
xor bl, bl
jmp 0x41fa3c
test esi, esi
jne 0x41f970
cmp ecx, 0x10
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
jmp 0x41f992
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x41f9f6
xor bl, bl
jmp 0x41fa3c
push dword [ebp - 0x30]
call fcn.004cb2dc
mov ecx, dword [ebp - 0x38]
add esp, 4
mov byte [edi], al
mov eax, dword [ebp - 0x34]
shrd ecx, eax, 0x14
push ebx
shr eax, 0x14
mov eax, dword [ebp - 0x3c]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x40]
shrd ecx, eax, 0x14
mov dword [edi + 0xc], 0
shr eax, 0x14
mov dword [edi + 8], ecx
call fcn.0041f540
xor ecx, ecx
mov bl, 1
test al, al
setne cl
mov dword [edi + 0xc], ecx
cmp dword [ebp - 0x14], 0x10
jb 0x41fa4d
push dword [ebp - 0x28]
call fcn.0044bc50
add esp, 4
mov al, bl
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.004c8a23
mov esp, ebp
pop ebp
ret 8
Function at 0x41fa70
Capabilities:
Get hostname
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdda8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x52a51c]
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 esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x41fad6
push str.GlobalMemoryStatusEx_failed
push str.bar_svr_server_t::generate_bar_server_report
push 0x199
jmp 0x41fbc0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
shrd ecx, eax, 0x14
push 0x104
shr eax, 0x14
mov eax, dword [ebp + 8]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [str.5.7.0.0]
mov edx, dword [0x511924]
mov dword [eax + 0x112], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 0x116], edx
mov eax, dword [ebp + 8]
add eax, 0xe
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x41fb32
push str.gethostname_failed
push str.bar_svr_server_t::generate_bar_server_report
push 0x1a5
jmp 0x41fbc0
cmp dword [esi + 0x160], 0
je 0x41fbb1
mov ecx, dword [esi + 0x160]
test ecx, ecx
jne 0x41fb4a
call fcn.004c78e9
mov edx, dword [ebp + 8]
mov esi, dword [ecx]
lea eax, [edx + 0x216]
push eax
lea eax, [edx + 4]
push eax
lea eax, [edx + 0xc]
push eax
mov eax, dword [esi + 8]
call eax
test al, al
je 0x41fbb1
mov eax, dword [ebp + 8]
add eax, 0x220
push eax
call fcn.0041f490
test al, al
jne 0x41fb8a
push str.get_disk_info_list_failed
push str.bar_svr_server_t::generate_bar_server_report
push 0x1b4
jmp 0x41fbc0
mov ecx, dword [ebp + 8]
lea ecx, [ecx + 0x218]
call fcn.00449440
test al, al
jne 0x41fbad
push str.get_network_adapter_addr_failed
push str.bar_svr_server_t::generate_bar_server_report
push 0x1ba
jmp 0x41fbc0
mov bl, 1
jmp 0x41fbd1
push str.on_get_config_failed
push str.bar_svr_server_t::generate_bar_server_report
push 0x1ae
push str.d:_slaveworkspace_netdiskgamevirtualdiskserver_bar_svr_server.h
push 0x20
call fcn.0040eb60
add esp, 0x14
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41fc04
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x41fc04
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x41fc04
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov al, bl
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.004c8a23
mov esp, ebp
pop ebp
ret 8
Function at 0x425b50
Capabilities:
Copy file
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe610
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x52a51c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00449570
test al, al
je 0x425c90
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00404a50
lea eax, [ebp - 0x2c]
cmp esi, eax
je 0x425bdf
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00404a50
push 0x15
push str.DiskWriteMonitor.sys
mov ecx, esi
call fcn.00404960
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x6c]
mov ecx, 9
cmp cx, ax
je 0x425c33
mov ecx, 6
cmp cx, ax
je 0x425c33
call fcn.004496e0
lea ecx, [ebp - 0x44]
test al, al
je 0x425c27
push str._sysDiskWriteMonitor64.sys
call fcn.00404600
jmp 0x425c42
push str._sysDiskWriteMonitor.sys
call fcn.00404600
jmp 0x425c42
push 0x1b
push str._sysDiskWriteMonitor64.sys
lea ecx, [ebp - 0x44]
call fcn.00404960
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x48], 0
jb 0x425c51
mov esi, dword [esi]
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x48]
push 0
push ecx
push 0
push 0
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
test eax, eax
jne 0x425ce5
push str.CopyFile_failed
push str.disk_write_monitor_server_t::get_service_path
push 0x1e4
push str.d:_slaveworkspace_netdiskgamevirtualdiskserverdisk_write_monitor_server.h
push 0x20
call fcn.0040eb60
add esp, 0x14
xor bl, bl
cmp dword [ebp - 0x18], 0x10
jb 0x425ca3
push dword [ebp - 0x2c]
call fcn.0044bc50
add esp, 4
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x425cc6
push dword [ebp - 0x44]
call fcn.0044bc50
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c8a23
mov esp, ebp
pop ebp
ret 4
mov bl, 1
jmp 0x425c92
Function at 0x426ee0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [0x53afc0], 0
mov edi, dword [ebp - 0x24]
mov dword [ebp - 8], 0
je 0x426ff9
cmp dword [0x53afc4], 0
je 0x426ff9
cmp dword [0x53afc8], 0
je 0x426ff9
cmp dword [0x53afcc], 0
je 0x426ff9
mov eax, dword [0x53afd0]
test eax, eax
je 0x426ff9
cmp dword [0x53afd4], 0
je 0x426ff9
cmp dword [0x53afd8], 0
je 0x426ff9
lea ecx, [ebp - 8]
push ecx
call eax
test eax, eax
je 0x426ff9
cmp dword [ebp - 8], 0
je 0x426ff9
xor esi, esi
test edi, edi
je 0x426fee
mov ebx, dword [ebp + 8]
lea esp, [esp]
cmp dword [0x53afc0], 0
je 0x426ff9
cmp dword [0x53afc4], 0
je 0x426ff9
mov eax, dword [0x53afc8]
test eax, eax
je 0x426ff9
cmp dword [0x53afcc], 0
je 0x426ff9
cmp dword [0x53afd0], 0
je 0x426ff9
cmp dword [0x53afd4], 0
je 0x426ff9
cmp dword [0x53afd8], 0
je 0x426ff9
lea ecx, [ebp + 0xb]
push ecx
push esi
call eax
test eax, eax
je 0x426ff9
movzx eax, byte [ebp + 0xb]
mov dword [ebp - 0xc], eax
movzx eax, byte [0x55c322]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0043fd80
inc esi
cmp esi, edi
jb 0x426f80
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42c8d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fefe6
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x52a51c]
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 edi, dword [ebp + 8]
lea esi, [ecx + 4]
mov dword [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x42c915
mov ecx, dword [esi]
jmp 0x42c917
mov ecx, esi
push 0
mov edx, 0x50af83
call fcn.0040ee80
add esp, 4
test eax, eax
jne 0x42c93b
cmp dword [esi + 0x10], eax
setne al
test eax, eax
jne 0x42c93b
xor bl, bl
jmp 0x42cb1a
push 0x103
lea eax, [ebp - 0x11b]
mov byte [ebp - 0x11c], 0
push 0
push eax
call fcn.004ce8d0
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x42c960
mov esi, dword [esi]
cmp dword [ebp + 0x38], 0x10
lea edx, [ebp - 0x11c]
push esi
push 0x104
push edx
lea ecx, [ebp + 0x24]
cmovae ecx, dword [ebp + 0x24]
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
push 0x50af83
cmovae eax, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
jne 0x42c9b8
xor ecx, ecx
jmp 0x42c9ca
lea ecx, [ebp - 0x11c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42c9c1
sub ecx, edx
push ecx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x134]
call fcn.00404ce0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14c]
push 2
push 0x512d1c
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
call fcn.00404ce0
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.0042bba0
mov esi, eax
lea eax, [ebp - 0x134]
cmp eax, esi
je 0x42ca76
cmp dword [ebp - 0x120], 0x10
jb 0x42ca4f
push dword [ebp - 0x134]
call fcn.0044bc50
add esp, 4
push esi
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
call fcn.00404840
cmp dword [ebp - 0x150], 0x10
jb 0x42ca8d
push dword [ebp - 0x164]
call fcn.0044bc50
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x138], 0x10
mov dword [ebp - 0x150], 0xf
mov dword [ebp - 0x154], 0
mov byte [ebp - 0x164], 0
jb 0x42cac3
push dword [ebp - 0x14c]
call fcn.0044bc50
add esp, 4
cmp dword [ebp - 0x124], 0
jne 0x42cad0
xor bl, bl
jmp 0x42cae8
lea eax, [ebp - 0x134]
cmp edi, eax
je 0x42cae6
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00404a50
mov bl, 1
cmp dword [ebp - 0x120], 0x10
jb 0x42caff
push dword [ebp - 0x134]
call fcn.0044bc50
add esp, 4
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
cmp dword [ebp + 0x20], 0x10
jb 0x42cb2b
push dword [ebp + 0xc]
call fcn.0044bc50
add esp, 4
cmp dword [ebp + 0x38], 0x10
mov dword [ebp + 0x20], 0xf
mov dword [ebp + 0x1c], 0
mov byte [ebp + 0xc], 0
jb 0x42cb4e
push dword [ebp + 0x24]
call fcn.0044bc50
add esp, 4
mov al, bl
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.004c8a23
mov esp, ebp
pop ebp
ret 0x34
Function at 0x433620
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffae8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x52a51c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x433666
mov dword [esi + 0x10], ecx
jmp 0x433676
cmp ecx, eax
mov eax, dword [ecx]
jne 0x43366f
push esi
jmp 0x433671
push 0
call dword [eax]
mov dword [esi + 0x10], eax
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ecx], 0
mov dword [ecx + 4], 0
call fcn.004082d0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
push dword [ebp + 0x2c]
movzx eax, word [eax]
mov word [esi + 0x20], ax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 4]
lea ecx, [esi + 0x3c]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x24]
movzx eax, word [eax]
mov word [esi + 0x38], ax
mov eax, dword [ebp + 0x28]
movzx eax, word [eax]
mov word [esi + 0x3a], ax
mov dword [ecx], 0
mov dword [ecx + 4], 0
call fcn.004082d0
push dword [ebp + 0x30]
lea ecx, [esi + 0x44]
mov dword [ecx], 0
mov dword [ecx + 4], 0
call fcn.004082d0
push dword [ebp + 0x34]
lea ecx, [esi + 0x4c]
mov dword [ecx], 0
mov dword [ecx + 4], 0
call fcn.004082d0
mov ecx, dword [ebp + 0x38]
mov eax, dword [ecx]
mov dword [esi + 0x58], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x5c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x34
Function at 0x4339e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ffb7f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x52a51c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0x102
push esi
call fcn.004c7d2b
add esp, 8
test eax, eax
je 0x433a24
push eax
call fcn.004c6c6e
add esp, 4
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], 0x10000
mov dword [esi + 0x20], 0x30014343
mov dword [esi + 0x24], 0x400
mov dword [esi + 0x28], 0x2710
mov dword [esi + 0x2c], 0x64
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.0043dee0
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 2
mov eax, 0x26fb
mov word [esi + 0x38], ax
mov dword [esi + 0x3c], 0x7530
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.0043dee0
mov dword [esi + 0x40], eax
mov byte [ebp - 4], 3
mov eax, 0x26fc
mov word [esi + 0x48], ax
mov eax, 0x26bf
mov word [esi + 0x54], ax
mov eax, 0x336
mov dword [esi + 0x4c], 0x4e20
mov dword [esi + 0x50], 0x26de26ae
mov byte [esi + 0x56], 0
mov word [esi + 0x58], ax
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
call fcn.0043dee0
mov dword [esi + 0x5c], eax
mov byte [ebp - 4], 4
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
call fcn.0043dee0
mov dword [esi + 0x64], eax
mov byte [ebp - 4], 5
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
call fcn.0043dee0
mov dword [esi + 0x6c], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x444300
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [eax]
cmp esi, 0xffffffff
jne 0x44435a
mov eax, dword [0x53af88]
test al, 1
jne 0x444337
or eax, 1
mov dword [0x53af9c], 0x50b1f8
push 0x501e00
mov dword [0x53af88], eax
call fcn.004c95ad
add esp, 4
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [edx], 0x2719
mov ecx, dword [edx]
mov dword [edx + 4], 0x53af9c
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
pop esi
pop ecx
pop ebp
ret 0x10
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
push dword [ebp + 0x10]
push 0x1002
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [0x53af88]
mov esi, eax
test cl, 1
jne 0x4443a5
or ecx, 1
mov dword [0x53af9c], 0x50b1f8
push 0x501e00
mov dword [0x53af88], ecx
call fcn.004c95ad
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov dword [edx + 4], 0x53af9c
test esi, esi
jne 0x4443c4
mov dword [edx], esi
mov dword [edx + 4], 0x52c6cc
mov eax, dword [ebp + 8]
mov ecx, dword [edx]
pop esi
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
pop ecx
pop ebp
ret 0x10

Function at 0x4443e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [eax]
cmp esi, 0xffffffff
jne 0x44443a
mov eax, dword [0x53af88]
test al, 1
jne 0x444417
or eax, 1
mov dword [0x53af9c], 0x50b1f8
push 0x501e00
mov dword [0x53af88], eax
call fcn.004c95ad
add esp, 4
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [edx], 0x2719
mov ecx, dword [edx]
mov dword [edx + 4], 0x53af9c
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
pop esi
pop ecx
pop ebp
ret 0x10
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
push dword [ebp + 0x10]
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [0x53af88]
mov esi, eax
test cl, 1
jne 0x444485
or ecx, 1
mov dword [0x53af9c], 0x50b1f8
push 0x501e00
mov dword [0x53af88], ecx
call fcn.004c95ad
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov dword [edx + 4], 0x53af9c
test esi, esi
jne 0x4444a4
mov dword [edx], esi
mov dword [edx + 4], 0x52c6cc
mov eax, dword [ebp + 8]
mov ecx, dword [edx]
pop esi
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
pop ecx
pop ebp
ret 0x10