Function at 0x43ca27
Capabilities:
Get geographical location
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500603
mov eax, dword fs:[0]
push eax
mov eax, 0x12e4
call fcn.004eaef0
mov eax, dword [0x5475b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push 0x52643c
call fcn.004c0600
push eax
lea ecx, [ebp - 0x12b0]
call fcn.004c00c0
and dword [ebp - 4], 0
mov ecx, ebx
push str.city
call fcn.004c0600
push eax
lea ecx, [ebp - 0x1290]
call fcn.004c00c0
push str.user_id
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004c0600
push eax
lea ecx, [ebp - 0x1280]
call fcn.004c00c0
push str.site
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004c0600
push eax
lea ecx, [ebp - 0x12e0]
call fcn.004c00c0
push str.nick
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.004c0600
push eax
lea ecx, [ebp - 0x12a0]
call fcn.004c00c0
push str.online_token
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004c0600
push eax
lea ecx, [ebp - 0x1250]
call fcn.004c00c0
push 0x526478
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.004c0600
push eax
lea ecx, [ebp - 0x1240]
call fcn.004c00c0
push str.avatar_img
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.004c0600
push eax
lea ecx, [ebp - 0x1260]
call fcn.004c00c0
push 0x52648c
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.004c0600
push eax
lea ecx, [ebp - 0x12c0]
call fcn.004c00c0
push str.status_text
mov ecx, ebx
mov byte [ebp - 4], 8
call fcn.004c0600
push eax
lea ecx, [ebp - 0x1270]
call fcn.004c00c0
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.0043c3f9
mov esi, 0x800
lea eax, [ebp - 0x1218]
push esi
push eax
lea edx, [edi + 0x18]
lea ecx, [ebp - 0x12b0]
call fcn.00411784
lea eax, [ebp - 0x1218]
push esi
push eax
lea edx, [edi + 0x20]
lea ecx, [ebp - 0x1290]
call fcn.00411784
lea eax, [ebp - 0x1218]
lea esi, [edi + 0x1c]
push 0x800
push eax
mov edx, esi
lea ecx, [ebp - 0x1280]
call fcn.00411784
mov eax, dword [esi]
add esp, 0x18
cmp dword [eax - 8], 0
je 0x43cbf2
push eax
call fcn.004d9aba
pop ecx
cmp edx, 1
jg 0x43cbec
jl 0x43cbe7
cmp eax, 0x2a05f200
jae 0x43cbec
xor eax, eax
inc eax
jmp 0x43cbee
xor eax, eax
mov byte [edi], al
jmp 0x43cbfe
push str.5000000001
mov ecx, esi
call fcn.004028f2
lea eax, [ebp - 0x1218]
push 0x800
push eax
lea edx, [edi + 0x28]
lea ecx, [ebp - 0x12e0]
call fcn.00411784
lea eax, [ebp - 0x1218]
push 0x800
push eax
lea edx, [edi + 0x24]
lea ecx, [ebp - 0x12a0]
call fcn.00411784
add esp, 0x10
cmp byte [edi], 0
jne 0x43cc88
push 0x522b88
lea ecx, [edi + 0x24]
call fcn.004028f2
lea eax, [edi + 0x1c]
lea esi, [edi + 0x38]
push eax
mov ecx, esi
call fcn.00402aef
push str.5000000001
push dword [esi]
call fcn.004da5d4
pop ecx
pop ecx
test eax, eax
je 0x43cde6
push dword [0x549e80]
push dword [esi]
push str.hwuserid
push 0x525878
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x43cde6
mov eax, dword [edi + 0x38]
cmp dword [eax - 8], 0
jne 0x43cce5
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004deff0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [0x549e80]
push 0x104
push eax
push 0x512700
push str.hwuserid
push 0x525878
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [edi + 0x38]
call fcn.004028f2
push str.level_complete
mov ecx, ebx
call fcn.004c0600
push eax
lea ecx, [ebp - 0x1230]
call fcn.004c00c0
push str.level_upgrade
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.004c0600
push eax
lea ecx, [ebp - 0x12f0]
call fcn.004c00c0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x121c]
and dword [ebp - 0x121c], 0
lea ecx, [ebp - 0x1230]
and dword [ebp - 0x1220], 0
call fcn.0041173e
lea edx, [ebp - 0x1220]
lea ecx, [ebp - 0x12f0]
call fcn.0041173e
mov eax, dword [ebp - 0x121c]
test eax, eax
jle 0x43cd88
mov ecx, dword [ebp - 0x1220]
test ecx, ecx
jle 0x43cd88
movd xmm1, eax
add eax, ecx
cvtdq2pd xmm1, xmm1
movd xmm0, eax
mulsd xmm1, qword [0x530b80]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si eax, xmm1
mov dword [edi + 8], eax
jmp 0x43cdc8
push str.level_progress
mov ecx, ebx
call fcn.004c0600
push eax
lea ecx, [ebp - 0x12d0]
call fcn.004c00c0
lea esi, [edi + 8]
mov byte [ebp - 4], 0xc
mov edx, esi
lea ecx, [ebp - 0x12d0]
call fcn.0041173e
imul eax, dword [esi], 0xa
lea ecx, [ebp - 0x12d0]
mov byte [ebp - 4], 0xb
mov dword [esi], eax
call fcn.004c0360
lea ecx, [ebp - 0x12f0]
mov byte [ebp - 4], 0xa
call fcn.004c0360
lea ecx, [ebp - 0x1230]
mov byte [ebp - 4], 9
call fcn.004c0360
lea ecx, [ebp - 0x1250]
call fcn.004c19b0
test al, al
je 0x43ce09
lea ecx, [ebp - 0x1250]
call fcn.004c0bd0
push eax
lea ecx, [edi + 0x14]
call fcn.00413d88
lea ecx, [ebp - 0x1240]
call fcn.004c19b0
test al, al
je 0x43ce2c
lea ecx, [ebp - 0x1240]
call fcn.004c0bd0
push eax
lea ecx, [edi + 0x2c]
call fcn.00413d88
lea ecx, [ebp - 0x1260]
call fcn.004c19b0
test al, al
je 0x43ce4f
lea ecx, [ebp - 0x1260]
call fcn.004c0bd0
push eax
lea ecx, [edi + 0x30]
call fcn.00413d88
lea eax, [ebp - 0x1218]
push 0x800
push eax
lea edx, [edi + 0x34]
lea ecx, [ebp - 0x1270]
call fcn.00411784
pop ecx
pop ecx
lea edx, [edi + 4]
lea ecx, [ebp - 0x12c0]
call fcn.0041173e
cmp dword [edi + 0x10], 0
je 0x43ce85
cmp dword [edi + 0xc], 0
jne 0x43cecf
push str.timestamp
mov ecx, ebx
call fcn.004c0600
push eax
lea ecx, [ebp - 0x1230]
call fcn.004c00c0
lea edx, [edi + 0xc]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x1230]
call fcn.0041173e
cmp dword [edi + 0xc], 0
je 0x43cec0
push 0
call fcn.004dcfa8
pop ecx
mov dword [edi + 0x10], eax
lea ecx, [ebp - 0x1230]
mov byte [ebp - 4], 9
call fcn.004c0360
lea ecx, [ebp - 0x1270]
mov byte [ebp - 4], 8
call fcn.004c0360
lea ecx, [ebp - 0x12c0]
mov byte [ebp - 4], 7
call fcn.004c0360
lea ecx, [ebp - 0x1260]
mov byte [ebp - 4], 6
call fcn.004c0360
lea ecx, [ebp - 0x1240]
mov byte [ebp - 4], 5
call fcn.004c0360
lea ecx, [ebp - 0x1250]
mov byte [ebp - 4], 4
call fcn.004c0360
lea ecx, [ebp - 0x12a0]
mov byte [ebp - 4], 3
call fcn.004c0360
lea ecx, [ebp - 0x12e0]
mov byte [ebp - 4], 2
call fcn.004c0360
lea ecx, [ebp - 0x1280]
mov byte [ebp - 4], 1
call fcn.004c0360
lea ecx, [ebp - 0x1290]
mov byte [ebp - 4], 0
call fcn.004c0360
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12b0]
call fcn.004c0360
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d9731
mov esp, ebp
pop ebp
ret