Function at 0x465ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov eax, dword [0x52a51c]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
xor ebx, ebx
mov dword [esp + 0x18], 0
mov eax, ecx
mov dword [esp + 0xc], ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x60], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xf8], bl
mov dword [esp + 0x28], ecx
push edi
test esi, esi
jne 0x465b55
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004c8a23
mov esp, ebp
pop ebp
ret
movzx edi, word [eax + 0x12]
movzx ecx, byte [eax + 1]
lea esi, [ecx + edi]
cmp esi, 2
jge 0x465b69
xor edx, edx
jmp 0x465b86
test edx, edx
je 0x465b7c
cmp edx, esi
jne 0x465b7b
mov eax, dword [ebp + 0x10]
lea edx, [eax - 2]
add edx, esi
jmp 0x465b7f
dec edx
mov eax, dword [ebp + 0x10]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], eax
mov eax, edx
sub eax, ecx
lea ecx, [eax + esi]
cmp ecx, edi
jne 0x465bae
mov eax, dword [esp + 0x28]
mov edi, dword [eax + 0x38]
movzx ecx, byte [eax + 6]
add edi, 8
add edi, ecx
jmp 0x465bcc
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x40]
movzx edi, byte [eax + ecx*2]
movzx eax, byte [eax + ecx*2 + 1]
shl edi, 8
or edi, eax
movzx eax, word [edx + 0x14]
and edi, eax
add edi, dword [edx + 0x38]
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x54], edi
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 3]
shl ecx, 8
lea edi, [esp + 0x7c]
or ecx, eax
lea edi, [edi + esi*4]
mov dword [esp + 0x10], ecx
mov edx, ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x2c]
push 0
push edi
call fcn.004600d0
add esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
test eax, eax
jne 0x466a65
mov edi, edi
mov eax, dword [edi]
movzx ecx, word [eax + 0x12]
movzx eax, byte [eax + 1]
inc eax
add eax, ebx
add ecx, eax
mov eax, esi
dec esi
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x465de2
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
movzx ecx, word [edi + 0x16]
lea eax, [edx + esi]
cmp eax, ecx
jne 0x465ca8
cmp byte [edi + 1], 0
je 0x465ca8
mov edx, dword [edi + 0x20]
lea ebx, [esi*4]
mov dword [esp + ebx + 0x100], edx
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], ecx
mov ecx, edi
call fcn.0045f4a0
movzx eax, ax
mov dword [esp + ebx + 0x9c], eax
mov byte [edi + 1], 0
jmp 0x465d74
movzx eax, byte [edi + 1]
mov ecx, edx
mov ebx, dword [edi + 0x38]
sub ecx, eax
mov eax, dword [edi + 0x40]
add ecx, esi
movzx edi, word [edi + 0x14]
movzx edx, byte [eax + ecx*2]
movzx eax, byte [eax + ecx*2 + 1]
shl edx, 8
or edx, eax
and edi, edx
add edi, ebx
mov edx, edi
mov dword [esp + esi*4 + 0x100], edi
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 3]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x28]
call fcn.0045f4a0
mov edx, dword [esp + 0x2c]
movzx ebx, ax
mov dword [esp + esi*4 + 0x9c], ebx
test byte [edx + 0x16], 4
je 0x465d4f
mov eax, dword [esp + 0x28]
mov ecx, edi
sub ecx, dword [eax + 0x38]
lea eax, [ebx + ecx]
cmp eax, dword [edx + 0x24]
jg 0x465da8
push ebx
push edi
mov edi, dword [esp + 0x6c]
lea eax, [edi + ecx]
push eax
call fcn.004cd4f0
mov ecx, dword [esp + 0x34]
mov eax, edi
add esp, 0xc
sub eax, dword [ecx + 0x38]
add dword [esp + esi*4 + 0x100], eax
jmp 0x465d53
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x18]
push eax
movzx eax, byte [ecx + 1]
sub edx, eax
push ebx
add edx, esi
call fcn.00464c80
add esp, 8
lea ebx, [esi*4]
mov edx, dword [esp + 0x10]
lea edi, [esp + 0x7c]
mov ecx, dword [esp + 0x2c]
add edi, ebx
push 0
push edi
call fcn.004600d0
mov edx, eax
add esp, 8
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], edx
test edx, edx
jne 0x466a65
mov ebx, dword [esp + 0x1c]
jmp 0x465c20
push 0x51877c
push 0xe9c1
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0044eab0
lea eax, [esi*4 + 4]
mov ebx, 0xb
push eax
lea eax, [esp + 0x90]
push 0
push eax
call fcn.004ce8d0
add esp, 0x1c
jmp 0x466a83
mov eax, dword [esp + 0x2c]
lea esi, [ecx + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x20]
lea ecx, [esi + esi*2]
lea ecx, [eax + ecx*2]
call fcn.0044c5e0
mov ebx, eax
mov dword [esp + 0x44], ebx
test ebx, ebx
jne 0x465e0c
lea ebx, [eax + 7]
jmp 0x466a83
mov ecx, dword [esp + 0x7c]
lea edx, [ebx + esi*4]
xor ebx, ebx
mov dword [esp + 0x24], edx
lea esi, [edx + esi*2]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], esi
movzx eax, byte [ecx + 5]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x50], eax
movzx eax, byte [ecx + 3]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x46600c
jmp 0x465e50
lea eax, [ebx*4]
mov edi, dword [esp + eax + 0x7c]
mov dword [esp + 0x40], eax
mov cl, byte [edi + 1]
movzx edx, word [edi + 0x12]
movzx eax, cl
add edx, eax
mov dword [esp + 0x48], edx
test cl, cl
je 0x465eec
xor ebx, ebx
test edx, edx
jle 0x465f44
lea ecx, [ecx]
movzx eax, byte [edi + 1]
mov ecx, ebx
dec eax
js 0x465ea0
lea esi, [eax + 0xb]
lea esi, [edi + esi*2]
nop
movzx edx, word [esi]
cmp edx, ecx
jg 0x465e9a
je 0x465ee6
dec ecx
sub esi, 2
dec eax
jns 0x465e90
mov eax, dword [edi + 0x40]
movzx edx, byte [eax + ecx*2]
movzx eax, byte [eax + ecx*2 + 1]
shl edx, 8
or edx, eax
movzx eax, word [edi + 0x14]
and edx, eax
add edx, dword [edi + 0x38]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
mov dword [ecx + eax*4], edx
mov ecx, edi
call fcn.0045f4a0
mov edx, dword [esp + 0x20]
inc ebx
mov ecx, dword [esp + 0x24]
mov word [ecx + edx*2], ax
inc edx
mov dword [esp + 0x20], edx
cmp ebx, dword [esp + 0x48]
jl 0x465e80
jmp 0x465f48
mov edx, dword [edi + eax*4 + 0x20]
jmp 0x465eba
mov ebx, dword [edi + 0x38]
movzx eax, word [edi + 0x14]
movzx ecx, word [edi + 0xe]
test edx, edx
jle 0x465f44
mov edx, eax
lea esi, [ebx + ecx]
mov dword [esp + 0x5c], edx
movzx eax, byte [esi]
movzx ecx, byte [esi + 1]
shl eax, 8
or ecx, eax
mov eax, dword [esp + 0x20]
and edx, ecx
mov ecx, dword [esp + 0x44]
add edx, ebx
mov dword [ecx + eax*4], edx
mov ecx, edi
call fcn.0045f4a0
mov ecx, dword [esp + 0x20]
lea esi, [esi + 2]
mov edx, dword [esp + 0x24]
mov word [edx + ecx*2], ax
inc ecx
dec dword [esp + 0x48]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x20], ecx
jne 0x465f04
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
dec eax
mov esi, dword [esp + 0x1c]
mov dword [esp + ecx + 0xe4], edx
cmp ebx, eax
jge 0x465ff9
cmp dword [esp + 0x30], 0
jne 0x465ff9
movzx eax, word [esp + ecx + 0x9c]
mov ebx, dword [esp + 0x24]
push eax
push dword [esp + ecx + 0x104]
mov word [ebx + edx*2], ax
mov edx, dword [esp + 0x60]
add esi, edx
add edx, eax
push esi
mov dword [esp + 0x64], edx
call fcn.004cd4f0
mov ebx, dword [esp + 0x5c]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
movzx eax, bx
add eax, esi
mov esi, dword [esp + 0x24]
mov dword [ecx + edx*4], eax
sub word [esi + edx*2], bx
cmp byte [edi + 5], 0
jne 0x465fcf
mov eax, dword [edi + 0x38]
mov ecx, dword [ecx + edx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x465ff0
cmp word [esi + edx*2], 4
jae 0x465ff0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
mov byte [ecx + eax], 0
inc eax
mov dword [esp + 0x58], eax
mov eax, 4
mov word [esi + edx*2], ax
mov ebx, dword [esp + 0x34]
inc edx
mov dword [esp + 0x20], edx
inc ebx
mov dword [esp + 0x34], ebx
cmp ebx, dword [esp + 0x38]
jl 0x465e50
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
xor ecx, ecx
mov edi, dword [esp + 0x20]
xor ebx, ebx
movzx esi, ax
mov eax, dword [esp + 0x2c]
add esi, 0xfffffff4
mov eax, dword [eax + 0x24]
add esi, eax
xor eax, eax
mov dword [esp + 0x5c], esi
test edi, edi
jle 0x46608f
movzx edx, word [edx + ecx*2]
add eax, 2
add eax, edx
cmp eax, esi
jle 0x466061
sub eax, edx
mov dword [esp + ebx*4 + 0x88], ecx
sub eax, 2
cmp dword [esp + 0x30], 0
mov dword [esp + ebx*4 + 0x9c], eax
je 0x466059
dec ecx
inc ebx
xor eax, eax
cmp ebx, 4
jg 0x46606c
inc ecx
cmp ecx, edi
jge 0x46608f
mov edx, dword [esp + 0x24]
jmp 0x466031
push 0x51877c
push 0xea4b
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0044eab0
add esp, 0x10
mov ebx, 0xb
jmp 0x466a83
mov dword [esp + ebx*4 + 0x9c], eax
mov dword [esp + ebx*4 + 0x88], edi
inc ebx
mov dword [esp + 0x40], ebx
lea ecx, [ebx - 1]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jle 0x466157
mov eax, dword [esp + 0x30]
jmp 0x4660c0
mov edx, dword [esp + ecx*4 + 0x9c]
mov ebx, dword [esp + ecx*4 + 0x98]
mov edi, dword [esp + ecx*4 + 0x84]
dec edi
mov esi, edi
sub esi, eax
inc esi
test edx, edx
je 0x466105
cmp dword [ebp + 0x10], 0
jne 0x466138
mov eax, dword [esp + 0x24]
mov ecx, ebx
movzx eax, word [eax + edi*2]
sub ecx, eax
mov eax, dword [esp + 0x24]
sub ecx, 2
movzx eax, word [eax + esi*2]
add eax, 2
add eax, edx
cmp eax, ecx
jg 0x466130
mov ecx, dword [esp + 0x24]
movzx eax, word [ecx + esi*2]
add eax, 2
add edx, eax
movzx eax, word [ecx + edi*2]
mov ecx, 0xfffffffe
sub ecx, eax
mov eax, dword [esp + 0x30]
add ebx, ecx
mov ecx, dword [esp + 0x1c]
dec dword [esp + ecx*4 + 0x84]
jmp 0x4660ce
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov dword [esp + ecx*4 + 0x9c], edx
mov dword [esp + ecx*4 + 0x98], ebx
dec ecx
mov dword [esp + 0x1c], ecx
test ecx, ecx
jg 0x4660c0
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x7c]
cmp dword [eax + 0x48], 1
ja 0x466184
push 0x51877c
push 0xea86
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0044eab0
add esp, 0x10
mov ebx, 0xb
jmp 0x466a83
mov eax, dword [eax + 0x38]
xor esi, esi
movzx eax, byte [eax]
lea ecx, [esi + 1]
mov dword [esp + 0x34], eax
test ebx, ebx
jle 0x466295
jmp 0x4661a0
cmp esi, dword [esp + 0x38]
jge 0x4661f5
mov eax, dword [esp + esi*4 + 0x7c]
mov dword [esp + esi*4 + 0x68], eax
mov dword [esp + esi*4 + 0x7c], 0
mov dword [esp + 0x1c], eax
mov ecx, dword [eax + 0x44]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x4661d5
call fcn.0045ada0
jmp 0x4661da
call fcn.0045abf0
inc dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], edi
test edi, edi
jne 0x466a7f
jmp 0x466287
cmp dword [ebp + 0x10], 0
lea edx, [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmovne eax, ecx
mov ecx, dword [esp + 0x2c]
push 0
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00463a20
mov edi, eax
add esp, 0xc
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], edi
test edi, edi
jne 0x466a7f
mov edi, dword [esp + 0x1c]
mov ecx, edi
mov edx, dword [esp + 0x34]
call fcn.0045ffb0
mov ecx, dword [esp + 0x2c]
inc dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov dword [esp + esi*4 + 0x68], edi
cmp byte [ecx + 0x11], 0
mov dword [esp + esi*4 + 0xe4], eax
je 0x46627f
mov edx, dword [edi + 0x48]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push dword [eax + 0x48]
push 5
call fcn.0045f0e0
mov edi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0xc], edi
test edi, edi
jne 0x466a7f
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
inc esi
mov ecx, 1
cmp esi, ebx
jl 0x4661a0
mov esi, dword [esp + 0x14]
xor ecx, ecx
test esi, esi
jle 0x4662e7
nop
mov eax, dword [esp + ecx*4 + 0x68]
mov edx, dword [eax + 0x48]
mov eax, dword [eax + 0x44]
mov dword [esp + ecx*4 + 0xc8], edx
mov dword [esp + ecx*4 + 0xb0], edx
mov ax, word [eax + 0x18]
mov word [esp + ecx*2 + 0x100], ax
xor eax, eax
test ecx, ecx
jle 0x4662e2
lea ebx, [ebx]
cmp dword [esp + eax*4 + 0xc8], edx
je 0x4663cf
inc eax
cmp eax, ecx
jl 0x4662d0
inc ecx
cmp ecx, esi
jl 0x4662a0
xor edi, edi
mov dword [esp + 0x10], edi
test esi, esi
jle 0x466535
xor ebx, ebx
lea ecx, [ebx + 1]
cmp esi, ecx
jle 0x466338
mov edi, dword [esp + 0x14]
xor esi, esi
jmp 0x466310
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0xb0]
cmp eax, dword [esp + esi + 0xb0]
jae 0x46632b
mov ebx, ecx
mov esi, edx
inc ecx
cmp ecx, edi
jl 0x466310
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + ebx*4 + 0xb0]
mov dword [esp + 0x40], eax
mov dword [esp + ebx*4 + 0xb0], 0xffffffff
cmp ebx, edi
je 0x466528
jle 0x466451
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 0x2c]
mov eax, dword [esp + ebx*4 + 0x68]
inc esi
add esi, ebx
push esi
mov edi, dword [eax + 0x44]
xor eax, eax
push dword [edi + 0x14]
mov word [edi + 0x18], ax
mov eax, dword [edi + 0x1c]
push dword [edi]
push dword [eax + 0x28]
call dword [0x52c60c]
movzx eax, word [edi + 0x18]
add esp, 0x10
mov dword [edi + 0x14], esi
test al, 2
je 0x46644d
test al, 4
je 0x46644d
mov ecx, dword [edi + 0x1c]
cmp dword [ecx + 8], edi
jne 0x4663c0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4663bd
mov edi, edi
test byte [eax + 0x18], 4
je 0x4663bd
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x4663b0
mov dword [ecx + 8], eax
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
test edx, edx
je 0x4663f2
mov dword [edx + 0x24], eax
jmp 0x4663f5
push 0x51877c
push 0xeabd
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0044eab0
add esp, 0x10
mov ebx, 0xb
jmp 0x466a83
mov dword [ecx + 4], eax
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
test edx, edx
je 0x466404
mov dword [edx + 0x20], eax
jmp 0x466413
mov dword [ecx], eax
test eax, eax
jne 0x466413
cmp byte [ecx + 0x1c], al
je 0x466413
mov byte [ecx + 0x1d], 2
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov eax, dword [ecx]
mov dword [edi + 0x20], eax
test eax, eax
je 0x46642f
mov dword [eax + 0x24], edi
jmp 0x46643c
cmp byte [ecx + 0x1c], 0
mov dword [ecx + 4], edi
je 0x46643c
mov byte [ecx + 0x1d], 1
cmp dword [ecx + 8], 0
mov dword [ecx], edi
jne 0x46644d
test byte [edi + 0x18], 4
jne 0x46644d
mov dword [ecx + 8], edi
mov edi, dword [esp + 0x10]
mov eax, dword [esp + edi*4 + 0x68]
mov esi, dword [eax + 0x44]
mov ax, word [esp + ebx*2 + 0x100]
mov ebx, dword [esp + 0x40]
push ebx
push dword [esi + 0x14]
mov word [esi + 0x18], ax
mov eax, dword [esi + 0x1c]
push dword [esi]
push dword [eax + 0x28]
call dword [0x52c60c]
movzx eax, word [esi + 0x18]
add esp, 0x10
mov dword [esi + 0x14], ebx
test al, 2
je 0x46651d
test al, 4
je 0x46651d
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 8], esi
jne 0x4664b3
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4664b0
test byte [eax + 0x18], 4
je 0x4664b0
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x4664a3
mov dword [ecx + 8], eax
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
test edx, edx
je 0x4664c2
mov dword [edx + 0x24], eax
jmp 0x4664c5
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
test edx, edx
je 0x4664d4
mov dword [edx + 0x20], eax
jmp 0x4664e3
mov dword [ecx], eax
test eax, eax
jne 0x4664e3
cmp byte [ecx + 0x1c], al
je 0x4664e3
mov byte [ecx + 0x1d], 2
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov eax, dword [ecx]
mov dword [esi + 0x20], eax
test eax, eax
je 0x4664ff
mov dword [eax + 0x24], esi
jmp 0x46650c
cmp byte [ecx + 0x1c], 0
mov dword [ecx + 4], esi
je 0x46650c
mov byte [ecx + 0x1d], 1
cmp dword [ecx + 8], 0
mov dword [ecx], esi
jne 0x46651d
test byte [esi + 0x18], 4
jne 0x46651d
mov dword [ecx + 8], esi
mov eax, dword [esp + edi*4 + 0x68]
mov esi, dword [esp + 0x14]
mov dword [eax + 0x48], ebx
inc edi
mov dword [esp + 0x10], edi
cmp edi, esi
jl 0x4662f5
mov eax, dword [esp + esi*4 + 0x64]
mov edx, dword [esp + 0x54]
mov ecx, dword [eax + 0x48]
mov eax, ecx
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 1], al
mov eax, ecx
shr eax, 8
test byte [esp + 0x34], 8
mov byte [edx + 2], al
mov byte [edx + 3], cl
jne 0x46658a
mov ecx, dword [esp + 0x38]
cmp ecx, esi
je 0x46658a
cmp esi, ecx
lea edx, [esp + 0x7c]
lea eax, [esp + 0x68]
cmovle eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + esi*4 + 0x64]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x68]
cmp byte [ebx + 0x11], 0
je 0x466746
movzx eax, byte [esi + 1]
xor edi, edi
movzx ecx, word [esi + 0x12]
mov edx, dword [esi + 0x38]
add ecx, eax
mov eax, dword [ebx + 0x24]
xor ebx, ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], 0
cmp dword [esp + 0x20], ebx
jle 0x466746
xor eax, eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + ebx*4]
mov dword [esp + 0x34], ecx
cmp ebx, dword [esp + 0x1c]
jne 0x466622
inc edi
cmp edi, dword [esp + 0x14]
jge 0x4665f2
mov edx, dword [esp + edi*4 + 0x68]
jmp 0x4665f6
mov edx, dword [esp + edi*4 + 0x7c]
movzx eax, byte [edx + 1]
movzx ecx, word [edx + 0x12]
mov edx, dword [edx + 0x38]
add ecx, eax
xor eax, eax
mov dword [esp + 0x48], edx
cmp dword [esp + 0x30], eax
sete al
add eax, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
cmp ebx, dword [esp + eax + 0x88]
jne 0x46664a
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x54], eax
shl eax, 2
cmp dword [esp + 0x30], 0
mov dword [esp + 0x10], eax
mov esi, dword [esp + eax + 0x68]
je 0x466733
cmp edi, dword [esp + 0x14]
jge 0x46666e
mov eax, dword [esi + 0x48]
cmp eax, dword [esp + edi*4 + 0xc8]
jne 0x46666e
cmp ecx, edx
jb 0x46666e
mov eax, dword [esp + 0x40]
add eax, edx
cmp ecx, eax
jb 0x46672f
cmp word [esp + 0x50], 0
jne 0x4666b4
movzx edx, byte [ecx]
lea eax, [esp + 0x18]
push eax
movzx eax, byte [ecx + 1]
push dword [esi + 0x48]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esp + 0x34]
shl edx, 8
push 5
or edx, eax
call fcn.0045f0e0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0xc], ecx
jmp 0x4666b8
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
mov ax, word [eax + ebx*2]
cmp ax, word [esi + 0xc]
jbe 0x46672f
test ecx, ecx
jne 0x46672f
mov edx, dword [esp + 0x34]
lea eax, [esp + 0xb0]
push eax
mov ecx, esi
call fcn.0045f360
mov ax, word [esp + 0xc6]
add esp, 4
test ax, ax
je 0x46672f
movzx ecx, ax
lea eax, [esp + 0x18]
add ecx, dword [esp + 0x34]
push eax
push dword [esi + 0x48]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esi + 0x34]
shl edx, 8
push 3
or edx, eax
call fcn.0045f0e0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
inc ebx
cmp ebx, dword [esp + 0x20]
jl 0x4665d4
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x14]
xor ebx, ebx
lea eax, [edi - 1]
test eax, eax
jle 0x46689e
jmp 0x466760
mov eax, dword [esp + ebx*4 + 0x88]
mov edx, dword [esp + 0x44]
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov ecx, dword [esp + ebx*4 + 0x68]
mov edi, dword [esp + 0x60]
add edi, dword [esp + 0x64]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x50]
movzx eax, word [edx + eax*2]
movzx edx, cx
mov ecx, dword [esp + 0x3c]
add edx, eax
cmp byte [ecx + 5], 0
jne 0x4667ad
mov ecx, dword [ecx + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x466854
cmp dword [esp + 0x30], 0
je 0x46683e
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xc8]
push eax
mov edx, dword [edx - 4]
call fcn.0045f360
mov edx, dword [esp + 0xd0]
add esp, 4
mov ecx, dword [esp + 0xc8]
mov esi, edi
test edx, edx
ja 0x46682a
jb 0x4667ea
cmp ecx, 0x7f
ja 0x4667fc
mov eax, 1
and cl, 0x7f
mov byte [edi + 4], cl
xor edi, edi
lea edx, [eax + 4]
jmp 0x466854
test edx, edx
ja 0x46682a
jb 0x46680a
cmp ecx, 0x3fff
ja 0x46682a
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov byte [edi + 5], cl
or al, 0x80
shr edx, 7
mov byte [edi + 4], al
mov eax, 2
xor edi, edi
lea edx, [eax + 4]
jmp 0x466854
push edx
push ecx
lea ecx, [edi + 4]
call fcn.00450490
add esp, 8
xor edi, edi
lea edx, [eax + 4]
jmp 0x466854
sub esi, 4
cmp eax, 4
jne 0x466858
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.0045f4a0
movzx edx, ax
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x60], edx
lea eax, [esp + 0x18]
push eax
push dword [ecx + 0x48]
mov ecx, dword [esp + 0x30]
push edi
push edx
mov edx, dword [esp + 0x5c]
push esi
lea edx, [edx + ebx]
call fcn.00464db0
mov edi, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0xc], edi
test edi, edi
jne 0x466a7f
mov edi, dword [esp + 0x14]
inc ebx
lea eax, [edi - 1]
cmp ebx, eax
jl 0x466760
mov esi, dword [esp + 0x68]
mov ebx, 1
sub ebx, edi
cmp ebx, edi
jge 0x466966
mov edi, dword [esp + 0x88]
mov eax, ebx
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp byte [esp + esi + 0xf8], 0
jne 0x466953
test ebx, ebx
jns 0x4668df
mov eax, dword [esp + esi*4 + 0xe0]
cmp eax, dword [esp + esi*4 + 0x84]
jl 0x466953
test esi, esi
jne 0x4668eb
xor edx, edx
mov ecx, edi
xor eax, eax
jmp 0x466920
cmp esi, dword [esp + 0x38]
jge 0x466903
xor edx, edx
cmp dword [esp + 0x30], edx
sete dl
add edx, dword [esp + esi*4 + 0xe0]
jmp 0x466907
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + esi*4 + 0x88]
xor eax, eax
cmp dword [esp + 0x30], eax
sete al
add eax, dword [esp + esi*4 + 0x84]
sub ecx, eax
push dword [esp + 0x24]
push dword [esp + 0x48]
push ecx
mov ecx, dword [esp + esi*4 + 0x74]
push eax
call fcn.004655d0
mov eax, dword [esp + esi*4 + 0x78]
add esp, 0x10
mov cx, word [esp + 0x5c]
sub cx, word [esp + esi*4 + 0x9c]
mov byte [esp + esi + 0xf8], 1
mov word [eax + 0x10], cx
inc ebx
cmp ebx, dword [esp + 0x14]
jl 0x4668b4
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x14]
cmp dword [ebp + 0xc], 0
je 0x4669cb
mov ebx, dword [esp + 0x28]
cmp word [ebx + 0x12], 0
jne 0x4669cb
movzx eax, byte [ebx + 6]
cmp ax, word [esi + 0x10]
ja 0x4669cb
mov ecx, esi
call fcn.0045f5e0
mov ecx, dword [esp + 0x68]
mov edx, ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call fcn.00465a10
mov edi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
jne 0x466a30
mov ecx, dword [esp + 0x68]
mov edx, ecx
push dword [ecx + 0x48]
mov ecx, dword [ecx + 0x34]
call fcn.004642b0
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
jmp 0x466a30
mov ebx, dword [esp + 0x2c]
cmp byte [ebx + 0x11], 0
je 0x466a2c
cmp word [esp + 0x50], 0
jne 0x466a2c
xor esi, esi
test edi, edi
jle 0x466a2c
mov eax, dword [esp + esi*4 + 0x68]
lea edx, [esp + 0x18]
push edx
mov ecx, dword [eax + 0x38]
push dword [eax + 0x48]
push 5
movzx edx, byte [ecx + 8]
movzx eax, byte [ecx + 9]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xa]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xb]
shl edx, 8
mov ecx, ebx
or edx, eax
call fcn.0045f0e0
inc esi
add esp, 0xc
cmp esi, edi
jl 0x4669e3
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], edi
jmp 0x466a30
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x38]
cmp esi, ebx
jge 0x466a7f
lea esp, [esp]
mov ecx, dword [esp + esi*4 + 0x7c]
test edi, edi
jne 0x466a5a
push dword [ecx + 0x48]
mov edx, ecx
mov ecx, dword [ecx + 0x34]
call fcn.004642b0
add esp, 4
mov edi, eax
inc esi
cmp esi, ebx
jl 0x466a40
mov dword [esp + 0xc], edi
jmp 0x466a7f
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0x80]
push 0
push eax
call fcn.004ce8d0
add esp, 0xc
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
call fcn.0044c700
mov eax, dword [esp + 0x38]
xor esi, esi
test eax, eax
jle 0x466ac6
mov ecx, dword [esp + esi*4 + 0x7c]
test ecx, ecx
je 0x466ac1
mov ecx, dword [ecx + 0x44]
test byte [ecx + 0x18], 0x40
mov edi, dword [ecx + 0x10]
je 0x466ab1
call fcn.004594d0
jmp 0x466ab6
call fcn.00455240
mov ecx, edi
call fcn.0045a590
mov eax, dword [esp + 0x38]
inc esi
cmp esi, eax
jl 0x466a96
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x466b00
mov ecx, dword [esp + esi*4 + 0x68]
test ecx, ecx
je 0x466afb
mov ecx, dword [ecx + 0x44]
test byte [ecx + 0x18], 0x40
mov edi, dword [ecx + 0x10]
je 0x466aeb
call fcn.004594d0
jmp 0x466af0
call fcn.00455240
mov ecx, edi
call fcn.0045a590
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x466ad0
mov ecx, dword [esp + 0x10c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c8a23
mov esp, ebp
pop ebp
ret