Function at 0x42277b
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x4227b2
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4227c7
mov eax, 0x46c304
push eax
push 1
mov ebx, 0x244
call fcn.0043b730
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x42282f
push dword [ebp + 0x20]
call fcn.00422bdd
mov dword [ebp - 0x14], eax
push 0x47f22e
push dword [ebp - 0x14]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x422817
push ebx
call fcn.00438983
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42282b
push ebx
call fcn.00438983
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
je 0x422884
push dword [ebp + 0x20]
call fcn.00423c5e
mov dword [ebp - 0x14], eax
push 0x47f22e
push dword [ebp - 0x14]
mov ecx, 2
call fcn.0040106b
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42286c
push ebx
call fcn.00438983
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x422880
push ebx
call fcn.00438983
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x18], 0
je 0x422a57
mov dword [ebp - 0x14], esp
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLangID]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4228ad
push 6
call fcn.0043896b
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x804
jne 0x4229c3
cmp dword [ebp + 0x1c], 0
je 0x42295e
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fdiv qword [0x46c4a9]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x9dc
call fcn.004396e0
add esp, 0x10
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x42295b
push dword [ebp + 0x20]
call fcn.00424852
mov dword [ebp - 0x14], eax
push 0x47f22e
push dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, 3
call fcn.0040106b
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x42293f
push ebx
call fcn.00438983
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x422953
push ebx
call fcn.00438983
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
pop eax
pop ecx
jmp 0x4228fe
add esp, 8
mov eax, dword [ebp + 0xc]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x4229c0
push dword [ebp + 0x20]
call fcn.00424c49
mov dword [ebp - 0x14], eax
push 0x47f22e
push dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, 3
call fcn.0040106b
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4229a4
push ebx
call fcn.00438983
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4229b8
push ebx
call fcn.00438983
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
pop eax
pop ecx
jmp 0x422963
add esp, 8
mov dword [ebp - 0x14], esp
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLangID]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4229e2
push 6
call fcn.0043896b
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x804
je 0x422a57
mov eax, dword [ebp + 0xc]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x422a54
push dword [ebp + 0x20]
call fcn.00424852
mov dword [ebp - 0x14], eax
push 0x47f22e
push dword [ebp - 0x14]
push dword [ebp - 0xc]
mov ecx, 3
call fcn.0040106b
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x422a38
push ebx
call fcn.00438983
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x422a4c
push ebx
call fcn.00438983
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
pop eax
pop ecx
jmp 0x4229f7
add esp, 8
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 3
call fcn.0040106b
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x422a84
push ebx
call fcn.00438983
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 1
mov eax, 0x47f22e
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042504c
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x422ab2
push ebx
call fcn.00438983
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x422ac6
push ebx
call fcn.00438983
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040b6a8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x422aea
push ebx
call fcn.00438983
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040b2eb
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x422b0e
push ebx
call fcn.00438983
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x422b25
mov eax, 0x46c304
push eax
push 1
mov ebx, 0x198
call fcn.00439980
add esp, 0x10
mov dword [ebp - 0x14], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x422b4e
mov eax, 0x46c39b
push eax
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x422b64
mov eax, 0x46c304
push eax
push 2
mov ebx, 0x26c
call fcn.0043a540
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x422b87
push ebx
call fcn.00438983
add esp, 4
jmp 0x422b97
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x422ba7
push ebx
call fcn.00438983
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x422bb7
push ebx
call fcn.00438983
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x422bc7
push ebx
call fcn.00438983
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x422bd7
push ebx
call fcn.00438983
add esp, 4
mov esp, ebp
pop ebp
ret 0x1c