Function at 0x10049f4c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
mov dword [ebp - 8], 0xbea12209
xor ebx, ebx
push esi
mov dword [ebp - 0x10], 0x7263b0a6
push edi
mov dword [ebp - 0x28], ebx
mov edi, ecx
mov dword [ebp - 0x10], ebx
jmp 0x10049f7d
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x6c], 0x7b1b0cad
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jl 0x10049f6f
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10049f98
push ebx
push 0x1021
push ebx
call dword [sym.imp.GDI32.dll_GetBitmapBits]
mov eax, dword [ebp - 8]
xor ecx, ecx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
imul edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp edx, eax
setne cl
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x60], 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
dec edx
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setle cl
imul ecx, dword [ebp - 8]
add ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 8]
jle 0x10049fe6
cmp dword [ebp - 0x60], ebx
je 0x10049fe6
cmp dword [ebp - 8], ebx
je 0x10049fe6
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x14], 0xe2bba6da
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x20], 0x764457c1
mov dword [ebp - 0x10], 5
jmp 0x1004a0c1
mov dword [ebp - 0x14], 0xfffffffa
mov dword [ebp - 0x14], ebx
jmp 0x1004a02f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x7c], 0x85e3970c
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x1004a021
mov ecx, dword [ebp - 0x6c]
xor edx, edx
mov eax, dword [ebp - 0x60]
cmp ecx, eax
mov eax, dword [ebp - 0x6c]
setg dl
xor ecx, ecx
cmp edx, eax
sete cl
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x78]
imul eax, dword [ebp - 0x14]
cmp eax, 1
sbb eax, eax
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x78]
imul ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp eax, ecx
mov eax, dword [ebp - 0xc]
setge dl
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], ebx
jmp 0x1004a0b8
mov dword [ebp - 8], ebx
jmp 0x1004a0af
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004a0ac
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jle 0x1004a09a
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jle 0x1004a095
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x16
jg 0x1004a015
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004a0e4
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawFocusRect]
push 1
push 0xfc4
push edi
push 0x7313
push 0x2715
call fcn.10044ff1
mov dword [ebp - 0xc], 0x7b04
add esp, 0x14
mov dword [ebp - 0x10], 0x226c312f
mov dword [ebp - 0x14], 0x14f98caf
mov dword [ebp - 0x28], 0x4b26d8f9
mov dword [ebp - 0x28], 0xdf47f28a
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x28], 0xba4a2c6e
push 2
mov dword [ebp - 0x20], 0xfffffff8
mov dword [ebp - 8], ebx
pop edx
jmp 0x1004a14c
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x40], 0x20461302
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jl 0x1004a13e
xor ecx, ecx
mov dword [ebp - 8], ebx
inc ecx
jmp 0x1004a167
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x18], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x1004a159
mov eax, dword [ebp - 0xc]
neg eax
neg eax
sbb eax, eax
inc eax
add eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0xc]
neg eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 0xc]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], ebx
je 0x1004a19c
mov eax, ecx
cmp dword [ebp - 0x10], ebx
jne 0x1004a19e
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, 0x2fd2d1a4
neg eax
sbb eax, eax
inc eax
imul eax, eax, 0xffff2488
test eax, eax
je 0x1004a2f4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x24], 0xf9f41adf
mov dword [ebp - 8], ebx
jmp 0x1004a1e3
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x30], 0xfffffffb
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jl 0x1004a1d5
mov dword [ebp - 8], ebx
jmp 0x1004a1fb
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1c], 0xa4adcf86
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x1004a1ed
mov dword [ebp - 0x10], 0x16
jmp 0x1004a2cc
mov dword [ebp - 8], ecx
mov dword [ebp - 0x24], 0x9a31c0a9
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x14], 0x6e12cdfd
mov dword [ebp - 0x14], ebx
jmp 0x1004a233
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x4c], 5
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1004a225
mov eax, dword [ebp - 0xc]
dec dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
je 0x1004a258
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov eax, ecx
jmp 0x1004a25a
mov eax, ebx
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
cmp ecx, eax
mov eax, dword [ebp - 0x20]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x44]
setge dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0x1c]
setne bl
xor ecx, ecx
cmp ebx, eax
setle cl
xor ebx, ebx
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004a2c6
push ebx
call esi
push eax
push 0x1211
push 0xeeb
push 0x1cce
push 0x19c8
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
dec dword [ebp - 0x10]
push 1
pop ecx
cmp dword [ebp - 0x10], 0xfffffff5
jl 0x1004a20c
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x1004a30b
push 0x2b5
push 0x924
call esi
push eax
call dword [sym.imp.USER32.dll_EnableScrollBar]
jmp 0x1004a30b
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004a30b
push ebx
push 0xebb
call esi
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
call fcn.10030a98
pop ecx
push 8
mov esi, eax
pop eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], 0xfff9
mov dword [ebp - 0x14], 0xebe1552b
mov dword [ebp - 0x14], ebx
jmp 0x1004a344
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x38], 0x35c52658
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1004a336
mov eax, dword [ebp - 0x58]
xor edx, edx
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
cmp ecx, eax
mov eax, dword [ebp - 0x5c]
setl dl
xor ecx, ecx
xor edi, edi
add edx, 7
inc edi
cmp edx, edi
setg cl
xor edx, edx
sub ecx, eax
mov eax, dword [ebp - 0x58]
cmp ecx, 0xd0b6
setg dl
xor ecx, ecx
cmp edx, eax
setg cl
cmp ecx, 0xffffffff
jle 0x1004a389
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x54]
imul eax, dword [ebp - 0x58]
test eax, eax
jne 0x1004a39d
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x50], ebx
je 0x1004a3af
mov ecx, edi
cmp dword [ebp - 0x20], ebx
jne 0x1004a3b1
mov ecx, ebx
xor eax, eax
test ecx, ecx
setne al
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1004a448
mov dword [ebp - 0x10], 0xffffffff
xor ecx, ecx
mov dword [ebp - 0xc], 0x69002fc
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x10], 8
mov eax, dword [ebp - 0xc]
dec eax
cmp eax, 0x1817887b
mov eax, dword [ebp - 0x10]
setle cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0xc]
setne dl
xor ecx, ecx
cmp edx, eax
setg cl
add ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0xc]
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, eax
sub ecx, 0xfffe
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], ebx
jmp 0x1004a440
mov dword [ebp - 0x20], 0xc655ef1c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
dec dword [ebp - 0x20]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x10
jg 0x1004a42d
jmp 0x1004a45f
mov byte [ebp - 1], bl
cmp byte [ebp - 1], 0
je 0x1004a45f
push 0x845
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret