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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x5bf500]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
mov eax, ecx
mov dword [esp + 0xc], 0
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x3c], eax
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x74], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x120], 0
mov byte [esp + 0x124], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x34], ecx
push edi
test esi, esi
jne 0x45d3ea
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0051ece9
mov esp, ebp
pop ebp
ret
movzx edi, word [eax + 0x12]
movzx ecx, byte [eax + 1]
lea esi, [ecx + edi]
cmp esi, 2
jge 0x45d3fe
xor edx, edx
jmp 0x45d41b
test edx, edx
je 0x45d411
cmp edx, esi
jne 0x45d410
mov eax, dword [ebp + 0x10]
lea edx, [eax - 2]
add edx, esi
jmp 0x45d414
dec edx
mov eax, dword [ebp + 0x10]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x44], eax
mov eax, edx
sub eax, ecx
lea ecx, [eax + esi]
cmp ecx, edi
jne 0x45d443
mov eax, dword [esp + 0x40]
movzx ecx, byte [eax + 6]
mov eax, dword [eax + 0x38]
add ecx, 8
add ecx, eax
jmp 0x45d45e
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x14]
movzx ecx, cx
and ecx, eax
add ecx, dword [edx + 0x38]
mov edi, dword [ecx]
bswap edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov edi, edi
mov eax, dword [esp + 0x38]
cmp edi, dword [eax + 0x2c]
jbe 0x45d49c
push 0x598b4c
push 0xd9c5
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00446b80
add esp, 0x10
mov edi, 0xb
jmp 0x45d542
lea ecx, [esp + 0x28]
mov edx, edi
push 0
push ecx
mov ecx, dword [eax]
call fcn.00452460
mov edi, eax
add esp, 8
mov dword [esp + 0xc], edi
test edi, edi
jne 0x45d546
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 4]
mov dword [edx + 0x38], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 0x34], eax
mov eax, dword [esp + 0x30]
cmp eax, 1
mov dword [edx + 0x54], eax
setne al
mov dword [edx + 0x48], ecx
dec al
and al, 0x64
mov byte [edx + 6], al
mov dword [esp + esi*4 + 0x80], edx
cmp byte [edx], 0
jne 0x45d540
mov ecx, edx
call fcn.00457c30
mov edi, eax
mov dword [esp + 0xc], edi
test edi, edi
je 0x45d540
mov ecx, dword [esp + esi*4 + 0x80]
test ecx, ecx
je 0x45d546
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x18], 0x40
mov edi, dword [ecx + 0x10]
je 0x45d52e
call fcn.004513a0
mov ecx, edi
call fcn.00452430
mov edi, dword [esp + 0xc]
jmp 0x45d546
call fcn.0044d2a0
mov ecx, edi
call fcn.00452430
mov edi, dword [esp + 0xc]
jmp 0x45d546
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x45e801
mov eax, dword [esp + esi*4 + 0x80]
movzx ecx, word [eax + 0x12]
movzx eax, byte [eax + 1]
inc eax
add eax, dword [esp + 0x14]
add ecx, eax
mov eax, esi
dec esi
mov dword [esp + 0x14], ecx
test eax, eax
je 0x45d6c4
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x6c]
movzx ecx, word [edx + 0x16]
lea eax, [edi + esi]
cmp eax, ecx
jne 0x45d5c7
cmp byte [edx + 1], 0
je 0x45d5c7
mov eax, dword [edx + 0x20]
push eax
mov dword [esp + esi*4 + 0x114], eax
push edx
mov edi, dword [eax]
mov eax, dword [edx + 0x4c]
bswap edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call eax
movzx eax, ax
add esp, 8
mov dword [esp + esi*4 + 0xa0], eax
mov eax, dword [esp + 0x40]
mov byte [eax + 1], 0
jmp 0x45d470
movzx eax, byte [edx + 1]
mov ecx, edi
sub ecx, eax
mov eax, dword [edx + 0x40]
add ecx, esi
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [edx + 0x14]
movzx ecx, cx
and ecx, eax
mov eax, dword [edx + 0x38]
add eax, ecx
push eax
mov dword [esp + esi*4 + 0x114], eax
push edx
mov ecx, dword [eax]
mov eax, dword [edx + 0x4c]
bswap ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
call eax
movzx edi, ax
add esp, 8
mov eax, dword [esp + 0x38]
mov dword [esp + esi*4 + 0xa0], edi
test byte [eax + 0x16], 4
je 0x45d661
mov eax, dword [esp + 0x40]
mov edx, dword [esp + esi*4 + 0x110]
mov ecx, edx
mov ebx, dword [esp + 0x38]
sub ecx, dword [eax + 0x38]
lea eax, [edi + ecx]
cmp eax, dword [ebx + 0x24]
mov ebx, 0
jg 0x45d688
mov eax, dword [esp + 0x78]
push edi
push edx
add eax, ecx
push eax
call fcn.005256b0
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov eax, dword [esp + 0x78]
sub eax, dword [ecx + 0x38]
add dword [esp + esi*4 + 0x110], eax
jmp 0x45d665
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x1c]
push eax
movzx eax, byte [ecx + 1]
sub edx, eax
push edi
add edx, esi
call fcn.0045c580
mov edi, dword [esp + 0x38]
add esp, 8
jmp 0x45d470
push 0x598b4c
push 0xeda4
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00446b80
lea eax, [esi*4 + 4]
mov ebx, 0xb
push eax
lea eax, [esp + 0x94]
push 0
push eax
call fcn.00525d00
add esp, 0x1c
xor eax, eax
jmp 0x45e7d2
mov eax, dword [esp + 0x38]
lea esi, [ecx + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x20]
lea ecx, [esi + esi*2]
lea ecx, [eax + ecx*2]
call fcn.004447e0
mov dword [esp + 0x10], eax
mov dword [esp + 0x50], eax
test eax, eax
jne 0x45d6f0
lea ebx, [eax + 7]
jmp 0x45e7d2
mov ecx, dword [esp + 0x80]
lea eax, [eax + esi*4]
mov dword [esp + 0x54], eax
lea eax, [eax + esi*2]
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], ecx
movzx eax, byte [ecx + 5]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x70], eax
movzx eax, byte [ecx + 3]
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x44], eax
jle 0x45d950
shl eax, 2
mov dword [esp + 0x3c], eax
mov edi, dword [esp + eax + 0x80]
mov dword [esp + 0x60], edi
movzx eax, word [edi + 0x12]
mov edx, dword [edi + 0x38]
movzx esi, word [edi + 0xe]
mov dword [esp + 0x14], eax
add esi, edx
movzx eax, word [edi + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x58], edx
mov dword [esp + 0x7c], esi
mov ecx, dword [eax + 0x38]
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x45daff
mov eax, dword [esp + 0x14]
add eax, eax
push eax
mov eax, dword [esp + 0x58]
push 0
lea eax, [eax + ebx*2]
push eax
call fcn.00525d00
mov al, byte [edi + 1]
add esp, 0xc
test al, al
je 0x45d82e
mov ecx, dword [esp + 0x54]
movzx eax, al
add eax, eax
push eax
mov eax, dword [esp + 0x18]
add eax, ebx
push 0
lea eax, [ecx + eax*2]
push eax
call fcn.00525d00
movzx edx, word [edi + 0x16]
add esp, 0xc
test edx, edx
jle 0x45d7fc
mov edi, dword [esp + 0x58]
mov ax, word [esi]
add esi, 2
mov ebx, dword [esp + 0x74]
mov ch, al
mov cl, ah
movzx eax, cx
movzx ecx, bx
mov ebx, dword [esp + 0x18]
and eax, ecx
mov ecx, dword [esp + 0x10]
add eax, edi
mov dword [ecx + ebx*4], eax
inc ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x48], ebx
dec edx
jne 0x45d7c5
mov edi, dword [esp + 0x60]
mov dword [esp + 0x7c], esi
xor edx, edx
cmp byte [edi + 1], dl
jbe 0x45d82e
mov esi, dword [esp + 0x10]
lea ecx, [edi + 0x20]
lea ebx, [ebx]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esi + ebx*4], eax
inc edx
movzx eax, byte [edi + 1]
inc ebx
mov dword [esp + 0x48], ebx
cmp edx, eax
jl 0x45d810
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x18], ebx
movzx eax, word [edi + 0xe]
xor edx, edx
movzx ecx, word [edi + 0x12]
add eax, dword [esp + 0x58]
lea eax, [eax + ecx*2]
xor ecx, ecx
mov edi, eax
sub edi, esi
inc edi
shr edi, 1
cmp esi, eax
cmova edi, ecx
test edi, edi
je 0x45d884
mov ax, word [esi]
lea esi, [esi + 2]
mov ebx, dword [esp + 0x74]
mov ch, al
mov cl, ah
inc edx
movzx eax, cx
movzx ecx, bx
mov ebx, dword [esp + 0x18]
and eax, ecx
mov ecx, dword [esp + 0x10]
add eax, dword [esp + 0x58]
mov dword [ecx + ebx*4], eax
inc ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x48], ebx
cmp edx, edi
jb 0x45d851
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
dec eax
mov dword [esp + edx + 0xe4], ebx
cmp dword [esp + 0x2c], eax
jge 0x45d93d
cmp dword [esp + 0x5c], 0
jne 0x45d93d
movzx eax, word [esp + edx + 0xa0]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
push eax
push dword [esp + edx + 0x114]
add esi, edi
mov word [ecx + ebx*2], ax
add edi, eax
push esi
mov dword [esp + 0x30], edi
call fcn.005256b0
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
movzx eax, ax
add eax, esi
mov dword [ecx + ebx*4], eax
mov eax, dword [esp + 0x70]
sub word [edx + ebx*2], ax
mov eax, dword [esp + 0x60]
cmp byte [eax + 5], 0
jne 0x45d90d
mov eax, dword [eax + 0x38]
mov ecx, dword [ecx + ebx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x45d934
cmp word [edx + ebx*2], 4
jae 0x45d934
mov eax, dword [esp + 0x28]
jmp 0x45d920
mov byte [eax + edi], 0
inc edi
inc word [edx + ebx*2]
cmp word [edx + ebx*2], 4
jb 0x45d920
mov dword [esp + 0x24], edi
inc ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x44]
jl 0x45d730
mov eax, dword [esp + 0x70]
xor ecx, ecx
movzx edx, ax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], ecx
mov eax, dword [eax + 0x24]
add eax, 0xfffffff4
add edx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x58], edx
test eax, eax
jle 0x45da18
lea esp, [esp]
mov esi, dword [esp + ecx*4 + 0x80]
mov edi, edx
movzx eax, word [esi + 0x10]
sub edi, eax
lea eax, [esp + 0xa0]
lea eax, [eax + ecx*4]
mov dword [eax], edi
mov dword [esp + 0x74], eax
js 0x45db22
cmp byte [esi + 1], 0
mov dword [esp + 0x3c], 0
jbe 0x45d9f9
mov ebx, dword [esp + 0x3c]
lea ecx, [esi + 0x20]
mov dword [esp + 0x28], ecx
mov edi, edi
push dword [ecx]
mov eax, dword [esi + 0x4c]
push esi
call eax
mov ecx, dword [esp + 0x30]
inc ebx
movzx eax, ax
add ecx, 4
add eax, 2
mov dword [esp + 0x30], ecx
add edi, eax
add esp, 8
movzx eax, byte [esi + 1]
cmp ebx, eax
jl 0x45d9c0
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov dword [eax], edi
mov eax, dword [esp + ecx*4 + 0xe4]
mov dword [esp + ecx*4 + 0xb4], eax
inc ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x60], ecx
cmp ecx, eax
jl 0x45d980
mov dword [esp + 0x2c], 0
mov ecx, eax
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x45dc77
xor edx, edx
lea eax, [esp + 0xb4]
mov edi, 1
mov dword [esp + 0x10], edx
sub eax, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x3c], eax
jmp 0x45da50
mov eax, dword [esp + 0x58]
cmp dword [esp + edx + 0xa0], eax
jle 0x45db6e
cmp edi, ecx
jl 0x45da87
lea ecx, [edi + 1]
mov dword [esp + 0x24], ecx
cmp ecx, 5
jg 0x45dd53
mov dword [esp + edx + 0xa4], 0
mov dword [esp + edx + 0xb8], ebx
mov esi, dword [esp + edx + 0xb4]
mov ecx, dword [esp + 0x54]
lea edi, [esi - 1]
movzx eax, word [ecx + edi*2]
test ax, ax
jne 0x45dabc
mov edx, edi
lea ecx, [esp + 0x48]
call fcn.0045c860
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
movzx eax, ax
mov dword [esp + 0x18], ebx
movzx eax, ax
add eax, 2
sub dword [esp + edx + 0xa0], eax
cmp dword [esp + 0x5c], 0
jne 0x45db47
cmp esi, ebx
jge 0x45db45
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x45daf3
mov edx, esi
lea ecx, [esp + 0x48]
call fcn.0045c860
mov ebx, dword [esp + 0x48]
movzx eax, ax
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x10]
movzx eax, ax
add eax, 2
jmp 0x45db47
push 0x598b4c
push 0xede7
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00446b80
add esp, 0x10
mov ebx, 0xb
jmp 0x45e7ce
push 0x598b4c
push 0xee4a
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00446b80
add esp, 0x10
mov ebx, 0xb
jmp 0x45e7ce
xor eax, eax
add dword [esp + edx + 0xa4], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov dword [esp + edx + 0xb4], edi
mov edi, dword [esp + 0x14]
cmp dword [esp + edx + 0xa0], eax
jg 0x45da61
cmp dword [esp + edx + 0xb4], ebx
jge 0x45dc21
mov edi, dword [esp + 0x54]
nop
mov esi, dword [esp + edx + 0xb4]
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x45dbaa
mov edx, esi
lea ecx, [esp + 0x48]
call fcn.0045c860
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x54]
movzx eax, ax
movzx ecx, ax
mov eax, dword [esp + edx + 0xa0]
add ecx, 2
add eax, ecx
cmp eax, dword [esp + 0x58]
jg 0x45dc15
inc esi
mov dword [esp + edx + 0xa0], eax
cmp dword [esp + 0x5c], 0
mov dword [esp + edx + 0xb4], esi
jne 0x45dc06
cmp esi, ebx
jge 0x45dc04
movzx eax, word [edi + esi*2]
test ax, ax
jne 0x45dbf8
mov edx, esi
lea ecx, [esp + 0x48]
call fcn.0045c860
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
movzx eax, ax
mov edx, dword [esp + 0x10]
movzx ecx, ax
add ecx, 2
jmp 0x45dc06
xor ecx, ecx
sub dword [esp + edx + 0xa4], ecx
cmp esi, ebx
jl 0x45db80
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + edx + 0xb4]
cmp ecx, ebx
jl 0x45dc34
mov ecx, edi
mov dword [esp + 0x24], ecx
jmp 0x45dc52
cmp dword [esp + 0x2c], 0
jle 0x45dc44
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + edx]
jmp 0x45dc46
xor eax, eax
cmp ecx, eax
jle 0x45dd7a
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
add edx, 4
inc eax
mov dword [esp + 0x10], edx
inc edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], edi
cmp eax, ecx
jl 0x45da50
mov edx, dword [esp + 0x50]
mov dword [esp + 0x10], edx
dec ecx
mov dword [esp + 0x28], ecx
test ecx, ecx
jle 0x45ddf6
jmp 0x45dc90
shl ecx, 2
mov dword [esp + 0x14], ecx
mov eax, dword [esp + ecx + 0x9c]
mov edi, dword [esp + ecx + 0xa0]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xb4]
sub eax, 4
mov dword [esp + 0x2c], eax
mov esi, dword [eax + ecx]
mov eax, dword [esp + 0x54]
dec esi
mov edx, esi
sub edx, dword [esp + 0x5c]
inc edx
lea ebx, [edx + edx]
cmp word [ebx + eax], 0
jne 0x45dce0
lea ecx, [esp + 0x48]
call fcn.0045c860
lea esp, [esp]
mov edx, dword [esp + 0x54]
cmp word [edx + esi*2], 0
jne 0x45dcfa
mov edx, esi
lea ecx, [esp + 0x48]
call fcn.0045c860
mov edx, dword [esp + 0x54]
test edi, edi
je 0x45dd22
cmp dword [ebp + 0x10], 0
jne 0x45dda1
movzx eax, word [edx + esi*2]
mov ecx, dword [esp + 0x18]
sub ecx, eax
movzx eax, word [ebx + edx]
add eax, 2
sub ecx, 2
add eax, edi
cmp eax, ecx
jg 0x45dda1
movzx eax, word [ebx + edx]
mov ecx, 0xfffffffe
add eax, 2
sub ebx, 2
add edi, eax
movzx eax, word [edx + esi*2]
mov edx, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov dword [ecx + edx], esi
dec esi
jns 0x45dce0
jmp 0x45dda9
push 0x598b4c
push 0xee56
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00446b80
add esp, 0x10
mov ebx, 0xb
mov eax, dword [esp + 0x50]
jmp 0x45e7d2
push 0x598b4c
push 0xee77
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00446b80
mov eax, dword [esp + 0x60]
add esp, 0x10
mov ebx, 0xb
jmp 0x45e7d2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov dword [esp + edx + 0xa0], edi
mov dword [esp + edx + 0x9c], eax
cmp ecx, 1
jle 0x45ddca
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + edx - 4]
jmp 0x45ddcc
xor eax, eax
mov esi, dword [esp + 0x2c]
cmp dword [esi + edx], eax
jle 0x45de71
dec ecx
mov dword [esp + 0x28], ecx
test ecx, ecx
jg 0x45dc90
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x80]
xor edi, edi
mov eax, dword [eax + 0x38]
movzx eax, byte [eax]
mov dword [esp + 0x60], eax
lea eax, [edi + 1]
cmp dword [esp + 0x24], edi
jle 0x45df88
cmp edi, dword [esp + 0x44]
jge 0x45dee9
mov eax, dword [esp + edi*4 + 0x80]
mov dword [esp + edi*4 + 0x8c], eax
mov dword [esp + edi*4 + 0x80], 0
mov dword [esp + 0x28], eax
mov esi, dword [eax + 0x48]
test byte [esi + 0x18], 4
mov ecx, dword [esi + 0x10]
je 0x45deaa
mov eax, dword [ecx + 0x18]
cmp eax, dword [esi + 0x14]
jb 0x45deaa
cmp dword [ecx + 0x60], 0
je 0x45dea6
mov ecx, esi
call fcn.0044e9d0
test eax, eax
je 0x45de98
mov ecx, esi
call fcn.004518f0
mov dword [esp + 0xc], eax
mov ecx, eax
jmp 0x45decc
push 0x598b4c
push 0xeea1
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00446b80
mov eax, dword [esp + 0x60]
add esp, 0x10
mov ebx, 0xb
jmp 0x45e7d2
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
jmp 0x45decc
xor ecx, ecx
jmp 0x45dec8
mov eax, dword [ecx + 0x94]
cmp eax, dword [ecx + 0x98]
mov ecx, esi
jbe 0x45dec1
call fcn.00452c70
jmp 0x45dec6
call fcn.00452bb0
mov ecx, eax
mov dword [esp + 0xc], ecx
inc dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x45df78
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
jmp 0x45e7d2
cmp dword [ebp + 0x10], 0
lea edx, [esp + 0x28]
mov ecx, dword [esp + 0x30]
cmovne ecx, eax
lea eax, [esp + 0x34]
push 0
push ecx
mov ecx, dword [esp + 0x40]
push eax
call fcn.0045b750
add esp, 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x45e7ca
mov esi, dword [esp + 0x28]
mov ecx, esi
mov edx, dword [esp + 0x60]
call fcn.00457f20
mov ecx, dword [esp + 0x38]
inc dword [esp + 0x20]
mov dword [esp + edi*4 + 0x8c], esi
mov dword [esp + edi*4 + 0xe4], ebx
cmp byte [ecx + 0x11], 0
je 0x45df70
mov edx, dword [esi + 0x54]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x44]
push dword [eax + 0x54]
push 5
call fcn.00456e50
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0xc], eax
test eax, eax
jne 0x45e7ca
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], eax
inc edi
mov eax, 1
cmp edi, dword [esp + 0x24]
jl 0x45de16
mov esi, dword [esp + 0x20]
xor ecx, ecx
test esi, esi
jle 0x45dfd7
mov eax, dword [esp + ecx*4 + 0x8c]
mov edx, dword [eax + 0x54]
mov eax, dword [eax + 0x48]
mov dword [esp + ecx*4 + 0xf8], edx
mov dword [esp + ecx*4 + 0xc8], edx
mov ax, word [eax + 0x18]
mov word [esp + ecx*2 + 0x110], ax
xor eax, eax
test ecx, ecx
jle 0x45dfd2
nop
cmp dword [esp + eax*4 + 0xf8], edx
je 0x45e0c0
inc eax
cmp eax, ecx
jl 0x45dfc0
inc ecx
cmp ecx, esi
jl 0x45df92
xor edi, edi
mov dword [esp + 0x30], edi
test esi, esi
jle 0x45e230
xor ebx, ebx
lea ecx, [ebx + 1]
cmp esi, ecx
jle 0x45e028
mov edi, dword [esp + 0x20]
xor esi, esi
jmp 0x45e000
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0xc8]
cmp eax, dword [esp + esi + 0xc8]
jae 0x45e01b
mov ebx, ecx
mov esi, edx
inc ecx
cmp ecx, edi
jl 0x45e000
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + ebx*4 + 0xc8]
mov dword [esp + 0x3c], eax
mov dword [esp + ebx*4 + 0xc8], 0xffffffff
cmp ebx, edi
je 0x45e21f
jle 0x45e142
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 0x2c]
mov eax, dword [esp + ebx*4 + 0x8c]
inc esi
add esi, ebx
push esi
mov edi, dword [eax + 0x48]
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 [0x5c17fc]
movzx eax, word [edi + 0x18]
add esp, 0x10
mov dword [edi + 0x14], esi
test al, 2
je 0x45e13e
test al, 8
je 0x45e13e
mov ecx, dword [edi + 0x1c]
cmp dword [ecx + 8], edi
jne 0x45e0b1
mov eax, dword [edi + 0x24]
test eax, eax
je 0x45e0ae
test byte [eax + 0x18], 8
je 0x45e0ae
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x45e0a1
mov dword [ecx + 8], eax
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
test edx, edx
je 0x45e0e3
mov dword [edx + 0x24], eax
jmp 0x45e0e6
push 0x598b4c
push 0xeeeb
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00446b80
add esp, 0x10
mov ebx, 0xb
jmp 0x45e7ce
mov dword [ecx + 4], eax
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
test edx, edx
je 0x45e0f5
mov dword [edx + 0x20], eax
jmp 0x45e104
mov dword [ecx], eax
test eax, eax
jne 0x45e104
cmp byte [ecx + 0x1c], al
je 0x45e104
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 0x45e120
mov dword [eax + 0x24], edi
jmp 0x45e12d
cmp byte [ecx + 0x1c], 0
mov dword [ecx + 4], edi
je 0x45e12d
mov byte [ecx + 0x1d], 1
cmp dword [ecx + 8], 0
mov dword [ecx], edi
jne 0x45e13e
test byte [edi + 0x18], 8
jne 0x45e13e
mov dword [ecx + 8], edi
mov edi, dword [esp + 0x30]
mov eax, dword [esp + edi*4 + 0x8c]
mov esi, dword [eax + 0x48]
mov ax, word [esp + ebx*2 + 0x110]
mov ebx, dword [esp + 0x3c]
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 [0x5c17fc]
movzx eax, word [esi + 0x18]
add esp, 0x10
mov dword [esi + 0x14], ebx
test al, 2
je 0x45e211
test al, 8
je 0x45e211
mov ecx, dword [esi + 0x1c]
cmp dword [ecx + 8], esi
jne 0x45e1a7
mov eax, dword [esi + 0x24]
test eax, eax
je 0x45e1a4
test byte [eax + 0x18], 8
je 0x45e1a4
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x45e197
mov dword [ecx + 8], eax
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
test edx, edx
je 0x45e1b6
mov dword [edx + 0x24], eax
jmp 0x45e1b9
mov dword [ecx + 4], eax
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
test edx, edx
je 0x45e1c8
mov dword [edx + 0x20], eax
jmp 0x45e1d7
mov dword [ecx], eax
test eax, eax
jne 0x45e1d7
cmp byte [ecx + 0x1c], al
je 0x45e1d7
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 0x45e1f3
mov dword [eax + 0x24], esi
jmp 0x45e200
cmp byte [ecx + 0x1c], 0
mov dword [ecx + 4], esi
je 0x45e200
mov byte [ecx + 0x1d], 1
cmp dword [ecx + 8], 0
mov dword [ecx], esi
jne 0x45e211
test byte [esi + 0x18], 8
jne 0x45e211
mov dword [ecx + 8], esi
mov eax, dword [esp + edi*4 + 0x8c]
mov esi, dword [esp + 0x20]
mov dword [eax + 0x54], ebx
inc edi
mov dword [esp + 0x30], edi
cmp edi, esi
jl 0x45dfe5
mov ebx, dword [esp + 0x18]
test byte [esp + 0x60], 8
mov eax, dword [esp + esi*4 + 0x88]
mov ecx, dword [esp + 0x68]
mov eax, dword [eax + 0x54]
bswap eax
mov dword [ecx], eax
jne 0x45e27b
mov ecx, dword [esp + 0x44]
cmp ecx, esi
je 0x45e27b
cmp esi, ecx
lea edx, [esp + 0x80]
lea eax, [esp + 0x8c]
cmovle eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + esi*4 + 0x88]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x38]
cmp byte [edx + 0x11], 0
je 0x45e449
mov esi, dword [esp + 0x8c]
xor edi, edi
mov dword [esp + 0x68], 0
mov eax, dword [esi + 0x38]
movzx ecx, word [esi + 0x12]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 1]
add ecx, eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
test ebx, ebx
jle 0x45e450
xor eax, eax
mov dword [esp + 0x24], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x10]
mov edx, dword [edx + edi*4]
mov dword [esp + 0x2c], edx
cmp edi, dword [esp + 0x14]
jne 0x45e32c
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, dword [esp + 0x20]
jge 0x45e2f5
mov edx, dword [esp + ecx*4 + 0x8c]
jmp 0x45e2fc
mov edx, dword [esp + ecx*4 + 0x80]
movzx eax, byte [edx + 1]
movzx ecx, word [edx + 0x12]
add ecx, eax
xor eax, eax
cmp dword [esp + 0x5c], eax
sete al
add eax, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
cmp edi, dword [esp + eax + 0xb4]
jne 0x45e357
mov eax, dword [esp + 0x68]
inc eax
mov dword [esp + 0x68], eax
shl eax, 2
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x24], eax
mov esi, dword [esp + eax + 0x8c]
je 0x45e43c
cmp ecx, dword [esp + 0x20]
jge 0x45e37d
mov eax, dword [esi + 0x54]
cmp eax, dword [esp + ecx*4 + 0xf8]
jne 0x45e37d
mov eax, dword [esp + 0x28]
cmp edx, eax
jb 0x45e37d
add eax, dword [esp + 0x3c]
cmp edx, eax
jb 0x45e438
cmp word [esp + 0x70], 0
jne 0x45e3a7
mov edx, dword [edx]
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x38]
push eax
push dword [esi + 0x54]
bswap edx
push 5
call fcn.00456e50
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
movzx eax, word [eax + edi*2]
test ax, ax
jne 0x45e3ce
mov edx, edi
lea ecx, [esp + 0x48]
call fcn.0045c860
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x48]
movzx eax, ax
cmp ax, word [esi + 0xc]
jbe 0x45e42c
cmp dword [esp + 0xc], 0
jne 0x45e7ca
lea eax, [esp + 0xc8]
push eax
push dword [esp + 0x30]
mov eax, dword [esi + 0x50]
push esi
call eax
mov ax, word [esp + 0xe6]
add esp, 0xc
test ax, ax
je 0x45e438
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
push dword [esi + 0x54]
mov ecx, dword [esi + 0x34]
movzx eax, ax
push 3
mov edx, dword [eax + edx]
bswap edx
call fcn.00456e50
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x45e430
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x45e7ca
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
inc edi
cmp edi, ebx
jl 0x45e2d0
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x20]
xor edi, edi
dec eax
test eax, eax
jle 0x45e5d5
nop
mov eax, dword [esp + edi*4 + 0x8c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + edi*4 + 0xb4]
mov esi, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x54]
movzx ecx, word [ecx + eax*2]
movzx edx, cx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x70]
movzx eax, cx
mov ecx, dword [esp + 0x34]
add edx, eax
mov eax, dword [esp + 0x78]
add eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
cmp byte [ecx + 5], 0
mov ecx, dword [esp + 0x3c]
jne 0x45e4c3
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x45e586
cmp dword [esp + 0x5c], 0
je 0x45e56c
lea eax, [esp + 0xf8]
push eax
mov eax, dword [esp + 0x6c]
push dword [eax - 4]
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [eax + 0x50]
call eax
mov eax, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0xfc]
mov esi, eax
mov ecx, dword [esp + 0xf8]
add eax, 4
mov dword [esp + 0x114], edx
mov dword [esp + 0x3c], eax
test edx, edx
ja 0x45e559
jb 0x45e517
cmp ecx, 0x7f
ja 0x45e528
and cl, 0x7f
mov byte [eax], cl
mov eax, 1
lea edx, [eax + 4]
xor eax, eax
jmp 0x45e58a
test edx, edx
ja 0x45e559
jb 0x45e536
cmp ecx, 0x3fff
ja 0x45e559
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
shr edx, 7
or al, 0x80
mov edx, dword [esp + 0x3c]
mov byte [edx], al
mov eax, 2
mov byte [edx + 1], cl
lea edx, [eax + 4]
xor eax, eax
jmp 0x45e58a
push edx
push ecx
mov ecx, eax
call fcn.00448570
add esp, 8
lea edx, [eax + 4]
xor eax, eax
jmp 0x45e58a
sub esi, 4
cmp cx, 4
jne 0x45e58a
mov eax, dword [esp + 0x40]
push esi
push eax
mov eax, dword [eax + 0x4c]
call eax
add esp, 8
movzx edx, ax
mov eax, dword [esp + 0x14]
add dword [esp + 0x64], edx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x38]
push dword [ecx + 0x54]
mov ecx, dword [esp + 0x48]
push eax
push edx
mov edx, dword [esp + 0x7c]
push esi
lea edx, [edx + edi]
call fcn.0045c6b0
mov eax, dword [esp + 0x30]
add esp, 0x14
mov dword [esp + 0xc], eax
test eax, eax
jne 0x45e7ca
mov eax, dword [esp + 0x20]
inc edi
dec eax
cmp edi, eax
jl 0x45e460
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x20]
mov eax, 1
sub eax, edi
mov dword [esp + 0x64], eax
cmp eax, edi
jge 0x45e6d8
lea esp, [esp]
cdq
lea edi, [esp + 0x124]
mov ecx, eax
xor ecx, edx
sub ecx, edx
add edi, ecx
cmp byte [edi], 0
jne 0x45e6b4
cmp dword [esp + 0x64], 0
jge 0x45e624
mov eax, dword [esp + ecx*4 + 0xe0]
cmp eax, dword [esp + ecx*4 + 0xb0]
jl 0x45e6b4
test ecx, ecx
jne 0x45e635
mov edx, dword [esp + 0xb4]
xor ebx, ebx
xor eax, eax
jmp 0x45e664
cmp ecx, dword [esp + 0x44]
jge 0x45e64b
xor ebx, ebx
cmp dword [esp + 0x5c], ebx
sete bl
add ebx, dword [esp + ecx*4 + 0xe0]
mov edx, dword [esp + ecx*4 + 0xb4]
xor eax, eax
cmp dword [esp + 0x5c], eax
sete al
add eax, dword [esp + ecx*4 + 0xb0]
sub edx, eax
lea esi, [ecx*4]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + esi + 0x90]
push edx
push eax
mov edx, ebx
call fcn.0045ce90
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x45dd71
mov eax, dword [esp + esi + 0x8c]
mov cx, word [esp + 0x58]
sub cx, word [esp + esi + 0xa0]
mov ebx, dword [esp + 0x48]
mov byte [edi], 1
mov word [eax + 0x10], cx
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x20]
inc eax
mov dword [esp + 0x64], eax
cmp eax, edi
jl 0x45e5f0
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x10], eax
cmp dword [ebp + 0xc], 0
je 0x45e73f
mov ebx, dword [esp + 0x40]
cmp word [ebx + 0x12], 0
jne 0x45e73f
movzx eax, byte [ebx + 6]
cmp ax, word [esi + 0x10]
ja 0x45e73f
mov ecx, esi
call fcn.00457410
mov ecx, dword [esp + 0x8c]
mov edx, ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
call fcn.0045d290
mov edi, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
jne 0x45e798
mov ecx, dword [esp + 0x8c]
mov edx, ecx
push dword [ecx + 0x54]
mov ecx, dword [ecx + 0x34]
call fcn.0045bda0
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
jmp 0x45e798
mov ecx, dword [esp + 0x38]
cmp byte [ecx + 0x11], 0
je 0x45e794
cmp word [esp + 0x70], 0
jne 0x45e794
xor esi, esi
test edi, edi
jle 0x45e794
jmp 0x45e760
mov eax, dword [esp + esi*4 + 0x8c]
lea edx, [esp + 0x1c]
push edx
push dword [eax + 0x54]
mov eax, dword [eax + 0x38]
push 5
mov edx, dword [eax + 8]
bswap edx
call fcn.00456e50
mov ecx, dword [esp + 0x44]
inc esi
add esp, 0xc
cmp esi, edi
jl 0x45e760
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xc], edi
jmp 0x45e798
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x44]
cmp esi, ebx
jge 0x45e7ca
mov ecx, dword [esp + esi*4 + 0x80]
test edi, edi
jne 0x45e7c1
push dword [ecx + 0x54]
mov edx, ecx
mov ecx, dword [ecx + 0x34]
call fcn.0045bda0
add esp, 4
mov edi, eax
inc esi
cmp esi, ebx
jl 0x45e7a4
mov dword [esp + 0xc], edi
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, eax
call fcn.00444900
mov eax, dword [esp + 0x44]
xor esi, esi
test eax, eax
jle 0x45e838
mov ecx, dword [esp + esi*4 + 0x80]
test ecx, ecx
je 0x45e833
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x18], 0x40
mov edi, dword [ecx + 0x10]
je 0x45e823
call fcn.004513a0
jmp 0x45e828
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0x84]
push 0
push eax
call fcn.00525d00
mov ebx, dword [esp + 0x18]
add esp, 0xc
xor eax, eax
jmp 0x45e7d2
call fcn.0044d2a0
mov ecx, edi
call fcn.00452430
mov eax, dword [esp + 0x44]
inc esi
cmp esi, eax
jl 0x45e7e3
mov eax, dword [esp + 0x20]
xor esi, esi
test eax, eax
jle 0x45e875
mov ecx, dword [esp + esi*4 + 0x8c]
test ecx, ecx
je 0x45e870
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x18], 0x40
mov edi, dword [ecx + 0x10]
je 0x45e860
call fcn.004513a0
jmp 0x45e865
call fcn.0044d2a0
mov ecx, edi
call fcn.00452430
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x45e842
mov ecx, dword [esp + 0x12c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051ece9
mov esp, ebp
pop ebp
ret