Function at 0x413e70
Capabilities:
Get geographical location
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e19a
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x48c06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x14]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xd4], edx
mov edx, 4
cmp eax, edx
mov dword [ebp - 4], 0
mov esi, edx
mov dword [ebp - 0xb0], 0
cmovae esi, eax
movq qword [edi], xmm0
cmp ecx, edx
mov dword [ebp - 0xb8], edi
push ecx
cmovae edx, ecx
mov dword [ebp - 0x10c], edi
push esi
mov ecx, edi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xac], edx
mov dword [edi + 8], 0
call fcn.0041a8f0
mov dword [ebp - 4], 0
mov eax, 0x2aaaaaab
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
mov dword [ebp - 0xb0], 1
sar edx, 1
mov eax, edx
mov dword [ebp - 0x14], 0
shr eax, 0x1f
add eax, edx
je 0x413fe3
xor esi, esi
xor ecx, ecx
test ecx, ecx
mov edx, 0x23
mov eax, 0x2e
cmove eax, edx
push ecx
mov byte [ebp - 0xbd], al
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0xbd]
push eax
push dword [ebp - 0xac]
call fcn.0041aa30
mov ecx, dword [edi]
push eax
add ecx, esi
call fcn.0041a9a0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x413fb5
mov edx, dword [ebp - 0x30]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x413f96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414c66
push edx
push ecx
call fcn.0042f743
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [edi]
inc dword [ebp - 0x14]
mov eax, dword [eax + esi]
add esi, 0xc
mov byte [eax], 0x23
mov eax, 0x2aaaaaab
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
mov ecx, dword [ebp - 0x14]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x413f37
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
push 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.0042f713
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x2c]
mov dword [eax], ecx
mov esi, 1
mov dword [ebp - 4], 1
cmp dword [ebp - 0xac], esi
jbe 0x41407a
mov edi, dword [ebp - 0xac]
lea eax, [ebp - 0x100]
mov dword [ebp - 0x100], esi
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xfc], 1
call fcn.0041b0f0
inc esi
cmp esi, edi
jb 0x414050
mov edi, dword [ebp - 0xb8]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0xc4], bind
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
mov esi, dword [0x48f6b4]
mov eax, dword [esi]
mov dword [ebp - 0x9c], eax
cmp eax, esi
je 0x414264
lea edi, [eax + 0x10]
push edi
lea ecx, [ebp - 0x6c]
call fcn.004038a0
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 3
lea edx, [ebp - 0x6c]
cmp dword [ebp - 0x58], 0x10
mov dword [ebp - 0xe4], 0
cmovae edx, dword [ebp - 0x6c]
mov ecx, edx
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414103
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0xf4]
call fcn.00402250
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x38]
call fcn.0041a330
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xe0]
cmp edx, 0x10
jb 0x41416a
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414160
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414c66
push edx
push ecx
call fcn.0042f743
add esp, 8
push str.width
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x18], 1
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x14], 1
call fcn.00410d70
mov eax, dword [eax]
test eax, eax
je 0x414199
mov eax, dword [eax + 8]
test eax, eax
jne 0x41419e
mov eax, 0x47f195
lea ecx, [ebp - 0x18]
push ecx
push 0x4800d8
push eax
call fcn.00409eb0
add esp, 0xc
lea eax, [ebp - 0xcc]
lea ecx, [ebp - 0x54]
push str.height
push eax
call fcn.00410d70
mov eax, dword [eax]
test eax, eax
je 0x4141d1
mov eax, dword [eax + 8]
test eax, eax
jne 0x4141d6
mov eax, 0x47f195
lea ecx, [ebp - 0x14]
push ecx
push 0x4800d8
push eax
call fcn.00409eb0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
cmp dword [ebp - 0x14], ecx
cmovl ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0xc4]
mov byte [ebp - 4], 2
cmovge ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0x58]
mov edi, ecx
mov dword [ebp - 0xc4], edi
cmp edx, 0x10
jb 0x41423f
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414235
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414c66
push edx
push ecx
call fcn.0042f743
add esp, 8
lea ecx, [ebp - 0x9c]
call fcn.004084b0
mov eax, dword [ebp - 0x9c]
cmp eax, esi
jne 0x4140c2
mov dword [ebp - 0xc4], edi
mov edi, dword [ebp - 0xb8]
xor edx, edx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x1c], edx
je 0x414a84
cmp dword [ebp - 0x2c], 0
jne 0x414290
xor esi, esi
jmp 0x414295
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
mov edx, dword [ebp - 0x20]
mov eax, edx
mov ecx, dword [esi + 8]
and edx, 1
shr eax, 1
dec ecx
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xc8], eax
cmp ecx, dword [ebp - 0xd8]
jne 0x4142e3
cmp eax, dword [ebp - 0xdc]
jne 0x4142e3
mov edx, dword [ebp - 0x18]
inc edx
mov dword [ebp - 0x18], edx
cmp edx, 0x3e8
jae 0x414c47
jmp 0x4142e8
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xdc], eax
cmp eax, dword [ebp - 0xbc]
jae 0x414a68
cmp ecx, dword [ebp - 0xac]
jae 0x414a68
lea edx, [eax + eax*2]
mov eax, dword [edi]
shl edx, 2
mov dword [ebp - 0x14], edx
mov eax, dword [eax + edx]
mov al, byte [ecx + eax]
cmp al, 0x2e
jne 0x414a68
mov ecx, dword [ebp - 0x34]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x38]
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x414377
push esi
push 0x47f195
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
call fcn.00402250
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xf4]
or ecx, 2
jmp 0x41439b
call fcn.0045520c
xor edx, edx
mov ecx, dword [ebp - 0x38]
div esi
lea eax, [edx + edx*2]
lea eax, [ecx + eax*8]
push eax
lea ecx, [ebp - 0x68]
call fcn.004038a0
mov ecx, dword [ebp - 0xb0]
or ecx, 4
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0xb0], ecx
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 4], 6
test cl, 4
je 0x414432
mov edx, dword [ebp - 0x54]
and ecx, 0xfffffffb
mov dword [ebp - 0xb0], ecx
cmp edx, 0x10
jb 0x414420
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414410
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414c66
push edx
push ecx
call fcn.0042f743
mov ecx, dword [ebp - 0xb0]
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 7
test cl, 2
je 0x414499
mov edx, dword [ebp - 0xe0]
and ecx, 0xfffffffd
mov dword [ebp - 0xb0], ecx
cmp edx, 0x10
jb 0x41447e
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414474
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414c66
push edx
push ecx
call fcn.0042f743
add esp, 8
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x9c], 0
push eax
lea eax, [ebp - 0x9c]
mov ecx, 0x48f6b4
push eax
call fcn.0041b010
mov esi, dword [ebp - 0x9c]
cmp esi, dword [0x48f6b4]
je 0x41458c
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x4144d6
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x3c], 0x10
lea ecx, [ebp - 0x50]
mov eax, dword [esi + 0x20]
cmovae ecx, dword [ebp - 0x50]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x40]
mov edi, eax
cmp dword [ebp - 0x9c], edi
cmovb eax, dword [ebp - 0x9c]
sub eax, 4
mov dword [ebp - 0xa8], eax
jb 0x414524
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x414529
mov eax, dword [ebp - 0xa8]
add ecx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0xa8], eax
jae 0x414507
cmp eax, 0xfffffffc
je 0x414569
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x414562
cmp dword [ebp - 0xa8], 0xfffffffd
je 0x414569
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x414562
cmp dword [ebp - 0xa8], 0xfffffffe
je 0x414569
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x414562
cmp dword [ebp - 0xa8], 0xffffffff
je 0x414569
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x414569
sbb eax, eax
or eax, 1
jmp 0x41456b
xor eax, eax
test eax, eax
jne 0x414585
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x40]
cmp eax, ecx
jbe 0x414581
or eax, 0xffffffff
jmp 0x414585
sbb eax, eax
neg eax
shr eax, 0x1f
test al, al
je 0x4145c5
lea eax, [ebp - 0x50]
push ecx
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
push eax
push ecx
mov ecx, 0x48f6b4
call fcn.00421b30
push eax
add eax, 0x10
mov ecx, 0x48f6b4
push eax
push esi
lea eax, [ebp - 0xf8]
push eax
call fcn.00421bc0
mov esi, dword [ebp - 0xf8]
push str.width
lea eax, [ebp - 0x110]
mov dword [ebp - 0xa0], 1
push eax
lea ecx, [esi + 0x28]
mov dword [ebp - 0xa4], 1
call fcn.00410d70
mov eax, dword [eax]
test eax, eax
je 0x4145fa
mov eax, dword [eax + 8]
test eax, eax
jne 0x4145ff
mov eax, 0x47f195
lea ecx, [ebp - 0xa0]
push ecx
push 0x4800d8
push eax
call fcn.00409eb0
add esp, 0xc
lea eax, [ebp - 0xfc]
lea ecx, [esi + 0x28]
push str.height
push eax
call fcn.00410d70
mov eax, dword [eax]
test eax, eax
je 0x414635
mov eax, dword [eax + 8]
test eax, eax
jne 0x41463a
mov eax, 0x47f195
lea ecx, [ebp - 0xa4]
push ecx
push 0x4800d8
push eax
call fcn.00409eb0
add esp, 0xc
call fcn.0045520c
and eax, 0x80000003
jns 0x414660
dec eax
or eax, 0xfffffffc
inc eax
imul eax, eax, 0x5a
mov dword [ebp - 0xd0], eax
cmp eax, 0x5a
je 0x414683
cmp eax, 0x10e
je 0x414683
mov eax, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xa0]
jmp 0x41469b
mov eax, dword [ebp - 0xa0]
mov esi, dword [ebp - 0xa4]
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xb8]
mov dword [ebp - 0x9c], eax
lea ecx, [edx + esi]
mov dword [ebp - 0xcc], ecx
cmp ecx, dword [ebp - 0xac]
jae 0x4149f9
mov ecx, dword [ebp - 0xc8]
add ecx, eax
mov dword [ebp - 0xa8], ecx
cmp ecx, dword [ebp - 0xbc]
jae 0x4149f9
xor edx, edx
test esi, esi
js 0x41472c
cmp edx, esi
je 0x414703
mov eax, dword [edi]
add eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0xa0]
mov eax, dword [eax]
add eax, dword [ebp - 0xb4]
cmp byte [eax + edx], 0x2e
jne 0x4149f0
mov eax, dword [edi]
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + ecx*4]
add eax, dword [ebp - 0xb4]
cmp byte [eax + edx], 0x50
je 0x4149f0
mov ecx, dword [ebp - 0xa8]
inc edx
cmp edx, esi
jle 0x4146e4
mov eax, dword [ebp - 0x9c]
xor ecx, ecx
test eax, eax
js 0x414777
mov edx, dword [ebp - 0x14]
cmp ecx, eax
je 0x41474e
mov eax, dword [edi]
mov esi, dword [ebp - 0xb4]
mov eax, dword [eax + edx]
cmp byte [esi + eax], 0x2e
jne 0x4149f0
mov eax, dword [edi]
mov esi, dword [ebp - 0xcc]
mov eax, dword [eax + edx]
cmp byte [esi + eax], 0x50
mov esi, dword [ebp - 0xa0]
je 0x4149f0
mov eax, dword [ebp - 0x9c]
inc ecx
add edx, 0xc
cmp ecx, eax
jle 0x414737
mov edi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xa8]
cmp edi, eax
jg 0x4147ec
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x9c], edx
mov ecx, dword [ebp - 0xb4]
add esi, ecx
mov edx, dword [ebp - 0x9c]
cmp ecx, esi
jg 0x4147d8
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
add eax, edx
mov edx, dword [eax]
cmp byte [edx + ecx], 0x2e
jne 0x4147c7
cmp edi, dword [ebp - 0xa8]
je 0x4147c2
mov al, 0x50
cmp ecx, esi
jne 0x4147c4
mov al, 0x23
mov byte [edx + ecx], al
mov edx, dword [ebp - 0x9c]
inc ecx
cmp ecx, esi
jle 0x4147a2
mov eax, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xa0]
inc edi
add edx, 0xc
mov dword [ebp - 0x9c], edx
cmp edi, eax
jle 0x414790
mov edi, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xc8]
mov eax, dword [edi]
mov eax, dword [ecx + eax - 0xc]
mov byte [edx + eax - 1], 0x2a
mov eax, dword [edi]
mov ecx, dword [ecx + eax - 0xc]
mov eax, dword [ebp - 0xa0]
add ecx, edx
mov byte [ecx + eax], 0x2a
mov eax, dword [ebp - 0xa4]
add eax, esi
lea ecx, [eax + eax*2]
mov eax, dword [edi]
mov eax, dword [eax + ecx*4]
mov byte [eax + edx - 1], 0x2a
mov eax, dword [ebp - 0xa4]
add eax, esi
inc esi
lea ecx, [eax + eax*2]
mov eax, dword [edi]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0xa0]
add ecx, edx
mov byte [ecx + eax], 0x2a
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa4]
add eax, edx
add ecx, esi
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x14], ecx
mov esi, edx
cmp edx, eax
jg 0x41489a
mov edi, eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x104], ecx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x108], esi
call fcn.0041b0f0
mov ecx, dword [ebp - 0x14]
inc esi
cmp esi, edi
jle 0x414871
mov edi, dword [ebp - 0xb8]
push 0
push 0x47f195
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
call fcn.00402250
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 0x10
lea ecx, [ebp - 0x98]
push dword [ebp - 0x40]
cmovae eax, dword [ebp - 0x50]
push eax
call fcn.00402250
movd xmm0, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xb4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x98]
mulss xmm0, dword [0x480784]
push eax
movss dword [ebp - 0x70], xmm0
call fcn.0041a620
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x414994
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41498a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414c66
push edx
push ecx
call fcn.0042f743
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp edx, 0x10
jb 0x414a7a
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4149e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414c66
push edx
push ecx
call fcn.0042f743
add esp, 8
jmp 0x414a7a
mov ecx, dword [ebp - 0xc4]
inc ecx
jmp 0x414a0c
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xac]
inc ecx
sub eax, edx
cmp eax, ecx
jb 0x414a1c
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0xc8]
cmp eax, ecx
jae 0x414a2e
sub dword [ebp - 0x1c], 1
jne 0x414a2b
mov dword [ebp - 0x20], 0
jmp 0x414a2e
inc dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x414a7a
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414a5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414c66
push edx
push ecx
call fcn.0042f743
add esp, 8
jmp 0x414a7a
sub dword [ebp - 0x1c], 1
jne 0x414a77
mov dword [ebp - 0x20], 0
jmp 0x414a7a
inc dword [ebp - 0x20]
cmp dword [ebp - 0x1c], 0
jne 0x414286
mov ecx, dword [edi]
mov edx, ecx
mov esi, dword [ebp - 0xac]
mov eax, dword [ecx + 0xc]
cmp byte [eax + esi - 1], 0x2e
jne 0x414ab4
mov eax, dword [ecx]
mov byte [esi + eax - 1], 0x2e
dec esi
mov ecx, dword [edi]
mov edx, ecx
mov eax, dword [ecx + 0xc]
cmp byte [eax + esi - 1], 0x2e
je 0x414a98
mov dword [ebp - 0xac], esi
mov esi, dword [ebp - 0xbc]
lea eax, [esi + esi*2]
mov eax, dword [ecx + eax*4 - 0xc]
cmp byte [eax + 1], 0x2e
jne 0x414ae3
lea eax, [esi + esi*2]
mov eax, dword [edx + eax*4 - 0xc]
nop
mov byte [eax], 0x2e
dec esi
mov ecx, dword [edi]
lea eax, [esi + esi*2]
mov eax, dword [ecx + eax*4 - 0xc]
cmp byte [eax + 1], 0x2e
je 0x414ad0
mov edx, dword [edi + 4]
lea eax, [esi + esi*2]
lea esi, [ecx + eax*4]
cmp esi, edx
je 0x414afc
push edx
push esi
call fcn.0041b2c0
mov dword [edi + 4], esi
mov edx, esi
mov esi, dword [edi]
mov eax, 0x2aaaaaab
sub edx, esi
xor ecx, ecx
imul edx
mov dword [ebp - 0x18], ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x414b88
mov dword [ebp - 0xbc], ecx
mov eax, dword [ecx + esi]
add eax, dword [ebp - 0xac]
mov edx, dword [ecx + esi + 4]
mov edi, dword [ebp - 0xb8]
mov dword [ebp - 0xd4], eax
cmp eax, edx
je 0x414b5a
push 0
push edx
push eax
call fcn.004466c0
mov ecx, dword [ebp - 0xbc]
add esp, 0xc
mov eax, dword [ebp - 0xd4]
mov dword [ecx + esi + 4], eax
mov esi, dword [edi]
add ecx, 0xc
inc dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov dword [ebp - 0xbc], ecx
mov ecx, dword [edi + 4]
sub ecx, esi
imul ecx
mov ecx, dword [ebp - 0xbc]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x18], eax
jb 0x414b21
lea ecx, [ebp - 0x38]
call fcn.0041b180
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x414bb5
mov eax, dword [ebp - 0x20]
nop word [eax + eax]
sub ecx, 1
mov edx, 0
cmove eax, edx
test ecx, ecx
jne 0x414ba0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
test esi, esi
je 0x414bde
nop
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x414bd7
push 0x10
push eax
call fcn.0042f743
mov ecx, dword [ebp - 0x28]
add esp, 8
test esi, esi
jne 0x414bc0
mov esi, dword [ebp - 0x24]
test ecx, ecx
je 0x414c0d
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x414c03
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414c66
push esi
push ecx
call fcn.0042f743
add esp, 8
push 8
push dword [ebp - 0x2c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.0042f743
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f1ff
mov esp, ebp
pop ebp
ret 0x10
push str.the_area_generation_algorithm_is_looped
push str.CityGenerator
push 0x45
call fcn.00426650
mov ecx, eax
call fcn.004266c0
push 0
call fcn.004551f6
call fcn.0044b2e7
int3