Function at 0x4ffbc2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x7286bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x374], ebx
call fcn.0047a3ff
mov dword [ebp - 0x36c], eax
test eax, eax
je 0x500d78
xor al, al
lea ecx, [ebp - 0x210]
xor esi, esi
mov dword [ebp - 0x37c], eax
and dword [ebp - 0x3a4], esi
xor edi, edi
mov dword [ebp - 0x3ac], edi
mov dword [ebp - 0x3a8], esi
mov byte [ebp - 0x38c], al
call fcn.00425081
push esi
lea ecx, [ebp - 0x3c4]
call fcn.0042c05a
mov eax, dword [ebp + 0x74]
add eax, 0xfffffff0
push eax
call fcn.00418dea
mov dword [esp], 0xfde9
mov dword [ebp - 0x3dc], eax
lea ecx, [eax + 0x10]
push ecx
call fcn.00507e2a
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x19c]
call fcn.0041c804
push 1
lea eax, [ebp - 0x3c4]
push eax
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x210]
call fcn.004288d9
test al, al
je 0x500462
lea eax, [ebp - 0x2c]
push eax
push str.dialStyle
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [eax + 0x14], 0x10
jb 0x4ffca7
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x35c]
push eax
call fcn.004b2a76
add esp, 0xc
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.0041f932
mov eax, dword [ebp - 0x35c]
cmp dword [eax - 0xc], esi
jne 0x4ffce3
push str.analog
lea ecx, [ebp - 0x35c]
call fcn.004195af
push str.digital
lea ecx, [ebp - 0x35c]
call fcn.004229b4
neg eax
lea ecx, [ebp - 0x3c4]
push str.timezones
sbb al, al
inc al
mov dword [ebp - 0x37c], eax
mov byte [ebp - 0x38c], al
call fcn.0042c66e
mov ecx, eax
call fcn.0042f364
xor ebx, ebx
mov dword [ebp - 0x3d0], eax
test eax, eax
je 0x50044e
lea ecx, [ebp - 0x8c]
call fcn.0044730e
lea eax, [ebp - 0x2c]
mov edi, str.timezones
push eax
push str.locatecode
push ebx
push edi
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [eax + 0x14], 0x10
jb 0x4ffd6f
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x388]
push eax
call fcn.004b2a76
add esp, 0xc
lea ecx, [ebp - 0x8c]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x388]
lea ecx, [ecx - 0x10]
call fcn.00419521
xor esi, esi
lea ecx, [ebp - 0x2c]
push esi
push 1
call fcn.0041f932
lea eax, [ebp - 0x2c]
push eax
push str.locatename
push ebx
push edi
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [eax + 0x14], 0x10
jb 0x4ffdde
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x384]
push eax
call fcn.004b2a76
add esp, 0xc
lea ecx, [ebp - 0x88]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x384]
lea ecx, [ecx - 0x10]
call fcn.00419521
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f932
lea eax, [ebp - 0x2c]
push eax
push str.locatenameen
push ebx
push edi
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [eax + 0x14], 0x10
jb 0x4ffe4b
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x380]
push eax
call fcn.004b2a76
add esp, 0xc
lea ecx, [ebp - 0x84]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x380]
lea ecx, [ecx - 0x10]
call fcn.00419521
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f932
lea eax, [ebp - 0x2c]
push eax
push str.cityname
push ebx
push edi
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [eax + 0x14], 0x10
jb 0x4ffeb8
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x364]
push eax
call fcn.004b2a76
add esp, 0xc
lea ecx, [ebp - 0x80]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x364]
lea ecx, [ecx - 0x10]
call fcn.00419521
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f932
lea eax, [ebp - 0x2c]
push eax
push str.citynameen
push ebx
push edi
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [eax + 0x14], 0x10
jb 0x4fff22
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x370]
push eax
call fcn.004b2a76
add esp, 0xc
lea ecx, [ebp - 0x7c]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x370]
lea ecx, [ecx - 0x10]
call fcn.00419521
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f932
lea eax, [ebp - 0x2c]
push eax
push str.latitude
push ebx
push edi
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [eax + 0x14], 0x10
jb 0x4fff8c
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x360]
push eax
call fcn.004b2a76
add esp, 0xc
lea ecx, [ebp - 0x78]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x360]
lea ecx, [ecx - 0x10]
call fcn.00419521
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f932
lea eax, [ebp - 0x2c]
push eax
push str.longitude
push ebx
push edi
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [eax + 0x14], 0x10
jb 0x4ffff6
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x368]
push eax
call fcn.004b2a76
add esp, 0xc
lea ecx, [ebp - 0x74]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x368]
lea ecx, [ecx - 0x10]
call fcn.00419521
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f932
lea eax, [ebp - 0x2c]
push eax
push str.timezoneid
push ebx
push edi
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [eax + 0x14], 0x10
jb 0x500060
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x3d8]
push eax
call fcn.004b2a76
add esp, 0xc
lea ecx, [ebp - 0x70]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x3d8]
lea ecx, [ecx - 0x10]
call fcn.00419521
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f932
lea eax, [ebp - 0x2c]
push eax
push str.utcName
push ebx
push edi
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [eax + 0x14], 0x10
jb 0x5000ca
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.004b2a76
add esp, 0xc
lea ecx, [ebp - 0x68]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x3ec]
lea ecx, [ecx - 0x10]
call fcn.00419521
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f932
lea eax, [ebp - 0x2c]
push eax
push str.displayName
push ebx
push edi
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [eax + 0x14], 0x10
jb 0x500134
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x3e8]
push eax
call fcn.004b2a76
add esp, 0xc
lea ecx, [ebp - 0x64]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x3e8]
lea ecx, [ecx - 0x10]
call fcn.00419521
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f932
lea eax, [ebp - 0x2c]
push eax
push str.latitudeStr
push ebx
push edi
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [eax + 0x14], 0x10
jb 0x50019e
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x3e4]
push eax
call fcn.004b2a76
add esp, 0xc
lea ecx, [ebp - 0x60]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x3e4]
lea ecx, [ecx - 0x10]
call fcn.00419521
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f932
lea eax, [ebp - 0x2c]
push eax
push str.longitudeStr
push ebx
push edi
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042d5fe
cmp dword [eax + 0x14], 0x10
jb 0x500208
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.004b2a76
add esp, 0xc
lea ecx, [ebp - 0x5c]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x3e0]
lea ecx, [ecx - 0x10]
call fcn.00419521
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f932
mov esi, str.zoneNum
lea ecx, [ebp - 0x3c4]
push esi
push ebx
push edi
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042e57b
test al, al
je 0x500291
push esi
push ebx
push edi
lea ecx, [ebp - 0x3c4]
call fcn.0042c66e
mov ecx, eax
call fcn.0042c551
mov ecx, eax
call fcn.0042c66e
mov ecx, eax
call fcn.0042d4eb
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x70]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
pop ecx
push eax
call fcn.0048c1d4
mov eax, dword [ebp - 0x10]
add esp, 4
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x418]
pop ecx
push eax
call fcn.0048b7c1
pop ecx
pop ecx
push 0xb
mov esi, eax
lea edi, [ebp - 0x58]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x64]
cmp dword [eax - 0xc], 0
jne 0x500410
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00418bac
lea eax, [ebp - 0x88]
push eax
push 0x683cd4
lea eax, [ebp - 0x80]
push eax
push 0x68b010
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x390]
push eax
call fcn.004227e4
add esp, 0xc
push eax
lea eax, [ebp - 0x3a0]
push eax
call fcn.004227ad
add esp, 0xc
push eax
lea eax, [ebp - 0x398]
push eax
call fcn.004227e4
add esp, 0xc
push eax
lea eax, [ebp - 0x39c]
push eax
call fcn.004227ad
add esp, 0xc
lea ecx, [ebp - 0x64]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x39c]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x398]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x3a0]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x390]
add ecx, 0xfffffff0
call fcn.00419521
mov eax, dword [ebp - 0x78]
push 1
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x394]
pop ecx
push eax
call fcn.005113fb
add esp, 0xc
lea ecx, [ebp - 0x60]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x394]
add ecx, 0xfffffff0
call fcn.00419521
mov eax, dword [ebp - 0x74]
push 0
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00418dea
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x3c8]
pop ecx
push eax
call fcn.005113fb
add esp, 0xc
lea ecx, [ebp - 0x5c]
push eax
call fcn.00418bac
mov ecx, dword [ebp - 0x3c8]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x3ac]
call fcn.0051309f
lea ecx, [ebp - 0x10]
call fcn.00449427
lea ecx, [ebp - 0x8c]
call fcn.0044952f
inc ebx
cmp ebx, dword [ebp - 0x3d0]
jb 0x4ffd2c
mov esi, dword [ebp - 0x3a8]
mov edi, dword [ebp - 0x3ac]
mov ecx, dword [ebp - 0x35c]
add ecx, 0xfffffff0
call fcn.00419521
mov ebx, dword [ebp - 0x374]
sub esi, edi
mov eax, esi
push 0x60
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x500687
lea ecx, [ebp - 0x138]
call fcn.0044730e
push 0x6c1408
lea ecx, [ebp - 0x138]
call fcn.004195af
push 0x6affc8
lea ecx, [ebp - 0x134]
call fcn.004195af
push str.China
lea ecx, [ebp - 0x130]
call fcn.004195af
push 0x6b1320
lea ecx, [ebp - 0x12c]
call fcn.004195af
push str.Beijing
lea ecx, [ebp - 0x128]
call fcn.004195af
push str.39.916668
lea ecx, [ebp - 0x124]
call fcn.004195af
push str.116.416672
lea ecx, [ebp - 0x120]
call fcn.004195af
push str.Asia_Shanghai
lea ecx, [ebp - 0x11c]
call fcn.004195af
push 0x6957e0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x118], 0x320
call fcn.004195af
push str.UTC08:00
lea ecx, [ebp - 0x110]
call fcn.004195af
push 0x6c1494
lea ecx, [ebp - 0x10c]
call fcn.004195af
push 0x6c14a4
lea ecx, [ebp - 0x108]
call fcn.004195af
push ecx
mov ecx, esp
push str.China_Standard_Time
call fcn.004177e7
lea eax, [ebp - 0x418]
push eax
call fcn.0048b7c1
pop ecx
pop ecx
push 0xb
pop ecx
mov esi, eax
lea edi, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x3ac]
call fcn.0051309f
lea ecx, [ebp - 0x8c]
call fcn.0044730e
push 0x6c14b8
lea ecx, [ebp - 0x8c]
call fcn.004195af
push 0x6c14c0
lea ecx, [ebp - 0x88]
call fcn.004195af
push str.U.S.A.
lea ecx, [ebp - 0x84]
call fcn.004195af
push 0x6c14d8
lea ecx, [ebp - 0x80]
call fcn.004195af
push str.New_York
lea ecx, [ebp - 0x7c]
call fcn.004195af
push str.40.716667
lea ecx, [ebp - 0x78]
call fcn.004195af
push str._74.01667
lea ecx, [ebp - 0x74]
call fcn.004195af
push str.America_New_York
lea ecx, [ebp - 0x70]
call fcn.004195af
push 0x6935e8
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x6c], 0xfffffe0c
call fcn.004195af
push str.UTC_05:00
lea ecx, [ebp - 0x64]
call fcn.004195af
push 0x6c1560
lea ecx, [ebp - 0x60]
call fcn.004195af
push 0x6c1570
lea ecx, [ebp - 0x5c]
call fcn.004195af
push ecx
mov ecx, esp
push str.Eastern_Standard_Time
call fcn.004177e7
lea eax, [ebp - 0x418]
push eax
call fcn.0048b7c1
pop ecx
pop ecx
push 0xb
pop ecx
mov esi, eax
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x3ac]
call fcn.0051309f
lea ecx, [ebp - 0x8c]
call fcn.0044952f
lea ecx, [ebp - 0x138]
call fcn.0044952f
lea eax, [ebx + 0x98]
lea ecx, [ebp - 0x3ac]
mov dword [ebp - 0x368], eax
push ecx
mov ecx, eax
call fcn.0044aab8
mov ecx, dword [ebp - 0x36c]
push str.card_worldclock_list
lea ecx, [ecx + 8]
call fcn.005d83b1
mov dword [ebp - 0x388], eax
test eax, eax
je 0x500d3d
lea esi, [eax - 8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xc]
lea edi, [eax - 1]
test edi, edi
js 0x500716
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x16c]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00418dea
pop ecx
mov dword [ebp - 0x374], eax
cmp dword [eax + 4], 0
je 0x50070a
mov edx, dword [esi]
mov ecx, esi
push edi
call dword [edx + 0x1c]
mov eax, dword [ebp - 0x374]
mov ecx, eax
call fcn.00419521
sub edi, 1
jns 0x5006d3
mov edi, dword [ebp - 0x36c]
add edi, 8
push str.card_worldclock_add_ver
mov ecx, edi
call fcn.005d83b1
test eax, eax
je 0x50073f
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0x80]
call dword [edx + 0x180]
mov ecx, dword [ebp - 0x368]
push 0x60
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
pop ecx
cdq
idiv ecx
push 0x5f
mov esi, eax
mov dword [ebp - 0x36c], esi
pop eax
test esi, esi
jle 0x500857
add ecx, 0x31
cmp byte [ebp - 0x37c], 0
cmovne ecx, eax
push ecx
push ecx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movsd qword [ebp - 0x378], xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6c26c0]
movsd qword [esp], xmm0
call fcn.00641eb0
cmp byte [ebp + 0x80], 0
fmul qword [ebp - 0x378]
pop ecx
pop ecx
fstp qword [ebp - 0x3d4]
cvttsd2si edx, qword [ebp - 0x3d4]
mov dword [ebp - 0x364], edx
je 0x5007fc
lea eax, [esi + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
push ecx
push ecx
divsd xmm0, qword [0x6c26c0]
movsd qword [esp], xmm0
call fcn.00641eb0
fmul qword [ebp - 0x378]
pop ecx
pop ecx
fstp qword [ebp - 0x378]
cvttsd2si edx, qword [ebp - 0x378]
mov dword [ebp - 0x364], edx
mov ecx, dword [ebp - 0x388]
push edx
mov eax, dword [ecx]
call dword [eax + 0xf8]
push str.card_worldclock
mov ecx, edi
call fcn.005d83b1
test eax, eax
je 0x500835
mov edx, dword [ebp - 0x364]
mov ecx, eax
mov esi, dword [eax]
add edx, 0x50
push edx
call dword [esi + 0xf8]
mov esi, dword [ebp - 0x36c]
push str.card_worldclock_type_number
mov ecx, edi
call fcn.005d83b1
test eax, eax
je 0x500857
mov edx, dword [eax]
mov ecx, eax
push 0
push dword [ebp - 0x38c]
call dword [edx + 0x3b4]
lea eax, [ebp - 0xd8]
push eax
call dword [0x6801d0]
lea eax, [ebx - 0x3ec]
neg ebx
sbb ebx, ebx
and ebx, eax
test esi, esi
je 0x500d3d
mov ecx, ebx
lea eax, [ebx + 0x18]
neg ecx
push 0x5f
sbb ecx, ecx
and ecx, eax
cmp byte [ebp - 0x37c], 0
lea eax, [ebx + 0x20]
mov dword [ebp - 0x3d0], ecx
mov dword [ebp - 0x374], eax
mov eax, 0x91
pop ecx
cmovne eax, ecx
xor ebx, ebx
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x364], ebx
push 0xac
lea eax, [ebp - 0x184]
push 0
push eax
call fcn.0060b7a0
mov eax, dword [ebp - 0x368]
lea edi, [ebp - 0xec]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [ebx + ecx + 0x34]
lea esi, [ecx + 0x50]
mov dword [ebp - 0x184], eax
add esi, ebx
mov eax, dword [ebx + ecx + 0x3c]
mov dword [ebp - 0xdc], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + ecx + 0x38]
lea esi, [ecx + 0x40]
add esi, ebx
mov dword [ebp - 0x130], eax
lea edi, [ebp - 0x140]
lea eax, [ebp - 0x24]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [0x6801e8]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x184]
push eax
call dword [0x6801d8]
lea ecx, [ebp - 0x358]
call fcn.005f9ef3
xor esi, esi
push esi
push esi
push dword [ebp - 0x374]
push dword [ebp - 0x3d0]
push esi
push ecx
mov eax, esp
lea ecx, [ebp - 0x358]
mov dword [eax], str.IDX_Card_Worldclock_Item
call fcn.005faa05
test eax, eax
je 0x500962
lea esi, [eax - 8]
call fcn.00418f81
push eax
lea ecx, [ebp - 0x370]
call fcn.0041775d
mov ecx, dword [ebp - 0x368]
mov eax, dword [ecx]
push dword [ebx + eax + 0x20]
push dword [ebx + eax + 0xc]
push dword [ebx + eax + 0x1c]
lea eax, [ebp - 0x370]
push str._s_s_d
push eax
call fcn.0041a1e9
add esp, 0x14
lea ebx, [esi + 8]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x370]
call dword [eax + 0x170]
push str.card_worldclock_item_date
mov ecx, ebx
call fcn.005d83b1
mov edi, eax
mov ecx, ebx
push str.card_worldclock_item_clock
mov dword [ebp - 0x3c8], edi
call fcn.005d83b1
mov esi, eax
mov ecx, ebx
push str.card_worldclock_item_clock_digital
mov dword [ebp - 0x360], esi
call fcn.005d83b1
mov dword [ebp - 0x394], eax
test edi, edi
je 0x500abf
call fcn.00418f81
push eax
lea ecx, [ebp - 0x380]
call fcn.0041775d
call fcn.00418f81
push eax
lea ecx, [ebp - 0x384]
call fcn.0041775d
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x12]
push eax
lea eax, [ebp - 0x380]
push 0x6c13dc
push eax
call fcn.0041a1e9
movzx eax, word [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
lea eax, [ebp - 0x384]
push str._02d:_02d:_02d
push eax
call fcn.0041a1e9
mov eax, dword [edi]
add esp, 0x2c
mov edi, dword [ebp - 0x380]
mov ecx, dword [ebp - 0x3c8]
push edi
call dword [eax + 0x3c]
mov eax, dword [esi]
mov esi, dword [ebp - 0x384]
mov ecx, dword [ebp - 0x360]
push esi
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x394]
push esi
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
push 0xb
pop ecx
add eax, 0xfffffffa
cmp ax, cx
mov ecx, dword [ebp - 0x360]
ja 0x500aa5
push str.resIDB_worldtime_clock_scaletrue
jmp 0x500aaa
push str.resIDB_worldtime_clock_night_scaletrue
call fcn.005db778
lea ecx, [esi - 0x10]
call fcn.00419521
lea ecx, [edi - 0x10]
call fcn.00419521
push str.card_worldclock_item_city
mov ecx, ebx
call fcn.005d83b1
mov dword [ebp - 0x360], eax
test eax, eax
je 0x500c37
lea ecx, [ebp - 0x444]
call fcn.00440206
movzx ecx, word [ebp - 8]
movzx eax, word [ebp - 0xa]
push ecx
push eax
movzx eax, word [ebp - 0xc]
lea ecx, [ebp - 0x418]
push eax
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
call fcn.0043fad4
push 6
sub esp, 0x2c
lea esi, [ebp - 0x444]
push 0xb
pop eax
mov ecx, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x418]
call fcn.00461ecb
fstp qword [ebp - 0x3cc]
cvttsd2si esi, qword [ebp - 0x3cc]
call fcn.00418f81
push eax
lea ecx, [ebp - 0x35c]
call fcn.0041775d
test esi, esi
jle 0x500b6c
mov eax, esi
mov ecx, 0xe10
cdq
idiv ecx
push 0x3c
mov ecx, eax
mov eax, edx
pop esi
cdq
idiv esi
push eax
push ecx
push str.__02d:_02d_
jmp 0x500b97
jns 0x500ba6
mov eax, esi
mov ecx, 0xe10
cdq
idiv ecx
push 0x3c
mov esi, eax
mov eax, edx
pop ecx
cdq
idiv ecx
push eax
call fcn.0063d3c2
pop ecx
push eax
push esi
call fcn.0063d3c2
pop ecx
push eax
push str.___02d:_02d_
lea eax, [ebp - 0x35c]
push eax
call fcn.0041a1e9
add esp, 0x10
mov edi, dword [ebp - 0x368]
lea ecx, [ebp - 0x35c]
push ecx
mov eax, dword [edi]
add eax, 0xc
add eax, dword [ebp - 0x364]
push eax
lea eax, [ebp - 0x390]
push eax
call fcn.004227ad
mov ecx, dword [ebp - 0x360]
add esp, 0xc
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 0x3c]
mov ecx, dword [ebp - 0x390]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov eax, dword [edi]
lea ecx, [ebp - 0x35c]
add eax, 0xc
add eax, dword [ebp - 0x364]
push ecx
push eax
lea eax, [ebp - 0x3a0]
push eax
call fcn.004227ad
mov ecx, dword [ebp - 0x360]
add esp, 0xc
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 0x150]
mov ecx, dword [ebp - 0x3a0]
lea ecx, [ecx - 0x10]
call fcn.00419521
mov ecx, dword [ebp - 0x35c]
lea ecx, [ecx - 0x10]
call fcn.00419521
push str.card_worldclock_item_del
mov ecx, ebx
call fcn.005d83b1
mov esi, eax
test esi, esi
je 0x500c95
cmp byte [ebp + 0x80], 0
mov ecx, esi
je 0x500c60
mov edx, dword [esi]
push 1
call dword [edx + 0x180]
jmp 0x500c6a
mov eax, dword [esi]
push 0
call dword [eax + 0x180]
push dword [ebp + 8]
lea eax, [ebp - 0x398]
push eax
call fcn.004b576d
mov edx, dword [esi]
pop ecx
pop ecx
push dword [eax]
mov ecx, esi
call dword [edx + 0x170]
mov ecx, dword [ebp - 0x398]
lea ecx, [ecx - 0x10]
call fcn.00419521
push str.card_worldclock_item_clock
mov ecx, ebx
call fcn.005d83b1
test eax, eax
je 0x500cbc
mov cl, byte [ebp - 0x37c]
mov edx, dword [eax]
xor cl, 1
movzx ecx, cl
push ecx
mov ecx, eax
call dword [edx + 0x180]
push str.card_worldclock_item_clock_digital
mov ecx, ebx
call fcn.005d83b1
test eax, eax
je 0x500cdc
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x38c]
call dword [edx + 0x180]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x39c]
call dword [eax + 0xf8]
mov edi, dword [ebp - 0x388]
mov esi, dword [edi - 8]
lea ecx, [edi - 8]
mov eax, esi
call dword [eax + 0xc]
dec eax
lea ecx, [edi - 8]
push eax
push ebx
call dword [esi + 0x14]
mov ecx, dword [ebp - 0x370]
lea ecx, [ecx - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x358]
call fcn.005c29b5
mov ebx, dword [ebp - 0x364]
push 0x60
pop eax
add ebx, eax
sub dword [ebp - 0x36c], 1
mov dword [ebp - 0x364], ebx
jne 0x5008b2
push 0
push 1
lea ecx, [ebp - 0x19c]
call fcn.0041f932
mov ecx, dword [ebp - 0x3dc]
call fcn.00419521
lea ecx, [ebp - 0x3c4]
call fcn.0042c25f
lea ecx, [ebp - 0x210]
call fcn.00448a4c
lea ecx, [ebp - 0x3ac]
call fcn.0050edcf
lea ecx, [ebp + 8]
call fcn.0044947a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00609802
mov esp, ebp
pop ebp
ret 0x7c