Function at 0x615680
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x8c
mov esi, dword [ebp + 0xc]
mov eax, dword [0x73bf84]
cmp eax, 0xffffffff
jl 0x615750
movzx eax, byte [0x739478]
test al, al
je 0x6156c0
mov edi, 0x73d66c
cmp esi, 0x28
ja case.0x6156b8.27
jmp dword [esi*4 + 0x7430e4]
mov dword [esp], 0x739478
call fcn.0070b990
test eax, eax
je 0x6156aa
mov dword [0x73d670], 0
mov dword [0x73d674], 0x880f80
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [0x73d66c], eax
mov dword [0x73bf84], 0xffffffff
mov dword [esp], 0x739478
call fcn.0070bac0
mov dword [esp], 0x70c690
call fcn.004014c0
jmp 0x6156aa
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
lea ecx, [edi + 8]
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [esp], 0
call fcn.005adcf0
sub esp, 4
mov dword [ebx + 8], 0x80000000
mov dword [ebx], 0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
xor edi, edi
jmp 0x6156af
lea eax, [ebp - 0x38]
mov edx, 0x400
mov edi, eax
mov dword [ebp - 0x6c], eax
call fcn.00481b80
mov ecx, edi
call fcn.005f6be0
test al, al
mov edx, dword [ebp - 0x38]
jne 0x615ec0
xor eax, eax
mov edi, edx
add edi, dword [edx + 0xc]
je 0x6157bc
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x6157bc
xor edx, edx
cmp byte [edi], 0
jne 0x6157a6
jmp 0x6157bc
cmp byte [edi + edx], 0
je 0x6157ad
add edx, 1
cmp ecx, edx
jne 0x6157a0
cmp edx, 0xffffffff
mov eax, edx
jne 0x6157bc
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.005ac290
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x5c], eax
mov eax, dword [edx]
test eax, eax
je 0x615e80
cmp eax, 0xffffffff
je 0x6157ea
lock sub dword [edx], 1
mov edx, dword [ebp - 0x38]
je 0x615e80
lea eax, [ebp - 0x50]
lea edi, [ebp - 0x5c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x54]
mov dword [esp], edi
mov dword [esp + 8], eax
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
call fcn.004f3540
test esi, esi
je 0x61604c
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x6160ea
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x6c]
mov eax, dword [eax]
mov dword [esp], edx
mov ecx, esi
call dword [eax + 0xc]
sub esp, 4
mov ecx, esi
call fcn.0065fac0
mov dword [esp], eax
mov ecx, ebx
call fcn.005cfbe0
sub esp, 4
mov ecx, esi
call fcn.005a6720
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax]
test edx, edx
je 0x615ad5
cmp edx, 0xffffffff
je 0x615741
lock sub dword [eax], 1
mov eax, dword [ebp - 0x5c]
jne 0x615741
jmp 0x615ad5
mov dword [esp + 4], 8
mov dword [esp], edi
mov ecx, ebx
call fcn.00560af0
sub esp, 8
jmp 0x615741
mov dword [esp + 4], 4
mov dword [esp], edi
mov ecx, ebx
call fcn.00560af0
sub esp, 8
jmp 0x615741
mov dword [esp], 0
mov ecx, ebx
call fcn.005cfbe0
sub esp, 4
jmp 0x615741
mov dword [esp], edi
mov ecx, ebx
call fcn.0055f670
sub esp, 4
jmp 0x615741
mov dword [esp + 4], 0x7b
mov dword [esp], edi
mov ecx, ebx
call fcn.00560af0
sub esp, 8
jmp 0x615741
mov esi, dword [0x73d4b4]
test esi, esi
je 0x615ed0
mov ecx, dword [ebp + 0x10]
call fcn.0066ec50
cmp eax, esi
je 0x6160af
lea eax, [ebp - 0x38]
mov ecx, dword [ebp + 0x10]
mov dword [esp], esi
mov dword [ebp - 0x30], 0x80000000
mov dword [ebp - 0x38], 0
mov dword [esp + 4], eax
mov dword [ebp - 0x28], 0x880f80
mov dword [ebp - 0x6c], eax
call fcn.0066e0f0
sub esp, 8
test al, al
mov ecx, dword [ebp - 0x28]
je 0x615ff0
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], 0
mov ecx, 0x880f80
mov dword [ebp - 0x28], 0x880f80
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x30]
and eax, 0xc0000000
and edx, 0x3fffffff
or eax, edx
movzx edx, byte [ebp - 0x2d]
mov dword [ebp - 0x30], 0x80000000
mov dword [ebp - 0x48], eax
shr eax, 0x18
and eax, 0x3f
mov esi, edx
and edx, 0xffffff80
and esi, 0x40
or eax, esi
or edx, eax
mov byte [ebp - 0x45], dl
mov eax, dword [ecx]
test eax, eax
je 0x615fd0
cmp eax, 0xffffffff
je 0x6159d7
lock sub dword [ecx], 1
je 0x615fd0
mov ecx, dword [ebp - 0x6c]
lea esi, [ebp - 0x50]
call fcn.005cfd40
mov dword [esp + 4], esi
mov dword [esp], edi
mov ecx, ebx
call fcn.00561f30
mov eax, dword [ebp - 0x40]
sub esp, 8
mov edx, dword [eax]
test edx, edx
je 0x615ea0
cmp edx, 0xffffffff
je 0x615a12
lock sub dword [eax], 1
mov eax, dword [ebp - 0x40]
je 0x615ea0
mov ecx, esi
call fcn.005cfd40
jmp 0x615741
mov ecx, dword [ebp + 0x10]
mov dword [esp], 0
call fcn.0066d990
sub esp, 4
mov ecx, ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00561290
sub esp, 8
jmp 0x615741
mov dword [esp], edi
mov ecx, ebx
call fcn.00561890
sub esp, 4
jmp 0x615741
lea eax, [ebp - 0x38]
mov dword [esp + 0xc], 0xf
mov dword [esp + 4], 0x29
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
sub esp, 0x10
test eax, eax
je case.0x6156b8.27
lea esi, [ebp - 0x50]
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.005b01a0
mov dword [esp], esi
mov ecx, ebx
call fcn.005cfa30
mov eax, dword [ebp - 0x50]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x615ad5
cmp edx, 0xffffffff
je 0x615741
lock sub dword [eax], 1
mov eax, dword [ebp - 0x50]
jne 0x615741
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x615741
lea eax, [ebp - 0x38]
mov dword [esp + 0xc], 0xf
mov dword [esp + 4], 0x28
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
sub esp, 0x10
test eax, eax
je case.0x6156b8.27
lea esi, [ebp - 0x50]
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.005b01a0
mov dword [esp], esi
mov ecx, ebx
call fcn.005cfa30
jmp 0x615ab3
mov dword [esp + 4], 0x50
mov dword [esp], edi
mov ecx, ebx
call fcn.00560af0
sub esp, 8
jmp 0x615741
mov dword [esp], edi
mov ecx, ebx
call fcn.005633b0
sub esp, 4
jmp 0x615741
lea eax, [ebp - 0x38]
mov esi, eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov dword [esp], eax
call fcn.0066b4c0
sub esp, 4
mov ecx, ebx
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00564640
sub esp, 0xc
mov ecx, esi
call fcn.005d42f0
jmp 0x615741
lea eax, [ebp - 0x38]
mov esi, eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov dword [esp], eax
call fcn.0066b4c0
sub esp, 4
mov ecx, ebx
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00564640
jmp 0x615bb0
mov dword [esp + 4], 1
mov dword [esp], edi
mov ecx, ebx
call fcn.005616a0
sub esp, 8
jmp 0x615741
mov ecx, dword [ebp + 0x10]
call fcn.0066d8c0
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], edi
mov ecx, ebx
call fcn.005643a0
sub esp, 0xc
jmp 0x615741
mov ecx, dword [ebp + 0x10]
call fcn.0066d8c0
mov dword [esp + 8], 0
jmp 0x615c20
mov ecx, dword [ebp + 0x10]
call fcn.0066d0b0
mov dword [esp + 0xc], 1
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov ecx, ebx
mov dword [esp], edi
call fcn.005640f0
sub esp, 0x10
jmp 0x615741
mov ecx, dword [ebp + 0x10]
call fcn.0066d0b0
mov dword [esp + 0xc], 0
jmp 0x615c62
mov ecx, dword [ebp + 0x10]
mov dword [esp], 0
call fcn.0066c990
sub eax, 1
sub esp, 4
cmp eax, 0xb
ja 0x616061
mov eax, dword [eax*4 + str.DEFGHIJKLMNO]
mov dword [esp + 4], eax
mov dword [esp], edi
mov ecx, ebx
call fcn.00560af0
sub esp, 8
jmp 0x615741
mov ecx, dword [ebp + 0x10]
mov dword [esp], 0
call fcn.0066c990
sub eax, 1
sub esp, 4
cmp eax, 0xb
ja 0x61607a
mov eax, dword [eax*4 + str.89:_____ABC]
jmp 0x615cb7
mov ecx, dword [ebp + 0x10]
mov dword [esp], 0
call fcn.0066c990
sub eax, 1
sub esp, 4
cmp eax, 6
ja 0x616093
mov eax, dword [eax*4 + 0x8bfb1c]
jmp 0x615cb7
mov ecx, dword [ebp + 0x10]
mov dword [esp], 0
call fcn.0066c990
sub eax, 1
sub esp, 4
cmp eax, 6
ja 0x61600a
mov eax, dword [eax*4 + str.__._01234567_abcdef]
jmp 0x615cb7
mov dword [esp + 4], 1
mov dword [esp], edi
mov ecx, ebx
call fcn.0055f1e0
sub esp, 8
jmp 0x615741
mov dword [esp + 4], 0x51
mov dword [esp], edi
mov ecx, ebx
call fcn.00560af0
sub esp, 8
jmp 0x615741
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x615f44
add edi, 8
mov ecx, ebx
mov dword [esp], edi
call fcn.005cfa30
sub esp, 4
jmp 0x615741
mov dword [esp + 4], 0xf
mov dword [esp], edi
mov ecx, ebx
call fcn.00560af0
sub esp, 8
jmp 0x615741
mov dword [esp + 4], 0xe
mov dword [esp], edi
mov ecx, ebx
call fcn.00560af0
sub esp, 8
jmp 0x615741
mov dword [esp + 4], 1
mov dword [esp], edi
mov ecx, ebx
call fcn.0055ed50
sub esp, 8
jmp 0x615741
mov dword [esp + 4], 0
mov dword [esp], edi
mov ecx, ebx
call fcn.0055ed50
sub esp, 8
jmp 0x615741
mov dword [esp + 4], 0
mov dword [esp], edi
mov ecx, ebx
call fcn.0055f1e0
sub esp, 8
jmp 0x615741
mov dword [esp + 4], 0
mov dword [esp], edi
mov ecx, ebx
call fcn.005616a0
sub esp, 8
jmp 0x615741
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], edx
call fcn.004a4c50
jmp 0x6157ea
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x615a12
mov dword [ebp - 0x5c], 0x880f80
jmp 0x6157ce
lea eax, [ebp - 0x38]
mov dword [esp + 4], str.QSystemLocale::CurrencyToStringArgument
mov esi, eax
mov dword [esp], eax
mov dword [ebp - 0x6c], eax
call fcn.004c1aa0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x107
mov dword [esp + 0xc], 0x18
mov dword [esp + 8], 0x52e890
mov dword [esp + 4], 0x52e830
mov dword [esp], esi
call fcn.005de610
mov esi, eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
test edx, edx
je 0x6160f9
cmp edx, 0xffffffff
je 0x615f39
lock sub dword [eax], 1
mov eax, dword [ebp - 0x38]
je 0x6160f9
mov dword [0x73d4b4], esi
jmp 0x61591e
lea esi, [ebp - 0x38]
mov dword [esp + 0xc], 0xb
mov dword [esp + 4], 0x13
mov dword [esp + 8], esi
mov eax, dword [edi]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
sub esp, 0x10
test eax, eax
je 0x615dae
lea eax, [ebp - 0x50]
mov dword [esp + 8], 1
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.005b01a0
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x50], eax
mov dword [edi + 8], edx
mov edx, dword [eax]
test edx, edx
je 0x615fad
cmp edx, 0xffffffff
je 0x615dae
lock sub dword [eax], 1
jne 0x615dae
mov eax, dword [ebp - 0x50]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x615dae
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.004a4c50
jmp 0x6159d7
mov dword [ebp - 0x48], 0x80000000
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0x880f80
jmp 0x6159be
lea eax, [ebp - 0x38]
mov ecx, ebx
mov dword [ebp - 0x38], 0x880f80
mov dword [esp], eax
mov dword [ebp - 0x6c], eax
call fcn.005cfa30
mov eax, dword [ebp - 0x38]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x615ad5
cmp edx, 0xffffffff
je 0x615741
lock sub dword [eax], 1
mov eax, dword [ebp - 0x38]
jne 0x615741
jmp 0x615ad5
mov eax, dword [ebp - 0x58]
mov ecx, ebx
mov dword [esp], eax
call fcn.005cfbe0
sub esp, 4
jmp 0x61584e
lea eax, [ebp - 0x38]
mov ecx, ebx
mov dword [ebp - 0x38], 0x880f80
mov dword [esp], eax
mov dword [ebp - 0x6c], eax
call fcn.005cfa30
jmp 0x616021
lea eax, [ebp - 0x38]
mov ecx, ebx
mov dword [ebp - 0x38], 0x880f80
mov dword [esp], eax
mov dword [ebp - 0x6c], eax
call fcn.005cfa30
jmp 0x616021
lea eax, [ebp - 0x38]
mov ecx, ebx
mov dword [ebp - 0x38], 0x880f80
mov dword [esp], eax
mov dword [ebp - 0x6c], eax
call fcn.005cfa30
jmp 0x616021
mov ecx, dword [ebp + 0x10]
lea esi, [ebp - 0x50]
call fcn.0066ec60
mov ecx, esi
mov dword [esp], eax
mov dword [ebp - 0x6c], eax
call fcn.005cfac0
mov eax, dword [ebp - 0x6c]
sub esp, 4
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x40], edx
mov eax, dword [edx]
add eax, 1
cmp eax, 1
jbe 0x6159e2
lock add dword [edx], 1
jmp 0x6159e2
mov dword [esp], eax
mov ecx, ebx
call fcn.005cfbe0
jmp 0x616059
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.004a4c50
jmp 0x615f39