Function at 0x41dc39
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
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41dc73
mov eax, 0x466304
push eax
push 1
mov ebx, 0x244
call fcn.00435480
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x41dcdb
push dword [ebp + 0x20]
call fcn.0041e079
mov dword [ebp - 0x14], eax
push 0x478714
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 0x41dcc3
push ebx
call fcn.004327ee
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41dcd7
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
je 0x41dd30
push dword [ebp + 0x20]
call fcn.0041f072
mov dword [ebp - 0x14], eax
push 0x478714
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 0x41dd18
push ebx
call fcn.004327ee
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41dd2c
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x18], 0
je 0x41df03
mov dword [ebp - 0x14], esp
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLangID]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41dd59
push 6
call fcn.004327d6
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x804
jne 0x41de6f
cmp dword [ebp + 0x1c], 0
je 0x41de0a
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fdiv qword [0x46649f]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x9dc
call fcn.00433550
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 0x41de07
push dword [ebp + 0x20]
call fcn.0041fc44
mov dword [ebp - 0x14], eax
push 0x478714
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 0x41ddeb
push ebx
call fcn.004327ee
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41ddff
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
pop eax
pop ecx
jmp 0x41ddaa
add esp, 8
mov eax, dword [ebp + 0xc]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x41de6c
push dword [ebp + 0x20]
call fcn.00420019
mov dword [ebp - 0x14], eax
push 0x478714
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 0x41de50
push ebx
call fcn.004327ee
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41de64
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
pop eax
pop ecx
jmp 0x41de0f
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 0x41de8e
push 6
call fcn.004327d6
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x804
je 0x41df03
mov eax, dword [ebp + 0xc]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x41df00
push dword [ebp + 0x20]
call fcn.0041fc44
mov dword [ebp - 0x14], eax
push 0x478714
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 0x41dee4
push ebx
call fcn.004327ee
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41def8
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
pop eax
pop ecx
jmp 0x41dea3
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 0x41df30
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 1
mov eax, 0x478714
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004203fa
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41df5e
push ebx
call fcn.004327ee
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41df72
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004208c7
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41df96
push ebx
call fcn.004327ee
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042091d
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41dfba
push ebx
call fcn.004327ee
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 0x41dfd1
mov eax, 0x466304
push eax
push 1
mov ebx, 0x198
call fcn.004337f0
add esp, 0x10
mov dword [ebp - 0x14], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41dffa
mov eax, 0x466391
push eax
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41e010
mov eax, 0x466304
push eax
push 2
mov ebx, 0x26c
call fcn.004343b0
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41e033
push ebx
call fcn.004327ee
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41e043
push ebx
call fcn.004327ee
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41e053
push ebx
call fcn.004327ee
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41e063
push ebx
call fcn.004327ee
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41e073
push ebx
call fcn.004327ee
add esp, 4
mov esp, ebp
pop ebp
ret 0x1c