Function at 0x4513e0
Capabilities:
Get geographical location
Hide graphical window

Disassembly:
sub esp, 0x34
cmp word [esp + 0x38], 0x220
push esi
mov esi, ecx
jne 0x45172e
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x84]
push ebx
push ebp
push edi
push 0
push 0
push 0x147
push 0x220
push ecx
mov dword [esp + 0x34], eax
mov dword [esi + 0x84], 0
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor ebx, ebx
cmp eax, 2
mov edx, dword [esi + 0x60]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
setl bl
dec ebx
mov dword [esp + 0x48], eax
and ebx, 5
push ebx
push 0x221
push edx
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebp
mov eax, dword [esi + 0x60]
push ebx
push 0x222
push eax
call edi
push eax
call ebp
mov ecx, dword [esi + 0x60]
push ebx
push 0x21b
push ecx
call edi
push eax
call ebp
mov edx, dword [esi + 0x60]
push ebx
push 0x224
push edx
call edi
push eax
call ebp
mov eax, dword [esi + 0x60]
push ebx
push 0x22f
push eax
call edi
push eax
call ebp
mov ecx, dword [esi + 0x60]
push ebx
push 0x230
push ecx
call edi
push eax
call ebp
mov edx, dword [esi + 0x60]
push ebx
push 0x22d
push edx
call edi
push eax
call ebp
mov eax, dword [esi + 0x60]
push ebx
push 0x22e
push eax
call edi
push eax
call ebp
mov ebx, dword [esp + 0x48]
mov ecx, ebx
neg ecx
sbb ecx, ecx
mov edx, dword [esi + 0x60]
and ecx, 5
push ecx
push 0x223
push edx
call edi
push eax
call ebp
mov ecx, dword [esi + 0x60]
xor eax, eax
cmp ebx, 3
setne al
mov ebp, eax
push ebp
push 0x205
push ecx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi + 0x60]
push ebp
push 0x203
push edx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebx, 3
je 0x451510
cmp ebx, 2
jne 0x451713
fild dword [esi + 0xcc]
cmp ebx, 3
fidiv dword [esi + 0xd4]
fstp dword [esp + 0x10]
fild dword [esi + 0xd0]
fidiv dword [esi + 0xd8]
fstp dword [esp + 0x1c]
jne 0x451547
mov eax, dword [esi + 0xc4]
fld dword [esi + 0xc0]
mov dword [esp + 0x48], eax
jmp 0x451557
mov ecx, dword [esi + 0xbc]
fld dword [esi + 0xb8]
mov dword [esp + 0x48], ecx
fmul dword [0x4cca78]
mov ebp, dword [esi + 0x60]
mov dx, word [0x4e092c]
xor eax, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x26], eax
mov word [esp + 0x24], dx
mov dword [esp + 0x2a], eax
call fcn.004bedcc
push 0x21b
push ebp
mov ebx, eax
call edi
fld dword [esp + 0x10]
fmul dword [0x4cca74]
mov ebp, eax
mov dword [esp + 0x14], ebp
call fcn.004bedcc
and eax, 0xffff
push eax
push 0
push 0x465
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
call ebp
mov eax, 0x66666667
imul ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
and edx, 0xffff
push edx
mov edx, dword [esp + 0x18]
push 0
push 0x467
push edx
call ebp
lea eax, [esp + 0x24]
push 0xa
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, ebx
mov ecx, 0x64
cdq
idiv ecx
mov eax, 0x51eb851f
lea ecx, [esp + 0x30]
push edx
lea edx, [esp + 0x28]
push edx
imul ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push str._0d_s_02d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x2c]
add esp, 0x14
lea edx, [esp + 0x30]
push edx
push 0x221
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
fld dword [esp + 0x48]
fmul dword [0x4cca78]
mov ecx, dword [esi + 0x60]
mov dx, word [0x4e092c]
xor eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x26], eax
mov word [esp + 0x24], dx
mov dword [esp + 0x2a], eax
call fcn.004bedcc
mov ebx, eax
push 0x224
mov ecx, dword [esp + 0x14]
push ecx
call edi
fld dword [esp + 0x1c]
fmul dword [0x4cca74]
mov edi, eax
call fcn.004bedcc
and eax, 0xffff
push eax
push 0
push 0x465
push edi
call ebp
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
and edx, 0xffff
push edx
push 0
push 0x467
push edi
call ebp
lea ecx, [esp + 0x24]
push 0xa
push ecx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, ebx
mov ecx, 0x64
cdq
idiv ecx
mov eax, 0x51eb851f
lea ecx, [esp + 0x30]
push edx
lea edx, [esp + 0x28]
push edx
imul ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push str._0d_s_02d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x24]
add esp, 0x14
lea edx, [esp + 0x30]
push edx
push 0x222
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [esi + 0x64]
mov ecx, dword [esp + 0x20]
pop edi
pop ebp
test eax, eax
mov dword [esi + 0x84], ecx
pop ebx
je 0x45172e
mov ecx, esi
call fcn.0044ea60
pop esi
add esp, 0x34
ret 4