Function at 0x100cb6b6
Capabilities:
Check for time delay via gettickcount
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x101e0319
push dword [0x1023bfb3]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x100cb72d
mov eax, dword [0x1023c19f]
mov dword [0x1023caa7], eax
mov eax, dword [0x1023c1a3]
mov dword [0x1023caab], eax
mov dword [0x1023caaf], 0
mov eax, 0x10223e04
push eax
mov ebx, dword [0x1023bfb3]
test ebx, ebx
je 0x100cb727
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [0x1023bfb3], eax
cmp dword [0x1023cab3], 0
jne 0x100cb79d
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x10], eax
push dword [0x1023c2a3]
push dword [ebp - 0x10]
call fcn.100066be
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x157c
jge 0x100cb772
jmp 0x100cbbaf
call fcn.10036a3a
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x1023c2a3], eax
mov dword [0x1023cab3], 1
jmp 0x100cbbaf
call fcn.1002e524
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100cb7b4
jmp 0x100cbbaf
cmp dword [0x1023caaf], 0
jne 0x100cb80d
mov eax, dword [0x1023c19f]
cmp dword [0x1023caa7], eax
je 0x100cb7ea
mov eax, dword [0x1023c1a3]
cmp dword [0x1023caab], eax
je 0x100cb7ea
mov eax, 1
jmp 0x100cb7ec
xor eax, eax
test eax, eax
je 0x100cb803
mov dword [0x1023caaf], 1
jmp 0x100cbbaf
call fcn.1002f116
jmp 0x100cbbaf
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, str.CountrysideObjectExchangeDlg
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.1002caed
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100cb83e
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100cb84e
push ebx
call fcn.101b4af1
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100cb8f0
push 0x8f4
push dword [ebp - 4]
call fcn.100066e3
push eax
call fcn.1001dd54
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x198
call fcn.101b5a70
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x101e3200
push dword [ebp - 0x10]
push 0x1022912b
mov ecx, 3
call fcn.100012d6
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100cb8c0
push ebx
call fcn.101b4af1
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.1001db98
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100cb8d9
push ebx
call fcn.101b4af1
add esp, 4
push dword [ebp - 4]
call fcn.100232e6
mov dword [0x1023cab3], 0
jmp 0x100cbbaf
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
call fcn.1002d892
mov ebx, dword [0x1023c25b]
call fcn.100011af
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x100cbb9d
mov ebx, dword [0x1023c25b]
call fcn.1000128f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100cb943
push 4
call fcn.101b4b03
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100cb956
push 1
call fcn.101b4b03
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov eax, 0x10229139
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call fcn.10031fe4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100cb987
push ebx
call fcn.101b4af1
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x100cba5c
mov ebx, dword [0x1023c25b]
call fcn.1000128f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100cb9b1
push 4
call fcn.101b4b03
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100cb9c4
push 1
call fcn.101b4b03
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 0x10229142
mov ecx, 2
call fcn.10001233
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.1001da13
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100cba0d
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [0x1023c25b]
call fcn.1000128f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100cba2d
push 4
call fcn.101b4b03
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100cba40
push 1
call fcn.101b4b03
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.1002fc1b
jmp 0x100cbbaf
mov ebx, dword [0x1023c25b]
call fcn.1000128f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100cba7c
push 4
call fcn.101b4b03
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100cba8f
push 1
call fcn.101b4b03
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov eax, 0x10229149
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call fcn.10031fe4
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100cbac0
push ebx
call fcn.101b4af1
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x100cbb95
mov ebx, dword [0x1023c25b]
call fcn.1000128f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100cbaea
push 4
call fcn.101b4b03
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100cbafd
push 1
call fcn.101b4b03
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 0x10229142
mov ecx, 2
call fcn.10001233
add esp, 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
call fcn.1001da13
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100cbb46
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [0x1023c25b]
call fcn.1000128f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100cbb66
push 4
call fcn.101b4b03
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100cbb79
push 1
call fcn.101b4b03
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
push dword [ebx]
call fcn.1002fc1b
jmp 0x100cbbaf
pop eax
pop ebx
pop ecx
jmp 0x100cb915
add esp, 0xc
call fcn.10036a3a
call fcn.1002bbd2
jmp 0x100cbbaf
mov esp, ebp
pop ebp
ret