Function at 0x10021021
Capabilities:
Get geographical location

Disassembly:
push 0x130
mov eax, 0x10047fe4
call fcn.1003784d
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x124]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push 4
mov dword [ebp - 0x110], eax
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0x13c], ebx
call fcn.10001a29
mov dword [ebp - 0xf8], 0x44d4e2b7
mov dword [ebp - 0xe8], 0xffffffff
mov dword [ebp - 0xf0], 7
mov dword [ebp - 4], ebx
mov dword [ebp - 0xe8], ebx
jmp 0x10021094
mov eax, dword [ebp - 0xe8]
mov dword [ebp + eax*4 - 0x5c], 0xffffffff
inc dword [ebp - 0xe8]
cmp dword [ebp - 0xe8], 4
jl 0x10021080
mov dword [ebp - 0xe8], ebx
jmp 0x100210b8
mov eax, dword [ebp - 0xe8]
mov dword [ebp + eax*4 - 0x100], ebx
inc dword [ebp - 0xe8]
cmp dword [ebp - 0xe8], 2
jl 0x100210a5
mov dword [ebp - 0xe8], ebx
jmp 0x100210e2
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0x124]
mov dword [eax + ecx*4], 0xfffffff9
inc dword [ebp - 0xe8]
cmp dword [ebp - 0xe8], 4
jl 0x100210c9
mov dword [ebp - 0x100], 3
cmp dword [ebp - 0x100], ebx
jl 0x1002129c
mov edi, dword [ebp - 0x124]
push dword [ebp - 0x110]
movdqa xmm0, xmmword [0x1004a3a0]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x10c], ebx
push eax
push ebx
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x108], ebx
movdqu xmmword [ebp - 0xb4], xmm0
mov dword [ebp - 0x104], ebx
call fcn.100013e3
mov dword [ebp - 0xf0], 0x1e5c8a52
mov dword [ebp - 0xe8], ebx
jmp 0x10021172
mov eax, dword [ebp - 0xe8]
mov dword [ebp + eax*4 - 0x12c], 8
inc dword [ebp - 0xe8]
cmp dword [ebp - 0xe8], 2
jl 0x1002115b
mov esi, dword [ebp - 0x10c]
mov dword [esi], ebx
mov dword [ebp - 0xe8], ebx
jmp 0x1002119f
mov eax, dword [ebp - 0xe8]
mov dword [ebp + eax*4 - 0x4c], 4
inc dword [ebp - 0xe8]
cmp dword [ebp - 0xe8], 3
jl 0x1002118b
mov dword [ebp - 0x48], 3
cmp dword [ebp - 0x48], ebx
jl 0x100211d2
mov byte [ebp - 0xe9], bl
cmp byte [ebp - 0xe9], 0
je 0x100211cd
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
dec dword [ebp - 0x48]
jns 0x100211b4
mov eax, dword [ebp - 0x100]
mov eax, dword [ebp + eax*4 - 0x5c]
cmp dword [esi + 4], ebx
je 0x100211f0
mov eax, dword [ebp - 0x10c]
cmp dword [eax], ebx
je 0x100211f0
xor edx, edx
inc edx
jmp 0x100211f2
mov edx, ebx
mov ecx, dword [ebp - 0x48]
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, edx
setne al
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x10c]
inc dword [eax]
cmp dword [eax], 3
jle 0x10021183
mov eax, dword [ebp - 0x100]
cmp dword [ebp + eax*4 - 0x5c], ebx
jne 0x1002123b
mov ecx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x10c]
imul ecx, dword [eax]
test ecx, ecx
jne 0x1002123b
mov eax, ebx
jmp 0x1002123e
xor eax, eax
inc eax
mov dword [ebp - 0xf0], eax
xor ecx, ecx
mov eax, dword [ebp - 0xfc]
mov dword [edi + 0xc], eax
imul eax, eax, 0x2057
cmp eax, 7
mov eax, dword [ebp - 0x100]
setl cl
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x5c]
cmp eax, ecx
mov eax, dword [ebp - 0xf8]
setl dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [ebp - 0xe8], ecx
lea ecx, [ebp - 0x10c]
call fcn.1000c4da
dec dword [ebp - 0x100]
jns 0x10021107
mov esi, dword [ebp - 0xf4]
push 0xfffffffffffffff6
mov dword [ebp - 0xe8], 0xfffffff4
pop edi
jmp 0x1002135a
mov dword [ebp - 0xf0], ebx
xor ecx, ecx
mov eax, dword [ebp - 0xe8]
cmp eax, 1
setge cl
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xf8], ebx
jmp 0x1002134b
mov dword [ebp - 0xf0], 0x28bc1302
lea ecx, [ebp - 0x138]
push 4
call fcn.10001a29
mov dword [ebp - 0xf0], 0x7078
mov dword [ebp - 0xf4], ebx
jmp 0x10021314
mov ecx, dword [ebp - 0xf4]
mov eax, dword [ebp - 0x138]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0xf4]
cmp dword [ebp - 0xf4], 4
jl 0x100212ff
inc dword [ebp - 0xf0]
mov byte [ebp - 0xe9], bl
cmp byte [ebp - 0xe9], 0
je 0x1002133a
push ebx
push ebx
call dword [sym.imp.USER32.dll_BeginPaint]
lea ecx, [ebp - 0x138]
call fcn.1000c4da
inc dword [ebp - 0xf8]
cmp dword [ebp - 0xf8], 3
jle 0x100212d6
inc dword [ebp - 0xe8]
cmp dword [ebp - 0xe8], edi
jge 0x100212ae
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.1000c4da
push esi
lea ecx, [ebp - 0x74]
call fcn.100019dd
push 0x2f
pop eax
push 2
pop esi
push 8
mov dword [ebp - 4], 1
mov ecx, ebx
mov dword [ebp - 0x18], 0x1ab02
mov dword [ebp - 0x14], 0x23011500
mov word [ebp - 0x2c], ax
pop edi
cmp esi, 6
jne 0x100213ac
push 2
pop ecx
jmp 0x100213d5
movzx edx, byte [ebp + esi - 0x17]
mov eax, esi
sub eax, ecx
movzx eax, byte [ebp + eax - 0x1a]
movzx ecx, word [ebp + eax*2 - 0x30]
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
movzx eax, byte [ebp + esi - 0x18]
add ecx, edx
mov word [ebp + eax*2 - 0x30], cx
mov ecx, ebx
add esi, 2
cmp esi, edi
jb 0x100213a2
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x7c], ebx
mov word [ebp - 0x8c], ax
cmp word [ebp - 0x30], ax
jne 0x100213fd
mov eax, ebx
jmp 0x10021407
lea eax, [ebp - 0x30]
push eax
call fcn.10037734
pop ecx
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10002fe5
mov eax, ebx
mov byte [ebp - 4], 2
cmp eax, edi
jae 0x10021626
xor ecx, ecx
mov word [ebp + eax - 0x30], cx
add eax, 2
cmp eax, edi
jb 0x10021425
cmp dword [ebp - 0x78], edi
lea eax, [ebp - 0x8c]
mov esi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x74]
cmovae eax, dword [ebp - 0x8c]
push esi
push ebx
push eax
call fcn.1003321d
add eax, esi
lea ecx, [ebp - 0x74]
push eax
push ebx
call fcn.1001c91f
push 0x10f66
call fcn.100078cc
pop ecx
movzx eax, ax
lea ecx, [ebp - 0x74]
push 1
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x118]
push 0xffffffffffffffff
push eax
call fcn.1001b99d
mov edi, eax
cmp edi, 0xffffffff
je 0x100214e8
mov eax, dword [ebp - 0x64]
dec eax
cmp edi, eax
je 0x100214df
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000c6c7
push 0x4bac6
mov esi, eax
call fcn.100078cc
pop ecx
cmp word [esi], ax
jne 0x100214e8
push 0x1e55e
call fcn.100078cc
pop ecx
movzx eax, ax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x114], eax
lea eax, [edi + 1]
push 1
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1003321d
cmp eax, 0xffffffff
jne 0x100214e8
push edi
lea ecx, [ebp - 0x74]
call fcn.1001c8ec
push 0x69
pop eax
push 2
mov dword [ebp - 0x28], 0x5025f01
mov ecx, ebx
mov dword [ebp - 0x24], 0x51e9902
mov dword [ebp - 0x20], 0x4390330
mov word [ebp - 0x1c], 0x16
mov byte [ebp - 0x1a], 0x15
mov word [ebp - 0x3e], ax
pop esi
cmp esi, 4
jne 0x10021520
push 3
pop ecx
push 5
pop esi
jmp 0x10021549
movzx edx, byte [ebp + esi - 0x27]
mov eax, esi
sub eax, ecx
movzx eax, byte [ebp + eax - 0x2a]
movzx ecx, word [ebp + eax*2 - 0x40]
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
movzx eax, byte [ebp + esi - 0x28]
add ecx, edx
mov word [ebp + eax*2 - 0x40], cx
mov ecx, ebx
add esi, 2
cmp esi, 0xf
jb 0x10021513
xor eax, eax
mov dword [ebp - 0x90], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 0x94], ebx
mov word [ebp - 0xa4], ax
cmp word [ebp - 0x40], ax
jne 0x10021578
mov eax, ebx
jmp 0x10021582
lea eax, [ebp - 0x40]
push eax
call fcn.10037734
pop ecx
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa4]
call fcn.10002fe5
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 3
push eax
call fcn.1001b181
mov ecx, eax
call fcn.1001b3f3
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.1001a02a
mov esi, dword [ebp - 0x110]
lea ecx, [ebp - 0x74]
push ecx
push eax
push esi
mov byte [ebp - 4], 5
call fcn.1001a078
add esp, 0x18
lea ecx, [ebp - 0xe4]
push ebx
push 1
call fcn.10002dd1
push ebx
push 1
lea ecx, [ebp - 0xcc]
call fcn.10002dd1
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.10002dd1
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.10002dd1
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.10002dd1
mov eax, esi
call fcn.1003780b
ret 8
call fcn.10036895
int3