Function at 0x43ff02
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 0x440576
mov esi, dword [esp + 0x5c4]
test esi, esi
je 0x440576
xor ebp, ebp
cmp word [esi], bp
je 0x440576
mov edi, dword [esp + 0x5c8]
test edi, edi
je 0x440576
cmp word [edi], bp
je 0x440576
push dword [esp + 0x5c0]
mov ecx, 0x4b41ea
push 0x7f
pop edx
call fcn.00403df9
push esi
push 0x27
pop edx
mov ecx, 0x4b42ea
call fcn.00403df9
push edi
push 0x7f
pop edx
mov ecx, 0x4b433a
call fcn.00403df9
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 0x440296
cmp byte [esp + 0x5cc], al
je 0x440296
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 0x44027d
cmp word [esp + 0x160], bp
je 0x44027d
push ecx
mov ebx, 0x4b443a
lea eax, [esp + 0x164]
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.0045dc07
test al, al
je 0x440279
push ebp
push ebx
call fcn.0043f911
push 0x80
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.0041cc70
add esp, 0xc
lea eax, [esp + 0x20]
push 0x3f
push eax
push str.utm_cookie
push ebx
call fcn.0043cb70
test al, al
je 0x440076
lea ecx, [esp + 0x20]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x44004a
sub ecx, edx
sar ecx, 1
cmp ecx, 8
jb 0x440076
lea eax, [esp + 0x20]
push eax
call fcn.0042a724
pop ecx
cmp edx, ebp
jg 0x44007d
jl 0x440076
cmp eax, 0x2710
jae 0x44007d
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.0043cb70
test al, al
je 0x4400f9
cmp word [esp + 0x160], bp
je 0x4400f9
lea eax, [esp + 0x160]
push eax
call fcn.0042a724
pop ecx
push ebp
mov esi, eax
mov edi, edx
call fcn.0042a7a8
mov ebx, eax
mov eax, edx
pop ecx
mov ecx, ebx
sub ecx, 0x1c20
sbb eax, ebp
cmp edi, eax
jl 0x4400ef
jg 0x4400d4
cmp esi, ecx
jb 0x4400ef
cmp edi, edx
jl 0x4400de
jg 0x4400ef
cmp esi, ebx
ja 0x4400ef
mov ax, word [esp + 0x20]
mov ebx, 0x4b443a
mov edi, str.SOFTWAREMetaQuotes_Software
jmp 0x440100
mov ebx, 0x4b443a
mov edi, str.SOFTWAREMetaQuotes_Software
xor eax, eax
mov word [esp + 0x20], ax
test ax, ax
je 0x440279
push 0x80
lea eax, [esp + 0xe4]
push ebp
push eax
call fcn.0041cc70
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.00403d81
add esp, 0x10
test al, al
je 0x440162
lea eax, [esp + 0xe0]
push eax
call fcn.0042a724
pop ecx
cmp edx, ebp
jg 0x4401a0
jl 0x440162
cmp eax, 0x2710
jae 0x4401a0
push 0x100
push 0x7e
lea eax, [esp + 0xe8]
mov edx, edi
push eax
push esi
mov ecx, closesocket
call fcn.00403d81
add esp, 0x10
test al, al
je 0x4401aa
lea eax, [esp + 0xe0]
push eax
call fcn.0042a724
pop ecx
cmp edx, ebp
jg 0x4401a0
jl 0x4401aa
cmp eax, 0x2710
jb 0x4401aa
mov ax, word [esp + 0xe0]
jmp 0x4401b4
xor eax, eax
mov word [esp + 0xe0], ax
test ax, ax
je 0x4401d9
push 0x103
lea eax, [esp + 0x164]
push eax
push 0x46c590
push ebx
call fcn.0043cb70
test al, al
je 0x440279
lea ecx, [esp + 0x20]
lea eax, [esp + 0xe0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44020a
test dx, dx
je 0x440206
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44020a
add eax, 4
add ecx, 4
test dx, dx
jne 0x4401e4
mov eax, ebp
jmp 0x44020f
sbb eax, eax
or eax, 1
test eax, eax
je 0x440279
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403d4d
test al, al
jne 0x44022f
push ecx
mov edx, edi
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403cf5
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.00403cc0
add esp, 0x10
mov ecx, closesocket
call fcn.00403d4d
test al, al
jne 0x440262
push ecx
mov edx, edi
mov ecx, closesocket
call fcn.00403cf5
pop ecx
push ecx
lea eax, [esp + 0x24]
mov edx, edi
push eax
push ecx
push esi
mov ecx, closesocket
call fcn.00403cc0
add esp, 0x10
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], 0x4679a8
cmp esi, 0xffffffff
je 0x440296
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esp + 0x18], 0xffffffff
cmp word [0x4b543a], bp
jne 0x44056b
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 0x4402d2
mov dword [esp + 0x1c], ebp
jmp 0x4402e8
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.0044656b
pop ecx
pop ecx
lea edx, [esp + 0x3a8]
lea ecx, [esp + 0x368]
call fcn.00443042
mov ebx, dword [esp + 0x3ac]
call fcn.00403bcb
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.00403c17
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.00403d81
add esp, 0x30
test al, al
je 0x4403ce
lea eax, [esp + 0x160]
push eax
call fcn.0043c8ab
cmp eax, 3
jbe 0x4403ce
lea edx, [esp + 0x3a8]
lea ecx, [esp + 0x160]
call fcn.00443042
push str.model_vendor
mov edx, ebx
mov ecx, ebp
call fcn.00403b99
push dword [esp + 0x3ac]
mov edx, ebx
mov ecx, ebp
call fcn.00403b99
push 0x100
push esi
lea eax, [esp + 0x168]
mov edx, str.HARDWAREDESCRIPTIONSystemBIOS
push eax
push 0x46cfec
mov ecx, edi
call fcn.00403d81
add esp, 0x10
test al, al
je 0x440437
lea eax, [esp + 0x160]
push eax
call fcn.0043c8ab
cmp eax, 3
jbe 0x440437
lea edx, [esp + 0x3a8]
lea ecx, [esp + 0x160]
call fcn.00443042
push str.model_device
mov edx, ebx
mov ecx, ebp
call fcn.00403b99
push dword [esp + 0x3ac]
mov edx, ebx
mov ecx, ebp
call fcn.00403b99
push 0
call fcn.0042a7a8
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.00403d81
add esp, 0x10
test al, al
je 0x4404bb
cmp word [esp + 0x160], 0
je 0x4404bb
lea eax, [esp + 0x160]
push eax
call fcn.0042a724
mov edi, edx
mov esi, eax
pop ecx
cmp edi, ebp
jl 0x4404a0
jg 0x44049c
cmp esi, ebx
jbe 0x4404a0
mov esi, ebx
mov edi, ebp
mov ecx, esi
mov eax, edi
add ecx, 0x128a1800
adc eax, 0
cmp eax, ebp
jg 0x4404bb
jl 0x4404b7
cmp ecx, ebx
jae 0x4404bb
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.00403c17
add esp, 0x14
lea eax, [esp + 0x160]
mov esi, 0x1ff
mov edi, 0x4b543a
mov edx, esi
mov ecx, edi
push eax
call fcn.00403b99
push 0x100
push 0x206
lea eax, [esp + 0x168]
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionAdvertisingInfo
push eax
push 0x46c6cc
mov ecx, closesocket
call fcn.00403d81
add esp, 0x10
test al, al
jne 0x440550
lea eax, [esp + 0x160]
push eax
call fcn.0043c8ab
cmp eax, 0x10
jbe 0x440550
push str.advid
mov edx, esi
mov ecx, edi
call fcn.00403b99
lea eax, [esp + 0x160]
mov edx, esi
push eax
mov ecx, edi
call fcn.00403b99
and dword [esp + 0x3ac], 0
and dword [esp + 0x3b0], 0
mov dword [esp + 0x3a8], 0x4654d8
mov byte [0x4b40e8], 1
mov al, 1
jmp 0x440578
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5ac
ret 0x10