Function at 0x6124e155
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x61253ebc]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x20]
push ebx
mov dword [ebp - 0x114], eax
xor eax, eax
push esi
xor ebx, ebx
inc eax
cmp ecx, ebx
lea esi, [ebp - 0x108]
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x10c], esi
je 0x6124e1c4
push ecx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, esi
push eax
push dword [ebp + 0xc]
push dword [0x61254ab0]
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
jmp 0x6124e339
cmp edx, ebx
je 0x6124e339
push edi
push dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
mov edi, eax
push 0x147
push edi
call esi
cmp eax, 0xffffffff
jne 0x6124e239
push 0x80
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x110]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
cmp eax, ebx
je 0x6124e21a
mov word [ebp + eax*2 - 0x108], bx
jmp 0x6124e2e3
cmp dword [ebp + 0xc], 0x28
je 0x6124e22d
cmp dword [ebp + 0xc], 0x29
je 0x6124e22d
xor eax, eax
jmp 0x6124e338
mov word [ebp - 0x108], bx
jmp 0x6124e2e3
cmp dword [ebp + 0x18], ebx
je 0x6124e2c5
cmp dword [ebp + 0x10], 0x44d
jne 0x6124e274
push ebx
push eax
push 0x150
push edi
call esi
cmp eax, 0xa
jae 0x6124e298
lea eax, [eax + eax*2]
lea eax, [eax*2 + 0x61252a14]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x6124e2e3
add eax, dword [ebp + 0x1c]
cmp dword [ebp + 0x10], 0x432
jne 0x6124e255
sub eax, ebx
je 0x6124e2be
dec eax
je 0x6124e2b7
dec eax
je 0x6124e2b0
dec eax
jne 0x6124e2e3
push ebx
push 3
push 0x150
push edi
call esi
push eax
lea eax, [ebp - 0x108]
push 0x6124156c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x6124e2e3
push 0x6124252c
jmp 0x6124e265
push 0x61242528
jmp 0x6124e265
push 0x61241340
jmp 0x6124e265
lea ecx, [ebp - 0x108]
push ecx
push eax
push 0x148
push edi
call esi
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
cmp eax, ebx
je 0x6124e338
cmp dword [ebp - 0x114], ebx
je 0x6124e2fe
push dword [ebp - 0x114]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
cmp dword [ebp + 0xc], 0x13
jne 0x6124e323
cmp dword [0x61254970], ebx
je 0x6124e323
cmp word [ebp - 0x108], 0x206f
jne 0x6124e323
lea eax, [ebp - 0x106]
mov dword [ebp - 0x10c], eax
push dword [ebp - 0x10c]
push dword [ebp + 0xc]
push dword [0x61254ab0]
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
pop edi
cmp dword [ebp - 0x118], ebx
je 0x6124e3e7
cmp eax, ebx
je 0x6124e3eb
cmp dword [ebp - 0x110], ebx
jne 0x6124e381
cmp dword [ebp - 0x11c], ebx
jne 0x6124e381
mov esi, dword [ebp + 0xc]
push 0x80
push dword [ebp - 0x10c]
mov eax, esi
or eax, 0x80000000
push eax
push dword [0x61254ab0]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x6124e384
mov esi, dword [ebp + 0xc]
cmp esi, 0xc
je 0x6124e39d
cmp esi, 0xd
jbe 0x6124e3a8
cmp esi, 0xf
jbe 0x6124e39d
cmp esi, 0x1c
jbe 0x6124e3a8
cmp esi, 0x1e
ja 0x6124e3a8
push dword [ebp - 0x10c]
call fcn.6124c644
push dword [ebp - 0x10c]
push esi
push dword [0x61254ab0]
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
test eax, eax
jne 0x6124e3d6
push dword [ebp - 0x10c]
push dword [ebp - 0x118]
push str.intl
call dword [sym.imp.KERNEL32.dll_WriteProfileStringW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.6124ff04
leave
ret 0x20
cmp eax, ebx
jne 0x6124e3d6
push 0x80
lea eax, [ebp - 0x108]
push eax
push 0xc
push dword [0x612543d0]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x40
push ebx
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp + 0x10]
push dword [ebp - 0x110]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
xor eax, eax
jmp 0x6124e3d9