Function at 0x43fb38
Capabilities:
Get memory capacity
Identify system language via api

Disassembly:
sub esp, 0x5ac
cmp dword [esp + 0x5b0], 0
push ebx
push ebp
push esi
push edi
je 0x4401ac
mov esi, dword [esp + 0x5c4]
test esi, esi
je 0x4401ac
xor ebp, ebp
cmp word [esi], bp
je 0x4401ac
mov edi, dword [esp + 0x5c8]
test edi, edi
je 0x4401ac
cmp word [edi], bp
je 0x4401ac
push dword [esp + 0x5c0]
mov ecx, 0x4b41ea
push 0x7f
pop edx
call fcn.00403e49
push esi
push 0x27
pop edx
mov ecx, 0x4b42ea
call fcn.00403e49
push edi
push 0x7f
pop edx
mov ecx, 0x4b433a
call fcn.00403e49
xor eax, eax
xorps xmm0, xmm0
mov edi, str.SOFTWAREMetaQuotes_Software
mov word [0x4b912a], ax
movlpd qword [0x4b9388], xmm0
mov word [0x4b922a], ax
mov word [0x4b927a], ax
cmp word [0x4b443a], ax
jne 0x43fecc
cmp byte [esp + 0x5cc], al
je 0x43fecc
push 0x103
lea eax, [esp + 0x164]
mov dword [esp + 0x18], 0x4679a8
push eax
or esi, 0xffffffff
push ebp
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x43feb3
cmp word [esp + 0x160], bp
je 0x43feb3
push ecx
mov ebx, 0x4b443a
lea eax, [esp + 0x164]
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0045db3f
test al, al
je 0x43feaf
push ebp
push ebx
call fcn.0043f547
push 0x80
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.0041cd00
add esp, 0xc
lea eax, [esp + 0x20]
push 0x3f
push eax
push str.utm_cookie
push ebx
call fcn.0043cc00
test al, al
je 0x43fcac
lea ecx, [esp + 0x20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x43fc80
sub ecx, edx
sar ecx, 1
cmp ecx, 8
jb 0x43fcac
lea eax, [esp + 0x20]
push eax
call fcn.0042a7b4
pop ecx
cmp edx, ebp
jg 0x43fcb3
jl 0x43fcac
cmp eax, 0x2710
jae 0x43fcb3
xor eax, eax
mov word [esp + 0x20], ax
push 0x103
lea eax, [esp + 0x164]
push eax
push str.utm_cookie_expiration
push ebx
call fcn.0043cc00
test al, al
je 0x43fd2f
cmp word [esp + 0x160], bp
je 0x43fd2f
lea eax, [esp + 0x160]
push eax
call fcn.0042a7b4
pop ecx
push ebp
mov esi, eax
mov edi, edx
call fcn.0042a838
mov ebx, eax
mov eax, edx
pop ecx
mov ecx, ebx
sub ecx, 0x1c20
sbb eax, ebp
cmp edi, eax
jl 0x43fd25
jg 0x43fd0a
cmp esi, ecx
jb 0x43fd25
cmp edi, edx
jl 0x43fd14
jg 0x43fd25
cmp esi, ebx
ja 0x43fd25
mov ax, word [esp + 0x20]
mov ebx, 0x4b443a
mov edi, str.SOFTWAREMetaQuotes_Software
jmp 0x43fd36
mov ebx, 0x4b443a
mov edi, str.SOFTWAREMetaQuotes_Software
xor eax, eax
mov word [esp + 0x20], ax
test ax, ax
je 0x43feaf
push 0x80
lea eax, [esp + 0xe4]
push ebp
push eax
call fcn.0041cd00
add esp, 0xc
lea eax, [esp + 0xe0]
mov esi, 0x46d090
mov edx, edi
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push 0x100
push 0x7e
push eax
push esi
call fcn.00403dd1
add esp, 0x10
test al, al
je 0x43fd98
lea eax, [esp + 0xe0]
push eax
call fcn.0042a7b4
pop ecx
cmp edx, ebp
jg 0x43fdd6
jl 0x43fd98
cmp eax, 0x2710
jae 0x43fdd6
push 0x100
push 0x7e
lea eax, [esp + 0xe8]
mov edx, edi
push eax
push esi
mov ecx, closesocket
call fcn.00403dd1
add esp, 0x10
test al, al
je 0x43fde0
lea eax, [esp + 0xe0]
push eax
call fcn.0042a7b4
pop ecx
cmp edx, ebp
jg 0x43fdd6
jl 0x43fde0
cmp eax, 0x2710
jb 0x43fde0
mov ax, word [esp + 0xe0]
jmp 0x43fdea
xor eax, eax
mov word [esp + 0xe0], ax
test ax, ax
je 0x43fe0f
push 0x103
lea eax, [esp + 0x164]
push eax
push 0x46c590
push ebx
call fcn.0043cc00
test al, al
je 0x43feaf
lea ecx, [esp + 0x20]
lea eax, [esp + 0xe0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43fe40
test dx, dx
je 0x43fe3c
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43fe40
add eax, 4
add ecx, 4
test dx, dx
jne 0x43fe1a
mov eax, ebp
jmp 0x43fe45
sbb eax, eax
or eax, 1
test eax, eax
je 0x43feaf
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403d9d
test al, al
jne 0x43fe65
push ecx
mov edx, edi
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403d45
pop ecx
push ecx
lea eax, [esp + 0x24]
mov edx, edi
push eax
push ecx
push esi
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403d10
add esp, 0x10
mov ecx, closesocket
call fcn.00403d9d
test al, al
jne 0x43fe98
push ecx
mov edx, edi
mov ecx, closesocket
call fcn.00403d45
pop ecx
push ecx
lea eax, [esp + 0x24]
mov edx, edi
push eax
push ecx
push esi
mov ecx, closesocket
call fcn.00403d10
add esp, 0x10
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], 0x4679a8
cmp esi, 0xffffffff
je 0x43fecc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esp + 0x18], 0xffffffff
cmp word [0x4b543a], bp
jne 0x4401a1
lea ecx, [esp + 0x3a8]
call fcn.0040117c
lea eax, [esp + 0xa0]
mov dword [esp + 0xa0], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x43ff08
mov dword [esp + 0x1c], ebp
jmp 0x43ff1e
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
shrd ecx, eax, 0x14
mov dword [esp + 0x1c], ecx
push ecx
lea eax, [esp + 0x36c]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
call fcn.0044644c
pop ecx
pop ecx
lea edx, [esp + 0x3a8]
lea ecx, [esp + 0x368]
call fcn.00442ec5
mov ebx, dword [esp + 0x3ac]
call fcn.00403c1b
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebp, eax
push 1
call esi
push 0
mov edi, eax
call esi
mov ecx, eax
mov eax, dword [esp + 0x1c]
push ebx
add eax, 0xff
mov ebx, 0x1ff
and eax, 0xfffff00
push eax
push ebp
push edi
push ecx
push str.modeldesktopscr_res_dx_dcpu_umemory_ul_s
push ebx
mov ebp, 0x4b543a
push ebp
call fcn.00403c67
push 0x100
lea esi, [ebx + 7]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push esi
lea eax, [esp + 0x188]
mov edx, str.HARDWAREDESCRIPTIONSystemBIOS
push eax
push str.SystemManufacturer
mov ecx, edi
call fcn.00403dd1
add esp, 0x30
test al, al
je 0x440004
lea eax, [esp + 0x160]
push eax
call fcn.0043c93b
cmp eax, 3
jbe 0x440004
lea edx, [esp + 0x3a8]
lea ecx, [esp + 0x160]
call fcn.00442ec5
push str.model_vendor
mov edx, ebx
mov ecx, ebp
call fcn.00403be9
push dword [esp + 0x3ac]
mov edx, ebx
mov ecx, ebp
call fcn.00403be9
push 0x100
push esi
lea eax, [esp + 0x168]
mov edx, str.HARDWAREDESCRIPTIONSystemBIOS
push eax
push 0x46cfec
mov ecx, edi
call fcn.00403dd1
add esp, 0x10
test al, al
je 0x44006d
lea eax, [esp + 0x160]
push eax
call fcn.0043c93b
cmp eax, 3
jbe 0x44006d
lea edx, [esp + 0x3a8]
lea ecx, [esp + 0x160]
call fcn.00442ec5
push str.model_device
mov edx, ebx
mov ecx, ebp
call fcn.00403be9
push dword [esp + 0x3ac]
mov edx, ebx
mov ecx, ebp
call fcn.00403be9
push 0
call fcn.0042a838
mov ebx, eax
mov dword [esp], 0x100
push 0x206
lea eax, [esp + 0x168]
mov ebp, edx
push eax
push str.Install.Time
mov edx, str.SOFTWAREMetaQuotes_Software
mov ecx, closesocket
mov esi, ebx
mov edi, ebp
call fcn.00403dd1
add esp, 0x10
test al, al
je 0x4400f1
cmp word [esp + 0x160], 0
je 0x4400f1
lea eax, [esp + 0x160]
push eax
call fcn.0042a7b4
mov edi, edx
mov esi, eax
pop ecx
cmp edi, ebp
jl 0x4400d6
jg 0x4400d2
cmp esi, ebx
jbe 0x4400d6
mov esi, ebx
mov edi, ebp
mov ecx, esi
mov eax, edi
add ecx, 0x128a1800
adc eax, 0
cmp eax, ebp
jg 0x4400f1
jl 0x4400ed
cmp ecx, ebx
jae 0x4400f1
mov esi, ebx
mov edi, ebp
push edi
push esi
push str.fv_date_I64d
lea eax, [esp + 0x16c]
push 0x103
push eax
call fcn.00403c67
add esp, 0x14
lea eax, [esp + 0x160]
mov esi, 0x1ff
mov edi, 0x4b543a
mov edx, esi
mov ecx, edi
push eax
call fcn.00403be9
push 0x100
push 0x206
lea eax, [esp + 0x168]
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionAdvertisingInfo
push eax
push 0x46c6cc
mov ecx, closesocket
call fcn.00403dd1
add esp, 0x10
test al, al
jne 0x440186
lea eax, [esp + 0x160]
push eax
call fcn.0043c93b
cmp eax, 0x10
jbe 0x440186
push str.advid
mov edx, esi
mov ecx, edi
call fcn.00403be9
lea eax, [esp + 0x160]
mov edx, esi
push eax
mov ecx, edi
call fcn.00403be9
and dword [esp + 0x3ac], 0
and dword [esp + 0x3b0], 0
mov dword [esp + 0x3a8], 0x4654d8
mov byte [0x4b40e8], 1
mov al, 1
jmp 0x4401ae
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5ac
ret 0x10