Function at 0x100c127
Capabilities:
Get geographical location
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x10154a4]
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
cmp eax, 0xffffff4f
push edi
mov edi, ecx
je 0x100c1df
cmp eax, 0xffffff94
je 0x100c1a4
cmp eax, 0xffffff9b
jne case.default.0x100c236
test byte [esi + 0x1c], 8
je case.default.0x100c236
mov esi, dword [sym.imp.user32.dll_GetDlgItem]
xor ebx, ebx
push ebx
push ebx
push 0x1032
push 0x3f1
push dword [edi + 4]
call esi
push eax
call dword [sym.imp.user32.dll_SendMessageW]
xor ecx, ecx
cmp eax, ebx
setne cl
push ecx
push 0x3f2
push dword [edi + 4]
call esi
push eax
call dword [sym.imp.user32.dll_EnableWindow]
jmp case.default.0x100c236
mov eax, dword [esi + 0x10]
mov eax, dword [eax*4 + 0x1015f40]
cmp dword [0x1015094], eax
jne 0x100c1be
neg dword [0x1015098]
jmp 0x100c1ca
or dword [0x1015098], 0xffffffff
mov dword [0x1015094], eax
lea eax, [edi + 0xc]
push eax
call fcn.0100ac67
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
jmp case.default.0x100c236
test byte [esi + 0xc], 1
je case.default.0x100c236
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x14]
mov eax, dword [eax*4 + 0x1015f40]
xor ebx, ebx
cmp dword [ecx + 0x8c], ebx
je 0x100c22d
cmp eax, ebx
je 0x100c22d
cmp eax, 0xe
je 0x100c22d
cmp eax, 0x10
je 0x100c22d
cmp eax, 5
je 0x100c22d
cmp eax, 2
je 0x100c22d
cmp eax, 3
je 0x100c22d
cmp eax, 4
je 0x100c22d
mov eax, dword [esi + 0x20]
mov word [eax], bx
jmp case.default.0x100c236
cmp eax, 0x1a
ja case.default.0x100c236
jmp dword [eax*4 + 0x100c529]
push dword [ecx + 8]
push 0x1001f14
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.0100368a
add esp, 0x10
jmp case.default.0x100c236
mov ecx, dword [ecx + 0xc]
cmp ecx, ebx
je case.default.0x100c236
push ecx
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.0100366f
jmp case.default.0x100c236
push dword [ecx + 0x10]
jmp 0x100c240
movzx eax, byte [ecx + 0x15]
push eax
push 0x1001f04
jmp 0x100c245
push dword [ecx + 0x88]
jmp 0x100c264
xor eax, eax
mov word [ebp - 0xec], bx
lea edi, [ebp - 0xea]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xdc]
push eax
add ecx, 0x20
push ecx
call dword [sym.imp.ntdll.dll_RtlTimeToElapsedTimeFields]
mov eax, dword [ebp - 0xd8]
push dword [esi + 0x24]
imul eax, eax, 0x18
add word [ebp - 0xd6], ax
mov ax, word [ebp - 0xd6]
push dword [esi + 0x20]
mov word [ebp - 0xe4], ax
mov ax, word [ebp - 0xd4]
mov word [ebp - 0xe2], ax
mov ax, word [ebp - 0xd2]
mov word [ebp - 0xe0], ax
mov ax, word [ebp - 0xd0]
push ebx
mov word [ebp - 0xde], ax
lea eax, [ebp - 0xec]
push eax
push 0xc
mov edi, 0x400
push edi
call dword [sym.imp.kernel32.dll_GetTimeFormatW]
cmp word [ebp - 0xd8], bx
je case.default.0x100c236
cmp word [0x1016504], bx
jne 0x100c33c
push 4
push 0x1016504
push 0x1e
push edi
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
push 0x1016504
push dword [esi + 0x20]
call dword [sym.imp.shlwapi.dll_StrStrW]
cmp eax, ebx
je case.default.0x100c236
movsx ecx, word [ebp - 0xd6]
push eax
movsx eax, word [ebp - 0xd8]
imul eax, eax, 0x18
add eax, ecx
push eax
push 0x1001ef8
lea eax, [ebp - 0xcc]
push 0x64
push eax
call fcn.0100368a
add esp, 0x14
lea eax, [ebp - 0xcc]
jmp 0x100c458
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [ecx + 0x28]
call fcn.0100c0ef
jmp case.default.0x100c236
push dword [esi + 0x24]
mov eax, dword [ecx + 0x2c]
push dword [esi + 0x20]
cdq
push edx
push eax
jmp 0x100c392
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [ecx + 0x98]
jmp 0x100c392
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [ecx + 0x30]
call fcn.0100a404
jmp case.default.0x100c236
push dword [esi + 0x24]
mov eax, dword [ecx + 0x34]
push dword [esi + 0x20]
cdq
push edx
push eax
jmp 0x100c3c3
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [ecx + 0x38]
jmp 0x100c392
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [ecx + 0x3c]
jmp 0x100c392
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [ecx + 0x40]
jmp 0x100c392
mov ecx, dword [ecx + 0x44]
sub ecx, 0x20
je 0x100c453
sub ecx, 0x20
je 0x100c44c
sub ecx, 0x40
je 0x100c445
sub ecx, 0x80
je 0x100c43e
sub ecx, 0x3f00
je 0x100c437
sub ecx, 0x4000
je 0x100c430
mov eax, 0x1015be8
jmp 0x100c458
mov eax, 0x1015ba8
jmp 0x100c458
mov eax, 0x1015b68
jmp 0x100c458
mov eax, 0x1015ce8
jmp 0x100c458
mov eax, 0x1015c68
jmp 0x100c458
mov eax, 0x1015c28
jmp 0x100c458
mov eax, 0x1015ca8
push eax
jmp 0x100c264
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [ecx + 0x48]
jmp 0x100c3c3
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [ecx + 0x4c]
jmp 0x100c3c3
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [ecx + 0x54]
jmp 0x100c3c3
push dword [esi + 0x24]
push dword [esi + 0x20]
push ebx
push dword [ecx + 0x50]
jmp 0x100c3c3
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [ecx + 0x5c]
push dword [ecx + 0x58]
jmp 0x100c3c3
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [ecx + 0x64]
push dword [ecx + 0x60]
jmp 0x100c3c3
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [ecx + 0x6c]
push dword [ecx + 0x68]
jmp 0x100c3c3
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [ecx + 0x74]
push dword [ecx + 0x70]
jmp 0x100c3c3
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [ecx + 0x7c]
push dword [ecx + 0x78]
jmp 0x100c3c3
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [ecx + 0x84]
push dword [ecx + 0x80]
jmp 0x100c3c3
mov eax, dword [ecx + 0x9c]
jmp 0x100c514
mov eax, dword [ecx + 0xa0]
mov dword [esi + 0x20], eax
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.01011fd4
leave
ret 4