Function at 0x4c6de0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x644e66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov al, byte [ebx + 0x322]
mov edi, ecx
test al, al
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
jne 0x4c6ed2
mov al, byte [ebp + 0x10]
test al, al
je 0x4c6fce
mov eax, dword [edi + 0x8c]
push 0
push 9
push 0x110a
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
je 0x4c6fce
mov eax, dword [edi + 0x8c]
push esi
push 3
push 0x110a
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x8c]
mov edx, dword [ecx + 0x44]
cmp esi, edx
je 0x4c6f15
cmp esi, dword [ecx + 0x3c]
je 0x4c6f15
cmp esi, dword [ecx + 0x40]
je 0x4c6f15
cmp eax, edx
je 0x4c6f15
cmp eax, dword [ecx + 0x3c]
je 0x4c6f15
cmp eax, dword [ecx + 0x40]
je 0x4c6f15
mov edx, dword [ecx + 0x48]
cmp esi, edx
jne 0x4c6eb3
mov eax, dword [ebx + 0xa88]
test eax, eax
jg 0x4c6fce
jmp 0x4c6ecb
cmp eax, edx
jne 0x4c6ee8
push esi
call fcn.00620cd9
mov ecx, dword [ebx + 0xa88]
cmp ecx, eax
je 0x4c6fce
mov byte [ebx + 0xaa0], 1
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ecx + 0x4c]
cmp esi, edx
jne 0x4c6eff
mov eax, dword [ebx + 0x4a4]
test eax, eax
jg 0x4c6fce
jmp 0x4c6ecb
cmp eax, edx
jne 0x4c6fce
push esi
call fcn.00620cd9
mov ecx, dword [ebx + 0x4a4]
jmp 0x4c6ec3
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x40], ax
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 1
push edx
push esi
call fcn.004c9d80
mov ecx, dword [edi + 0x8c]
push esi
mov byte [ebp + 0x13], al
call fcn.004c9cc0
mov dl, byte [ebp + 0x13]
mov dword [ebp - 0x34], eax
test dl, dl
je 0x4c6f66
mov ecx, dword [edi + 0x8c]
push esi
call fcn.00620cd9
mov edx, dword [ebx + 0x300]
xor ecx, ecx
cmp edx, eax
mov dl, byte [ebp + 0x13]
sete cl
jmp 0x4c6f68
xor ecx, ecx
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4c6fc2
mov esi, 3
cmp eax, esi
jne 0x4c6f7e
test ecx, ecx
jne 0x4c6fc2
jmp 0x4c6faa
cmp eax, 1
jne 0x4c6f95
cmp dword [ebx + 0x8fc], esi
je 0x4c6faa
test dl, dl
je 0x4c6fc2
test ecx, ecx
jne 0x4c6fc2
jmp 0x4c6faa
cmp eax, 2
jne 0x4c6faa
cmp dword [ebx + 0x8fc], esi
jne 0x4c6faa
test dl, dl
je 0x4c6fc2
test ecx, ecx
jne 0x4c6fc2
lea ecx, [ebp - 0x44]
mov byte [ebx + 0xaa0], 1
mov byte [ebp - 4], 0
call fcn.00401070
jmp 0x4c6ed2
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, 9
xor eax, eax
lea edi, [ebp - 0x80]
xor esi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x4a0]
mov dword [ebp - 0x84], 5
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
mov word [ebp - 0x4c], si
lea eax, [ebp - 0x50]
mov ecx, ebx
push eax
mov byte [ebp - 4], 2
call fcn.005d7b20
mov eax, dword [ebp - 0x50]
cmp eax, esi
je 0x4c701a
mov dword [ebp - 0x70], eax
jmp 0x4c7023
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x70], ecx
push eax
call fcn.00609a4e
add esp, 4
inc eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x84]
mov dword [ebp - 0x68], 0
mov ecx, dword [eax + 0x1c]
push edx
push 0
push 0x104d
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebx + 0x60]
mov dword [ebp - 0x24], eax
test esi, esi
je 0x4c711b
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4c711b
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
mov word [ebp - 0x18], di
mov dl, byte [ebx + 0x32a]
lea ecx, [ebp - 0x1c]
neg dl
sbb edx, edx
mov byte [ebp - 4], 3
and edx, 0xfde9
mov dword [ebp + 0x10], edx
call fcn.00401070
cmp esi, edi
je 0x4c70ef
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4c70ef
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push eax
push 0xffffffffffffffff
push esi
push eax
mov eax, dword [ebp + 0x10]
push eax
call edi
test eax, eax
mov dword [ebp - 0x14], eax
je 0x4c70ef
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4c70f6
mov edx, dword [ebp - 0x14]
push edx
push eax
mov eax, dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push 0
push eax
call edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4c70f9
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push eax
push ecx
mov eax, dword [edx + 0x1c]
push 8
push eax
call fcn.00455400
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [ebx + 0x4a8]
mov ecx, dword [ebx + 0x4ac]
mov edx, eax
or edx, ecx
jne 0x4c7521
mov edx, dword [ebx + 0x110]
mov esi, dword [ebx + 0x114]
or edx, esi
jne 0x4c7521
mov eax, dword [ebx + 0x44]
cmp eax, 4
je 0x4c7160
cmp eax, 5
je 0x4c7160
mov eax, dword [ebx + 0x31c]
test eax, eax
je 0x4c7988
fld qword [ebx + 0x398]
fcomp qword [0x659b60]
fnstsw ax
test ah, 0x41
je 0x4c7191
mov eax, dword [ebx + 0x3cc]
test eax, eax
jl 0x4c7988
jg 0x4c7191
mov eax, dword [ebx + 0x3c8]
test eax, eax
jbe 0x4c7988
fld qword [ebx + 0x398]
fcomp qword [0x659b60]
fnstsw ax
test ah, 0x41
jne 0x4c71b5
fld qword [ebx + 0x398]
call fcn.0060a154
mov esi, eax
mov edi, edx
jmp 0x4c71c1
mov esi, dword [ebx + 0x3c8]
mov edi, dword [ebx + 0x3cc]
test edi, edi
jl 0x4c72be
jg 0x4c71d3
test esi, esi
jbe 0x4c72be
mov dword [ebp - 0x34], 0x659b68
push 0
push 0x3c
push edi
push esi
mov byte [ebp - 4], 6
call fcn.0060bb90
mov ebx, eax
mov ecx, esi
cdq
sub ecx, eax
mov eax, edi
sbb eax, edx
push 0
push 0x3c
push eax
push ecx
call fcn.0060bae0
push 0
push 0x3c
push edx
push eax
call fcn.0060bb90
push 0
push 0xe10
push edi
push esi
mov dword [ebp + 0x10], eax
call fcn.0060bae0
test edx, edx
jg 0x4c7281
jl 0x4c7228
cmp eax, 0x2710
ja 0x4c7281
test eax, eax
je 0x4c7249
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x6fd9d0]
push ecx
push eax
lea eax, [ebp - 0x108]
push edx
push eax
call fcn.0060a593
add esp, 0x10
jmp 0x4c7295
mov eax, dword [ebp + 0x10]
push ebx
test eax, eax
je 0x4c726a
mov ecx, dword [0x6fd9cc]
push eax
lea edx, [ebp - 0x108]
push ecx
push edx
call fcn.0060a593
add esp, 0x10
jmp 0x4c7295
mov eax, dword [0x6fd9c8]
lea ecx, [ebp - 0x108]
push eax
push ecx
call fcn.0060a593
add esp, 0xc
jmp 0x4c7295
lea edx, [ebp - 0x108]
push 0x6c9030
push edx
call fcn.0060a593
add esp, 8
mov eax, dword [0x6fca90]
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x108]
push ecx
mov ecx, dword [eax + 0x1c]
push 3
push edx
push ecx
call fcn.00455450
mov ebx, dword [ebp + 8]
add esp, 0x14
mov byte [ebp - 4], 2
cmp dword [ebx + 0x8fc], 3
je 0x4c7988
fld qword [ebx + 0x4c0]
fcomp qword [0x659b60]
fnstsw ax
test ah, 0x41
jne 0x4c7988
lea edx, [ebp - 0x18]
push 8
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4c731c
mov edi, 0x6cd6b0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x18]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
fld qword [ebx + 0x398]
fcomp qword [0x659b60]
fnstsw ax
test ah, 0x41
jne 0x4c7337
fld qword [ebx + 0x398]
jmp 0x4c733d
fild qword [ebx + 0x3c8]
fld qword [ebx + 0x4c0]
fmul qword [0x65b4d8]
fdivrp st(1)
fcom qword [0x65b4c8]
fnstsw ax
test ah, 1
je 0x4c73b1
fld st(0)
call fcn.0060a154
mov esi, eax
mov dword [ebp + 0x10], esi
fild dword [ebp + 0x10]
fsubr st(1)
fmul qword [0x65b4d8]
call fcn.0060a154
lea ecx, [ebp - 0x18]
push eax
push ecx
push esi
lea edx, [ebp - 0xc8]
push str._d_s_02d__
push edx
fstp st(0)
call fcn.0060a593
mov eax, dword [0x6fca90]
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, dword [eax + 0x1c]
push 4
push edx
push ecx
call fcn.00455450
add esp, 0x28
jmp 0x4c73b3
fstp st(0)
mov eax, dword [ebx + 0x4c8]
cmp eax, 0xa
mov dword [ebp + 0x10], eax
jle 0x4c7988
mov eax, dword [ebx + 0x4b4]
mov ecx, dword [ebx + 0x4b0]
test eax, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jl 0x4c7988
jg 0x4c73e9
test ecx, ecx
jbe 0x4c7988
fld qword [ebx + 0x398]
fdiv qword [ebx + 0x4c0]
fsub qword [0x65b4c0]
fild qword [ebp - 0x38]
fmulp st(1)
fidiv dword [ebp + 0x10]
call fcn.0060a154
mov edi, eax
mov esi, edx
mov dword [ebp - 0x34], 0x659b68
test esi, esi
mov byte [ebp - 4], 7
jg 0x4c743c
jl 0x4c7421
test edi, edi
jae 0x4c743c
mov edx, dword [0x6fd978]
lea eax, [ebp - 0xc8]
push edx
push eax
call fcn.0060a593
add esp, 8
jmp 0x4c74f6
push 0
push 0x3c
push esi
push edi
call fcn.0060bb90
mov ebx, eax
mov ecx, edi
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
push 0
push 0x3c
push eax
push ecx
call fcn.0060bae0
push 0
push 0x3c
push edx
push eax
call fcn.0060bb90
push 0
push 0xe10
push esi
push edi
mov dword [ebp + 0x10], eax
call fcn.0060bae0
test edx, edx
jg 0x4c74df
jl 0x4c7486
cmp eax, 0x2710
ja 0x4c74df
test eax, eax
je 0x4c74a7
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x6fd9d0]
push ecx
push eax
lea eax, [ebp - 0xc8]
push edx
push eax
call fcn.0060a593
add esp, 0x10
jmp 0x4c74f3
mov eax, dword [ebp + 0x10]
push ebx
test eax, eax
je 0x4c74c8
mov ecx, dword [0x6fd9cc]
push eax
lea edx, [ebp - 0xc8]
push ecx
push edx
call fcn.0060a593
add esp, 0x10
jmp 0x4c74f3
mov eax, dword [0x6fd9c8]
lea ecx, [ebp - 0xc8]
push eax
push ecx
call fcn.0060a593
add esp, 0xc
jmp 0x4c74f3
lea edx, [ebp - 0xc8]
push 0x6c9030
push edx
call fcn.0060a593
add esp, 8
mov ebx, dword [ebp + 8]
mov eax, dword [0x6fca90]
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, dword [eax + 0x1c]
push 5
push edx
push ecx
call fcn.00455450
add esp, 0x14
mov byte [ebp - 4], 2
jmp 0x4c7988
mov edx, eax
or edx, ecx
je 0x4c752c
mov dword [ebp - 0x18], eax
jmp 0x4c753b
mov eax, dword [ebx + 0x110]
mov ecx, dword [ebx + 0x114]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x88], 0x659b68
mov ebx, dword [ebp - 0x18]
push 0
mov esi, ecx
push 0x400
push esi
push ebx
mov byte [ebp - 4], 4
call fcn.0060bb90
mov dword [ebp - 0x34], eax
push 0
cdq
mov edi, eax
mov eax, esi
sub ebx, edi
push 0x400
sbb eax, edx
mov dword [ebp - 0x2c], edx
push eax
push ebx
call fcn.0060bae0
mov ebx, eax
and ebx, 0x800003ff
jns 0x4c758e
dec ebx
or ebx, 0xfffffc00
inc ebx
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
mov edx, dword [ebp - 0x2c]
sub ecx, edi
push 0
sbb eax, edx
push 0x100000
push eax
push ecx
call fcn.0060bae0
mov edi, eax
and edi, 0x800003ff
jns 0x4c75c4
dec edi
or edi, 0xfffffc00
inc edi
mov ecx, dword [ebp - 0x18]
push 0
push 0x40000000
push esi
push ecx
mov dword [ebp - 0x28], edi
call fcn.0060bae0
lea edx, [ebp + 0x10]
push 3
push edx
push 0xe
push 0x400
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4c761b
mov edi, 0x6cd6b0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4c76ea
cmp edi, 0x3e7
jg 0x4c76ea
test edi, edi
jne 0x4c76b1
cmp ebx, 0x3e7
jg 0x4c76b1
test ebx, ebx
je 0x4c768e
mov eax, dword [ebp - 0x34]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov edx, dword [0x6fd858]
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
push edx
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [ebp + 0x10]
shr eax, 0x1f
add edx, eax
push edx
push ecx
push ebx
lea edx, [ebp - 0xc8]
push str._d_s_02d___s
push edx
jmp 0x4c7731
mov eax, dword [0x6fd854]
mov ecx, dword [ebp - 0x34]
push eax
push ecx
lea edx, [ebp - 0xc8]
push str._d___s
push edx
call fcn.0060a593
add esp, 0x10
jmp 0x4c7739
lea ebx, [ebx + ebx*4]
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov ecx, eax
mov eax, dword [0x6fd85c]
push eax
mov eax, 0x66666667
sar ecx, 0xa
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [ebp + 0x10]
push edx
push edi
jmp 0x4c7725
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
mov edx, dword [0x6fd860]
mov ecx, eax
mov eax, 0x66666667
sar ecx, 0xa
push edx
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [ebp + 0x10]
shr eax, 0x1f
add edx, eax
push edx
mov edx, dword [ebp - 0x2c]
push ecx
push edx
lea eax, [ebp - 0xc8]
push str._d_s_02d___s
push eax
call fcn.0060a593
add esp, 0x18
mov ecx, dword [0x6fca90]
mov eax, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0xc8]
push edx
mov edx, dword [ecx + 0x1c]
push 3
push eax
push edx
call fcn.00455450
mov edi, dword [ebp + 8]
add esp, 0x14
cmp dword [edi + 0x8fc], 3
je 0x4c7981
lea eax, [ebp - 0x30]
push 8
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4c77ac
mov edi, 0x6cd6b0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x30]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov eax, dword [edi + 0x4b4]
mov ecx, dword [edi + 0x4b0]
test eax, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jl 0x4c7834
jg 0x4c77c8
test ecx, ecx
jbe 0x4c7834
fild qword [ebp - 0x38]
fmul dword [0x65b4d0]
fild qword [ebp - 0x18]
fdivp st(1)
fcom qword [0x65b4c8]
fnstsw ax
test ah, 1
je 0x4c7832
fld st(0)
call fcn.0060a154
mov ebx, eax
mov dword [ebp + 0x10], ebx
fild dword [ebp + 0x10]
fsubr st(1)
fmul dword [0x65b4d0]
call fcn.0060a154
lea ecx, [ebp - 0x30]
push eax
push ecx
push ebx
lea edx, [ebp - 0xc8]
push str._d_s_02d__
push edx
fstp st(0)
call fcn.0060a593
mov ecx, dword [ebp - 0x24]
add esp, 0x14
lea eax, [ebp - 0xc8]
push eax
push 4
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00620961
jmp 0x4c7834
fstp st(0)
mov eax, dword [edi + 0x4c8]
cmp eax, 0xa
jle 0x4c7981
mov edx, dword [edi + 0x4b0]
mov edi, dword [edi + 0x4b4]
cmp esi, edi
jl 0x4c7981
mov ecx, dword [ebp - 0x18]
jg 0x4c7864
cmp ecx, edx
jb 0x4c7981
mov ebx, ecx
or ebx, esi
je 0x4c7981
mov dword [ebp - 0x34], 0x659b68
sub ecx, edx
mov byte [ebp - 4], 5
cdq
sbb esi, edi
push edx
push eax
push esi
push ecx
call fcn.0060bae0
mov esi, edx
mov edi, eax
test esi, esi
jg 0x4c78a8
jl 0x4c7895
test edi, edi
jae 0x4c78a8
mov edx, dword [0x6fd978]
lea eax, [ebp - 0xc8]
push edx
push eax
jmp 0x4c7957
push 0
push 0x3c
push esi
push edi
call fcn.0060bb90
mov ebx, eax
mov ecx, edi
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
push 0
push 0x3c
push eax
push ecx
call fcn.0060bae0
push 0
push 0x3c
push edx
push eax
call fcn.0060bb90
push 0
push 0xe10
push esi
push edi
mov dword [ebp + 0x10], eax
call fcn.0060bae0
test edx, edx
jg 0x4c794b
jl 0x4c78f2
cmp eax, 0x2710
ja 0x4c794b
test eax, eax
je 0x4c7913
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x6fd9d0]
push ecx
push eax
lea eax, [ebp - 0xc8]
push edx
push eax
call fcn.0060a593
add esp, 0x10
jmp 0x4c795f
mov eax, dword [ebp + 0x10]
push ebx
test eax, eax
je 0x4c7934
mov ecx, dword [0x6fd9cc]
push eax
lea edx, [ebp - 0xc8]
push ecx
push edx
call fcn.0060a593
add esp, 0x10
jmp 0x4c795f
mov eax, dword [0x6fd9c8]
lea ecx, [ebp - 0xc8]
push eax
push ecx
call fcn.0060a593
add esp, 0xc
jmp 0x4c795f
lea edx, [ebp - 0xc8]
push 0x6c9030
push edx
call fcn.0060a593
add esp, 8
mov eax, dword [0x6fca90]
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, dword [eax + 0x1c]
push 5
push edx
push ecx
call fcn.00455450
add esp, 0x14
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x4b4]
test eax, eax
jg 0x4c79fe
jl 0x4c799e
mov eax, dword [ebx + 0x4b0]
test eax, eax
ja 0x4c79fe
mov eax, dword [ebx + 0xa74]
cmp eax, 0x7565
jne 0x4c79cf
mov edx, dword [0x6fca90]
mov eax, dword [0x6fd6cc]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
push edx
push eax
mov edx, dword [ecx + 0x1c]
push 4
push esi
push edx
call fcn.00455450
add esp, 0x14
jmp 0x4c7a01
cmp eax, 0x7540
je 0x4c79fe
test eax, eax
je 0x4c79fe
mov eax, dword [0x6fca90]
mov ecx, dword [0x6fd6c4]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
push eax
push ecx
mov eax, dword [edx + 0x1c]
push 4
push esi
push eax
call fcn.00455450
add esp, 0x14
jmp 0x4c7a01
mov esi, dword [ebp - 0x24]
lea edx, [ebx + 0x64]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4c7a1e
mov ecx, dword [ebp - 0x20]
push edx
push 7
push esi
call fcn.00620961
lea edx, [ebx + 0x94]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4c7a3e
mov ecx, dword [ebp - 0x20]
push edx
push 1
push esi
call fcn.00620961
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4c7f17
mov ecx, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x14], edi
mov esi, dword [ecx + 0x54]
mov dword [ebp - 0x1c], eax
cmp esi, edi
mov word [ebp - 0x18], di
je 0x4c7ab8
cmp eax, edi
je 0x4c7ab8
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x4c7ab8
mov eax, dword [ebp - 0x1c]
cmp eax, esi
ja 0x4c7ab8
push eax
call fcn.00609a4e
mov edx, dword [ebp - 0x1c]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, esi
jb 0x4c7ab8
push esi
lea ecx, [ebp - 0x5c]
call fcn.00401ee0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.00401f10
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401f20
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00401070
jmp 0x4c7b01
lea ecx, [ebp - 0x1c]
call fcn.00401070
cmp esi, edi
je 0x4c7b01
push esi
call fcn.00609a4e
add esp, 4
test eax, eax
je 0x4c7b01
push esi
call fcn.00609a4e
lea ecx, [eax + eax + 2]
push ecx
call fcn.00622acb
add esp, 8
cmp eax, edi
mov dword [ebp - 0x1c], eax
je 0x4c7b01
push esi
call fcn.00609a4e
mov edx, dword [ebp - 0x1c]
push esi
push edx
mov dword [ebp - 0x14], eax
call fcn.00609a95
add esp, 0xc
mov eax, dword [0x6fcb00]
mov byte [ebp - 4], 9
cmp eax, edi
je 0x4c7cf8
mov eax, dword [0x6fc968]
test eax, eax
je 0x4c7b20
mov dword [ebp + 0x10], eax
jmp 0x4c7b2a
mov dword [ebp + 0x10], 0x6fc96c
mov eax, dword [ebp + 0x10]
mov esi, dword [0x6fc978]
test esi, esi
jne 0x4c7b39
mov esi, 0x6fc97c
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], esi
test ecx, ecx
je 0x4c7cf8
test esi, esi
je 0x4c7cf8
test eax, eax
je 0x4c7cf8
push eax
push esi
call fcn.0060a1a4
add esp, 8
test eax, eax
je 0x4c7cf8
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.0060a3e0
add esp, 8
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4c7b96
push esi
inc ebx
call fcn.00609a4e
lea eax, [edi + eax*2]
push esi
push eax
call fcn.0060a3e0
add esp, 0xc
mov edi, eax
jmp 0x4c7b7a
test ebx, ebx
je 0x4c7cf8
mov ecx, dword [ebp - 0x1c]
xor eax, eax
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x40], ax
call fcn.00401f20
push esi
mov byte [ebp - 4], 0xa
call fcn.00609a4e
mov edx, dword [ebp + 0x10]
mov edi, eax
push edx
call fcn.00609a4e
add esp, 8
cmp eax, edi
jbe 0x4c7c25
lea ecx, [ebp - 0x1c]
call fcn.00401070
mov edi, dword [ebp - 0x44]
test edi, edi
jne 0x4c7be4
lea edi, [ebp - 0x40]
push esi
call fcn.00609a4e
mov esi, eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00609a4e
mov edx, eax
push edi
sub edx, esi
imul edx, ebx
mov dword [ebp - 0x2c], edx
call fcn.00609a4e
mov ecx, dword [ebp - 0x2c]
add ecx, eax
lea edx, [ecx + ecx + 2]
push edx
call fcn.00622acb
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x1c], ebx
jne 0x4c7c28
jmp 0x4c7cec
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x4c7c32
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
push ecx
push eax
call fcn.0060a3e0
add esp, 8
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x4c7caf
mov esi, dword [ebp - 0x28]
mov edi, ebx
sub eax, esi
sar eax, 1
shl eax, 1
mov ecx, eax
add ebx, eax
mov edx, ecx
mov eax, dword [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00609a4e
mov ecx, eax
mov eax, dword [ebp + 0x10]
shl ecx, 1
mov edx, ecx
mov esi, eax
mov edi, ebx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00609a4e
mov esi, dword [ebp - 0x34]
lea ebx, [ebx + eax*2]
push esi
call fcn.00609a4e
mov ecx, dword [ebp - 0x2c]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x28], eax
call fcn.0060a3e0
add esp, 0x14
jmp 0x4c7c42
mov esi, dword [ebp - 0x28]
push esi
call fcn.00609a4e
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov edx, ecx
mov eax, dword [ebp - 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00609a4e
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00609a4e
add esp, 0xc
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.00401070
mov eax, dword [0x6fcb04]
test eax, eax
je 0x4c7eeb
mov eax, dword [0x6fc948]
test eax, eax
je 0x4c7d13
mov dword [ebp + 0x10], eax
jmp 0x4c7d1d
mov dword [ebp + 0x10], 0x6fc94c
mov eax, dword [ebp + 0x10]
mov esi, dword [0x6fc958]
test esi, esi
jne 0x4c7d2c
mov esi, 0x6fc95c
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], esi
test ecx, ecx
je 0x4c7ef2
test esi, esi
je 0x4c7eeb
test eax, eax
je 0x4c7eeb
push eax
push esi
call fcn.0060a1a4
add esp, 8
test eax, eax
je 0x4c7eeb
mov edx, dword [ebp - 0x1c]
push esi
push edx
call fcn.0060a3e0
add esp, 8
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4c7d89
push esi
inc ebx
call fcn.00609a4e
lea eax, [edi + eax*2]
push esi
push eax
call fcn.0060a3e0
add esp, 0xc
mov edi, eax
jmp 0x4c7d6d
test ebx, ebx
je 0x4c7eeb
xor eax, eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00401f20
push esi
mov byte [ebp - 4], 0xb
call fcn.00609a4e
mov ecx, dword [ebp + 0x10]
mov edi, eax
push ecx
call fcn.00609a4e
add esp, 8
cmp eax, edi
jbe 0x4c7e18
lea ecx, [ebp - 0x1c]
call fcn.00401070
mov edi, dword [ebp - 0x44]
test edi, edi
jne 0x4c7dd7
lea edi, [ebp - 0x40]
push esi
call fcn.00609a4e
mov edx, dword [ebp + 0x10]
mov esi, eax
push edx
call fcn.00609a4e
mov edx, eax
push edi
sub edx, esi
imul edx, ebx
mov dword [ebp - 0x2c], edx
call fcn.00609a4e
mov ecx, dword [ebp - 0x2c]
add ecx, eax
lea edx, [ecx + ecx + 2]
push edx
call fcn.00622acb
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x1c], ebx
jne 0x4c7e1b
jmp 0x4c7edf
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x4c7e25
lea eax, [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
push ecx
push eax
call fcn.0060a3e0
add esp, 8
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x4c7ea2
mov esi, dword [ebp - 0x28]
mov edi, ebx
sub eax, esi
sar eax, 1
shl eax, 1
mov ecx, eax
add ebx, eax
mov edx, ecx
mov eax, dword [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00609a4e
mov ecx, eax
mov eax, dword [ebp + 0x10]
shl ecx, 1
mov edx, ecx
mov esi, eax
mov edi, ebx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00609a4e
mov esi, dword [ebp - 0x34]
lea ebx, [ebx + eax*2]
push esi
call fcn.00609a4e
mov ecx, dword [ebp - 0x2c]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x28], eax
call fcn.0060a3e0
add esp, 0x14
jmp 0x4c7e35
mov esi, dword [ebp - 0x28]
push esi
call fcn.00609a4e
mov ecx, eax
mov edi, ebx
shl ecx, 1
mov edx, ecx
mov eax, dword [ebp - 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00609a4e
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00609a4e
add esp, 0xc
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.00401070
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4c7ef5
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
push edx
push 9
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.00455400
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00401070
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4c7f34
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
push eax
push 0xa
push edi
mov ecx, esi
call fcn.00620961
jmp 0x4c7f3a
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
cmp dword [ebx + 0x8fc], 3
jne 0x4c7f5f
mov edx, dword [0x6fca90]
mov eax, dword [0x6fd9fc]
mov ecx, dword [esi + 0x1c]
push edx
push eax
push 4
push edi
push ecx
call fcn.00455450
add esp, 0x14
mov al, byte [ebp + 0xc]
test al, al
je 0x4c7f8c
test edi, edi
jl 0x4c7f8c
push 8
call fcn.00622acb
add esp, 4
mov dword [eax], ebx
mov dword [eax + 4], esi
push 0
push 0
push 0
push 0xfffffffffffffffe
push eax
push 0x4c6000
call fcn.00626cae
lea ecx, [ebp - 0x50]
mov byte [ebx + 0xaa0], 1
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc