Function at 0x100ced87
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 0x101e52e0
push dword [0x10242e20]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x100cedfe
mov eax, dword [0x1024305c]
mov dword [0x1024396c], eax
mov eax, dword [0x10243060]
mov dword [0x10243970], eax
mov dword [0x10243974], 0
mov eax, 0x1022abb3
push eax
mov ebx, dword [0x10242e20]
test ebx, ebx
je 0x100cedf8
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [0x10242e20], eax
cmp dword [0x10243978], 0
jne 0x100cee6e
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x10], eax
push dword [0x10243168]
push dword [ebp - 0x10]
call fcn.1000609b
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x157c
jge 0x100cee43
jmp 0x100cf280
call fcn.1003a545
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x10243168], eax
mov dword [0x10243978], 1
jmp 0x100cf280
call fcn.10031e74
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100cee85
jmp 0x100cf280
cmp dword [0x10243974], 0
jne 0x100ceede
mov eax, dword [0x1024305c]
cmp dword [0x1024396c], eax
je 0x100ceebb
mov eax, dword [0x10243060]
cmp dword [0x10243970], eax
je 0x100ceebb
mov eax, 1
jmp 0x100ceebd
xor eax, eax
test eax, eax
je 0x100ceed4
mov dword [0x10243974], 1
jmp 0x100cf280
call fcn.10032a93
jmp 0x100cf280
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.1003043d
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100cef0f
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100cef1f
push ebx
call fcn.101b9db6
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100cefc1
push 0x8f4
push dword [ebp - 4]
call fcn.10005f5e
push eax
call fcn.10005f87
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x198
call fcn.101bafd0
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x101e5496
push dword [ebp - 0x10]
push 0x1022fe9b
mov ecx, 3
call fcn.100020fe
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100cef91
push ebx
call fcn.101b9db6
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.10005da2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100cefaa
push ebx
call fcn.101b9db6
add esp, 4
push dword [ebp - 4]
call fcn.10006bf2
mov dword [0x10243978], 0
jmp 0x100cf280
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
call fcn.100311e2
mov ebx, dword [0x10243120]
call fcn.10002062
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 0x100cf26e
mov ebx, dword [0x10243120]
call fcn.1000112f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100cf014
push 4
call fcn.101b9dc8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100cf027
push 1
call fcn.101b9dc8
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov eax, 0x1022fea9
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call fcn.100359a2
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100cf058
push ebx
call fcn.101b9db6
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x100cf12d
mov ebx, dword [0x10243120]
call fcn.1000112f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100cf082
push 4
call fcn.101b9dc8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100cf095
push 1
call fcn.101b9dc8
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 0x1022feb2
mov ecx, 2
call fcn.1000207b
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.10006c93
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100cf0de
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [0x10243120]
call fcn.1000112f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100cf0fe
push 4
call fcn.101b9dc8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100cf111
push 1
call fcn.101b9dc8
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.100335cf
jmp 0x100cf280
mov ebx, dword [0x10243120]
call fcn.1000112f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100cf14d
push 4
call fcn.101b9dc8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100cf160
push 1
call fcn.101b9dc8
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov eax, 0x1022feb9
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call fcn.100359a2
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100cf191
push ebx
call fcn.101b9db6
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x100cf266
mov ebx, dword [0x10243120]
call fcn.1000112f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100cf1bb
push 4
call fcn.101b9dc8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100cf1ce
push 1
call fcn.101b9dc8
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 0x1022feb2
mov ecx, 2
call fcn.1000207b
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.10006c93
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100cf217
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [0x10243120]
call fcn.1000112f
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x100cf237
push 4
call fcn.101b9dc8
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x100cf24a
push 1
call fcn.101b9dc8
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.100335cf
jmp 0x100cf280
pop eax
pop ebx
pop ecx
jmp 0x100cefe6
add esp, 0xc
call fcn.1003a545
call fcn.1002f522
jmp 0x100cf280
mov esp, ebp
pop ebp
ret