Function at 0x4b3610
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618469
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov al, byte [ebx + 0x31e]
mov edi, ecx
test al, al
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
jne 0x4b3702
mov al, byte [ebp + 0x10]
test al, al
je 0x4b37fe
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 0x4b37fe
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 0x4b3745
cmp esi, dword [ecx + 0x3c]
je 0x4b3745
cmp esi, dword [ecx + 0x40]
je 0x4b3745
cmp eax, edx
je 0x4b3745
cmp eax, dword [ecx + 0x3c]
je 0x4b3745
cmp eax, dword [ecx + 0x40]
je 0x4b3745
mov edx, dword [ecx + 0x48]
cmp esi, edx
jne 0x4b36e3
mov eax, dword [ebx + 0xa48]
test eax, eax
jg 0x4b37fe
jmp 0x4b36fb
cmp eax, edx
jne 0x4b3718
push esi
call fcn.005f4e6d
mov ecx, dword [ebx + 0xa48]
cmp ecx, eax
je 0x4b37fe
mov byte [ebx + 0xa60], 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 0x4b372f
mov eax, dword [ebx + 0x47c]
test eax, eax
jg 0x4b37fe
jmp 0x4b36fb
cmp eax, edx
jne 0x4b37fe
push esi
call fcn.005f4e6d
mov ecx, dword [ebx + 0x47c]
jmp 0x4b36f3
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], eax
mov word [ebp - 0x3c], ax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
push edx
push esi
call fcn.004b63c0
mov ecx, dword [edi + 0x8c]
push esi
mov byte [ebp + 0x13], al
call fcn.004b6300
mov dl, byte [ebp + 0x13]
mov dword [ebp - 0x14], eax
test dl, dl
je 0x4b3796
mov ecx, dword [edi + 0x8c]
push esi
call fcn.005f4e6d
mov edx, dword [ebx + 0x2fc]
xor ecx, ecx
cmp edx, eax
mov dl, byte [ebp + 0x13]
sete cl
jmp 0x4b3798
xor ecx, ecx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4b37f2
mov esi, 3
cmp eax, esi
jne 0x4b37ae
test ecx, ecx
jne 0x4b37f2
jmp 0x4b37da
cmp eax, 1
jne 0x4b37c5
cmp dword [ebx + 0x8cc], esi
je 0x4b37da
test dl, dl
je 0x4b37f2
test ecx, ecx
jne 0x4b37f2
jmp 0x4b37da
cmp eax, 2
jne 0x4b37da
cmp dword [ebx + 0x8cc], esi
jne 0x4b37da
test dl, dl
je 0x4b37f2
test ecx, ecx
jne 0x4b37f2
lea ecx, [ebp - 0x40]
mov byte [ebx + 0xa60], 1
mov byte [ebp - 4], 0
call fcn.00401070
jmp 0x4b3702
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, 9
xor eax, eax
lea edi, [ebp - 0x90]
xor esi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x478]
mov dword [ebp - 0x94], 5
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], esi
mov word [ebp - 0x48], si
lea eax, [ebp - 0x4c]
mov ecx, ebx
push eax
mov byte [ebp - 4], 2
call fcn.005b0b50
mov eax, dword [ebp - 0x4c]
cmp eax, esi
je 0x4b3853
mov dword [ebp - 0x80], eax
jmp 0x4b385c
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x80], ecx
push eax
call fcn.005de123
add esp, 4
inc eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x94]
mov dword [ebp - 0x78], 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 - 0x34], eax
test esi, esi
je 0x4b3954
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b3954
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov word [ebp - 0x1c], di
mov dl, byte [ebx + 0x326]
lea ecx, [ebp - 0x20]
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 0x4b3928
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b3928
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 - 0x18], eax
je 0x4b3928
lea ecx, [eax + eax + 2]
push ecx
call fcn.005f6c5c
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4b392f
mov edx, dword [ebp - 0x18]
push edx
push eax
mov eax, dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push 0
push eax
call edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4b3932
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
push eax
push ecx
mov eax, dword [edx + 0x1c]
push 8
push eax
call fcn.0044ed40
add esp, 0x10
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00401070
mov eax, dword [ebx + 0x480]
mov ecx, dword [ebx + 0x484]
mov edx, eax
or edx, ecx
jne 0x4b3d0b
mov edx, dword [ebx + 0x110]
mov esi, dword [ebx + 0x114]
or edx, esi
jne 0x4b3d0b
mov eax, dword [ebx + 0x44]
cmp eax, 4
je 0x4b3999
cmp eax, 5
je 0x4b3999
mov eax, dword [ebx + 0x318]
test eax, eax
je 0x4b4133
fld qword [ebx + 0x378]
fcomp qword [0x633be8]
fnstsw ax
test ah, 0x41
je 0x4b39ca
mov eax, dword [ebx + 0x3ac]
test eax, eax
jl 0x4b4133
jg 0x4b39ca
mov eax, dword [ebx + 0x3a8]
test eax, eax
jbe 0x4b4133
fld qword [ebx + 0x378]
fcomp qword [0x633be8]
fnstsw ax
test ah, 0x41
jne 0x4b39ee
fld qword [ebx + 0x378]
call fcn.005de5f4
mov esi, eax
mov edi, edx
jmp 0x4b39fa
mov esi, dword [ebx + 0x3a8]
mov edi, dword [ebx + 0x3ac]
test edi, edi
jl 0x4b3aea
jg 0x4b3a0c
test esi, esi
jbe 0x4b3aea
mov dword [ebp - 0x14], 0x633bf0
push 0
push 0x3c
push edi
push esi
mov byte [ebp - 4], 6
call fcn.005e0090
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.005dffe0
push 0
push 0x3c
push edx
push eax
call fcn.005e0090
push 0
push 0xe10
push edi
push esi
mov dword [ebp + 0x10], eax
call fcn.005dffe0
test edx, edx
jg 0x4b3aba
jl 0x4b3a61
cmp eax, 0x2710
ja 0x4b3aba
test eax, eax
je 0x4b3a82
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x6ed4dc]
push ecx
push eax
lea eax, [ebp - 0x124]
push edx
push eax
call fcn.005deb38
add esp, 0x10
jmp 0x4b3ace
mov eax, dword [ebp + 0x10]
push ebx
test eax, eax
je 0x4b3aa3
mov ecx, dword [0x6ed4d8]
push eax
lea edx, [ebp - 0x124]
push ecx
push edx
call fcn.005deb38
add esp, 0x10
jmp 0x4b3ace
mov eax, dword [0x6ed4d4]
lea ecx, [ebp - 0x124]
push eax
push ecx
call fcn.005deb38
add esp, 0xc
jmp 0x4b3ace
lea edx, [ebp - 0x124]
push 0x6bbf90
push edx
call fcn.005deb38
add esp, 8
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x124]
push eax
push 3
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.005f4af2
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 2
cmp dword [ebx + 0x8cc], 3
je 0x4b4133
fld qword [ebx + 0x490]
fcomp qword [0x633be8]
fnstsw ax
test ah, 0x41
jne 0x4b4133
lea edx, [ebp + 0x10]
push 3
push edx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4b3b48
mov edi, 0x6bfed4
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]
fld qword [ebx + 0x378]
fcomp qword [0x633be8]
fnstsw ax
test ah, 0x41
jne 0x4b3b63
fld qword [ebx + 0x378]
jmp 0x4b3b69
fild qword [ebx + 0x3a8]
fld qword [ebx + 0x490]
fmul qword [0x635b00]
fdivrp st(1)
fcom qword [0x635af0]
fnstsw ax
test ah, 1
je 0x4b3bcd
fld st(0)
call fcn.005de5f4
mov esi, eax
mov dword [ebp - 0x14], esi
fild dword [ebp - 0x14]
fsubr st(1)
fmul qword [0x635b00]
call fcn.005de5f4
lea ecx, [ebp + 0x10]
push eax
push ecx
push esi
lea edx, [ebp - 0x6c]
push 0x6c1b1c
push edx
fstp st(0)
call fcn.005deb38
mov ecx, dword [ebp - 0x34]
add esp, 0x14
lea eax, [ebp - 0x6c]
push eax
push 4
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.005f4af2
jmp 0x4b3bcf
fstp st(0)
mov eax, dword [ebx + 0x498]
cmp eax, 0xa
mov dword [ebp - 0x14], eax
jle 0x4b4133
mov eax, dword [ebx + 0x48c]
mov ecx, dword [ebx + 0x488]
test eax, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
jl 0x4b4133
jg 0x4b3c05
test ecx, ecx
jbe 0x4b4133
fld qword [ebx + 0x378]
fdiv qword [ebx + 0x490]
fsub qword [0x635ae8]
fild qword [ebp - 0x30]
fmulp st(1)
fidiv dword [ebp - 0x14]
call fcn.005de5f4
mov edi, eax
mov esi, edx
mov dword [ebp - 0x28], 0x633bf0
test esi, esi
mov byte [ebp - 4], 7
jg 0x4b3c4d
jl 0x4b3c3d
test edi, edi
jae 0x4b3c4d
mov edx, dword [0x6ed484]
lea eax, [ebp - 0x6c]
push edx
push eax
jmp 0x4b3ce8
push 0
push 0x3c
push esi
push edi
call fcn.005e0090
mov dword [ebp - 0x2c], eax
mov ecx, edi
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
push 0
push 0x3c
push eax
push ecx
call fcn.005dffe0
push 0
push 0x3c
push edx
push eax
call fcn.005e0090
push 0
push 0xe10
push esi
push edi
mov dword [ebp - 0x14], eax
call fcn.005dffe0
test edx, edx
jg 0x4b3cdf
jl 0x4b3c98
cmp eax, 0x2710
ja 0x4b3cdf
test eax, eax
je 0x4b3ca9
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x6ed4dc]
push ecx
push eax
jmp 0x4b3cbb
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
test eax, eax
push ecx
je 0x4b3cca
mov edx, dword [0x6ed4d8]
push eax
lea eax, [ebp - 0x6c]
push edx
push eax
call fcn.005deb38
add esp, 0x10
jmp 0x4b3cf0
mov edx, dword [0x6ed4d4]
lea eax, [ebp - 0x6c]
push edx
push eax
call fcn.005deb38
add esp, 0xc
jmp 0x4b3cf0
lea ecx, [ebp - 0x6c]
push 0x6bbf90
push ecx
call fcn.005deb38
add esp, 8
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x6c]
push edx
push 5
push eax
call fcn.005f4af2
mov byte [ebp - 4], 2
jmp 0x4b4133
mov edx, eax
or edx, ecx
je 0x4b3d16
mov dword [ebp - 0x1c], eax
jmp 0x4b3d25
mov eax, dword [ebx + 0x110]
mov ecx, dword [ebx + 0x114]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xa4], 0x633bf0
mov ebx, dword [ebp - 0x1c]
push 0
mov esi, ecx
push 0x400
push esi
push ebx
mov byte [ebp - 4], 4
call fcn.005e0090
mov dword [ebp - 0x14], 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.005dffe0
mov ebx, eax
and ebx, 0x800003ff
jns 0x4b3d78
dec ebx
or ebx, 0xfffffc00
inc ebx
mov ecx, dword [ebp - 0x1c]
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.005dffe0
mov edi, eax
and edi, 0x800003ff
jns 0x4b3dae
dec edi
or edi, 0xfffffc00
inc edi
mov ecx, dword [ebp - 0x1c]
push 0
push 0x40000000
push esi
push ecx
mov dword [ebp - 0x28], edi
call fcn.005dffe0
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 0x4b3e05
mov edi, 0x6bfed4
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 - 0x18]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4b3ece
cmp edi, 0x3e7
jg 0x4b3ece
test edi, edi
jne 0x4b3e95
cmp ebx, 0x3e7
jg 0x4b3e95
test ebx, ebx
je 0x4b3e75
mov eax, dword [ebp - 0x14]
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 [0x6ed364]
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 - 0x6c]
push 0x6bfebc
push edx
jmp 0x4b3f12
mov eax, dword [0x6ed360]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
lea edx, [ebp - 0x6c]
push 0x6bfecc
push edx
call fcn.005deb38
add esp, 0x10
jmp 0x4b3f1a
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 [0x6ed368]
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 0x4b3f09
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 [0x6ed36c]
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 - 0x6c]
push 0x6bfebc
push eax
call fcn.005deb38
add esp, 0x18
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x24]
push 3
push edx
call fcn.005f4af2
mov edi, dword [ebp + 8]
cmp dword [edi + 0x8cc], 3
je 0x4b412c
lea eax, [ebp + 0x10]
push 3
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4b3f7c
mov edi, 0x6bfed4
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 + 8]
mov esi, dword [ebp - 0x18]
mov eax, dword [edi + 0x48c]
mov ecx, dword [edi + 0x488]
test eax, eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
jl 0x4b3ffe
jg 0x4b3f98
test ecx, ecx
jbe 0x4b3ffe
fild qword [ebp - 0x30]
fmul dword [0x635af8]
fild qword [ebp - 0x1c]
fdivp st(1)
fcom qword [0x635af0]
fnstsw ax
test ah, 1
je 0x4b3ffc
fld st(0)
call fcn.005de5f4
mov ebx, eax
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fsubr st(1)
fmul dword [0x635af8]
call fcn.005de5f4
lea ecx, [ebp + 0x10]
push eax
push ecx
push ebx
lea edx, [ebp - 0x6c]
push 0x6c1b1c
push edx
fstp st(0)
call fcn.005deb38
mov ecx, dword [ebp - 0x34]
add esp, 0x14
lea eax, [ebp - 0x6c]
push eax
push 4
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.005f4af2
jmp 0x4b3ffe
fstp st(0)
mov eax, dword [edi + 0x498]
cmp eax, 0xa
jle 0x4b412c
mov edx, dword [edi + 0x48c]
mov ebx, dword [edi + 0x488]
cmp esi, edx
jl 0x4b412c
mov ecx, dword [ebp - 0x1c]
jg 0x4b402e
cmp ecx, ebx
jb 0x4b412c
mov edi, ecx
or edi, esi
je 0x4b412c
mov dword [ebp - 0x2c], 0x633bf0
sub ecx, ebx
mov byte [ebp - 4], 5
sbb esi, edx
cdq
push edx
push eax
push esi
push ecx
call fcn.005dffe0
mov esi, edx
mov edi, eax
test esi, esi
jg 0x4b406f
jl 0x4b405f
test edi, edi
jae 0x4b406f
mov edx, dword [0x6ed484]
lea eax, [ebp - 0x6c]
push edx
push eax
jmp 0x4b4112
push 0
push 0x3c
push esi
push edi
call fcn.005e0090
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.005dffe0
push 0
push 0x3c
push edx
push eax
call fcn.005e0090
push 0
push 0xe10
push esi
push edi
mov dword [ebp - 0x14], eax
call fcn.005dffe0
test edx, edx
jg 0x4b4109
jl 0x4b40b9
cmp eax, 0x2710
ja 0x4b4109
test eax, eax
je 0x4b40d7
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x6ed4dc]
push ecx
push eax
lea eax, [ebp - 0x6c]
push edx
push eax
call fcn.005deb38
add esp, 0x10
jmp 0x4b411a
mov eax, dword [ebp - 0x14]
push ebx
test eax, eax
je 0x4b40f5
mov ecx, dword [0x6ed4d8]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call fcn.005deb38
add esp, 0x10
jmp 0x4b411a
mov eax, dword [0x6ed4d4]
lea ecx, [ebp - 0x6c]
push eax
push ecx
call fcn.005deb38
add esp, 0xc
jmp 0x4b411a
lea edx, [ebp - 0x6c]
push 0x6bbf90
push edx
call fcn.005deb38
add esp, 8
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x6c]
push eax
push 5
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.005f4af2
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x48c]
test eax, eax
jg 0x4b4180
jl 0x4b4149
mov eax, dword [ebx + 0x488]
test eax, eax
ja 0x4b4180
mov eax, dword [ebx + 0xa34]
cmp eax, 0x7565
jne 0x4b415f
mov edx, dword [0x6ed1d8]
push edx
jmp 0x4b4170
cmp eax, 0x7540
je 0x4b4180
test eax, eax
je 0x4b4180
mov eax, dword [0x6ed1d0]
push eax
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
push 4
push esi
call fcn.005f4af2
jmp 0x4b4183
mov esi, dword [ebp - 0x34]
lea edx, [ebx + 0x64]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b41a0
mov ecx, dword [ebp - 0x24]
push edx
push 7
push esi
call fcn.005f4af2
lea edx, [ebx + 0x94]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b41c0
mov ecx, dword [ebp - 0x24]
push edx
push 1
push esi
call fcn.005f4af2
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4b46a2
mov ecx, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 0x18], edi
mov esi, dword [ecx + 0x54]
mov dword [ebp - 0x20], eax
cmp esi, edi
mov word [ebp - 0x1c], di
je 0x4b4243
cmp eax, edi
je 0x4b4243
push esi
call fcn.005de123
add esp, 4
test eax, eax
je 0x4b4243
mov eax, dword [ebp - 0x20]
cmp eax, esi
ja 0x4b4243
push eax
call fcn.005de123
mov edx, dword [ebp - 0x20]
add esp, 4
lea eax, [edx + eax*2]
cmp eax, esi
jb 0x4b4243
push esi
lea ecx, [ebp - 0xa0]
call fcn.0040e020
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.004023d0
push eax
lea ecx, [ebp - 0x20]
call fcn.004023e0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 2
call fcn.00401070
jmp 0x4b428c
lea ecx, [ebp - 0x20]
call fcn.00401070
cmp esi, edi
je 0x4b428c
push esi
call fcn.005de123
add esp, 4
test eax, eax
je 0x4b428c
push esi
call fcn.005de123
lea ecx, [eax + eax + 2]
push ecx
call fcn.005f6c5c
add esp, 8
cmp eax, edi
mov dword [ebp - 0x20], eax
je 0x4b428c
push esi
call fcn.005de123
mov edx, dword [ebp - 0x20]
push esi
push edx
mov dword [ebp - 0x18], eax
call fcn.005de2e9
add esp, 0xc
mov eax, dword [0x6ec7a4]
mov byte [ebp - 4], 9
cmp eax, edi
je 0x4b4483
mov eax, dword [0x6ec618]
test eax, eax
je 0x4b42ab
mov dword [ebp + 0x10], eax
jmp 0x4b42b5
mov dword [ebp + 0x10], 0x6ec61c
mov eax, dword [ebp + 0x10]
mov esi, dword [0x6ec628]
test esi, esi
jne 0x4b42c4
mov esi, 0x6ec62c
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], esi
test ecx, ecx
je 0x4b4483
test esi, esi
je 0x4b4483
test eax, eax
je 0x4b4483
push eax
push esi
call fcn.005de644
add esp, 8
test eax, eax
je 0x4b4483
mov eax, dword [ebp - 0x20]
push esi
push eax
call fcn.005de985
add esp, 8
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4b4321
push esi
inc ebx
call fcn.005de123
lea eax, [edi + eax*2]
push esi
push eax
call fcn.005de985
add esp, 0xc
mov edi, eax
jmp 0x4b4305
test ebx, ebx
je 0x4b4483
mov ecx, dword [ebp - 0x20]
xor eax, eax
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], eax
mov word [ebp - 0x3c], ax
call fcn.004023e0
push esi
mov byte [ebp - 4], 0xa
call fcn.005de123
mov edx, dword [ebp + 0x10]
mov edi, eax
push edx
call fcn.005de123
add esp, 8
cmp eax, edi
jbe 0x4b43b0
lea ecx, [ebp - 0x20]
call fcn.00401070
mov edi, dword [ebp - 0x40]
test edi, edi
jne 0x4b436f
lea edi, [ebp - 0x3c]
push esi
call fcn.005de123
mov esi, eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.005de123
mov edx, eax
push edi
sub edx, esi
imul edx, ebx
mov dword [ebp - 0x2c], edx
call fcn.005de123
mov ecx, dword [ebp - 0x2c]
add ecx, eax
lea edx, [ecx + ecx + 2]
push edx
call fcn.005f6c5c
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x20], ebx
jne 0x4b43b3
jmp 0x4b4477
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4b43bd
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
push ecx
push eax
call fcn.005de985
add esp, 8
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x4b443a
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.005de123
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.005de123
mov esi, dword [ebp - 0x14]
lea ebx, [ebx + eax*2]
push esi
call fcn.005de123
mov ecx, dword [ebp - 0x2c]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x28], eax
call fcn.005de985
add esp, 0x14
jmp 0x4b43cd
mov esi, dword [ebp - 0x28]
push esi
call fcn.005de123
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.005de123
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.005de123
add esp, 0xc
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.00401070
mov eax, dword [0x6ec7a8]
test eax, eax
je 0x4b4676
mov eax, dword [0x6ec5f8]
test eax, eax
je 0x4b449e
mov dword [ebp + 0x10], eax
jmp 0x4b44a8
mov dword [ebp + 0x10], 0x6ec5fc
mov eax, dword [ebp + 0x10]
mov esi, dword [0x6ec608]
test esi, esi
jne 0x4b44b7
mov esi, 0x6ec60c
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], esi
test ecx, ecx
je 0x4b467d
test esi, esi
je 0x4b4676
test eax, eax
je 0x4b4676
push eax
push esi
call fcn.005de644
add esp, 8
test eax, eax
je 0x4b4676
mov edx, dword [ebp - 0x20]
push esi
push edx
call fcn.005de985
add esp, 8
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x4b4514
push esi
inc ebx
call fcn.005de123
lea eax, [edi + eax*2]
push esi
push eax
call fcn.005de985
add esp, 0xc
mov edi, eax
jmp 0x4b44f8
test ebx, ebx
je 0x4b4676
xor eax, eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x20]
push eax
call fcn.004023e0
push esi
mov byte [ebp - 4], 0xb
call fcn.005de123
mov ecx, dword [ebp + 0x10]
mov edi, eax
push ecx
call fcn.005de123
add esp, 8
cmp eax, edi
jbe 0x4b45a3
lea ecx, [ebp - 0x20]
call fcn.00401070
mov edi, dword [ebp - 0x40]
test edi, edi
jne 0x4b4562
lea edi, [ebp - 0x3c]
push esi
call fcn.005de123
mov edx, dword [ebp + 0x10]
mov esi, eax
push edx
call fcn.005de123
mov edx, eax
push edi
sub edx, esi
imul edx, ebx
mov dword [ebp - 0x2c], edx
call fcn.005de123
mov ecx, dword [ebp - 0x2c]
add ecx, eax
lea edx, [ecx + ecx + 2]
push edx
call fcn.005f6c5c
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x20], ebx
jne 0x4b45a6
jmp 0x4b466a
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4b45b0
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
push ecx
push eax
call fcn.005de985
add esp, 8
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x4b462d
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.005de123
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.005de123
mov esi, dword [ebp - 0x14]
lea ebx, [ebx + eax*2]
push esi
call fcn.005de123
mov ecx, dword [ebp - 0x2c]
push esi
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x28], eax
call fcn.005de985
add esp, 0x14
jmp 0x4b45c0
mov esi, dword [ebp - 0x28]
push esi
call fcn.005de123
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.005de123
lea ebx, [ebx + eax*2]
mov word [ebx], 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.005de123
add esp, 0xc
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.00401070
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4b4680
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x24]
push edx
push 9
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.0044ed40
add esp, 0x10
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00401070
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4b46bf
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x24]
push eax
push 0xa
push edi
mov ecx, esi
call fcn.005f4af2
jmp 0x4b46c5
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x24]
cmp dword [ebx + 0x8cc], 3
jne 0x4b46df
mov edx, dword [0x6ed508]
mov ecx, esi
push edx
push 4
push edi
call fcn.005f4af2
mov al, byte [ebp + 0xc]
test al, al
je 0x4b470c
test edi, edi
jl 0x4b470c
push 8
call fcn.005f6c5c
add esp, 4
mov dword [eax], ebx
mov dword [eax + 4], esi
push 0
push 0
push 0
push 0xfffffffffffffffe
push eax
push 0x4b2830
call fcn.005fae57
lea ecx, [ebp - 0x4c]
mov byte [ebx + 0xa60], 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