Function at 0x41edc7
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 0x41ee01
mov eax, 0x464300
push eax
push 1
mov ebx, 0x244
call fcn.004339d0
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x41ee69
push dword [ebp + 0x20]
call fcn.0041f207
mov dword [ebp - 0x14], eax
push 0x47668c
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 0x41ee51
push ebx
call fcn.00430d89
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41ee65
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
je 0x41eebe
push dword [ebp + 0x20]
call fcn.00420200
mov dword [ebp - 0x14], eax
push 0x47668c
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 0x41eea6
push ebx
call fcn.00430d89
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41eeba
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov dword [ebp - 8], eax
cmp dword [ebp + 0x18], 0
je 0x41f091
mov dword [ebp - 0x14], esp
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_GetUserDefaultLangID]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41eee7
push 6
call fcn.00430d71
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x804
jne 0x41effd
cmp dword [ebp + 0x1c], 0
je 0x41ef98
fild dword [ebp + 0xc]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fdiv qword [0x4644be]
fstp qword [ebp - 0x20]
push 0x80000601
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 1
mov ebx, 0x9dc
call fcn.00431bd0
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 0x41ef95
push dword [ebp + 0x20]
call fcn.00420dd2
mov dword [ebp - 0x14], eax
push 0x47668c
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 0x41ef79
push ebx
call fcn.00430d89
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41ef8d
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
pop eax
pop ecx
jmp 0x41ef38
add esp, 8
mov eax, dword [ebp + 0xc]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x41effa
push dword [ebp + 0x20]
call fcn.004211a7
mov dword [ebp - 0x14], eax
push 0x47668c
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 0x41efde
push ebx
call fcn.00430d89
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41eff2
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
pop eax
pop ecx
jmp 0x41ef9d
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 0x41f01c
push 6
call fcn.00430d71
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x804
je 0x41f091
mov eax, dword [ebp + 0xc]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x41f08e
push dword [ebp + 0x20]
call fcn.00420dd2
mov dword [ebp - 0x14], eax
push 0x47668c
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 0x41f072
push ebx
call fcn.00430d89
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41f086
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
pop eax
pop ecx
jmp 0x41f031
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 0x41f0be
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 1
mov eax, 0x47668c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041cd7c
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41f0ec
push ebx
call fcn.00430d89
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41f100
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041d249
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41f124
push ebx
call fcn.00430d89
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00421588
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41f148
push ebx
call fcn.00430d89
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 0x41f15f
mov eax, 0x464300
push eax
push 1
mov ebx, 0x198
call fcn.004318a0
add esp, 0x10
mov dword [ebp - 0x14], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41f188
mov eax, 0x4643a8
push eax
push reloc.WSOCK32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41f19e
mov eax, 0x464300
push eax
push 2
mov ebx, 0x26c
call fcn.004327a0
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41f1c1
push ebx
call fcn.00430d89
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41f1d1
push ebx
call fcn.00430d89
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41f1e1
push ebx
call fcn.00430d89
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41f1f1
push ebx
call fcn.00430d89
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41f201
push ebx
call fcn.00430d89
add esp, 4
mov esp, ebp
pop ebp
ret 0x1c