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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [0x5322a8]
xor eax, esp
mov dword [esp + 0xd0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov ebx, ecx
mov ecx, dword [ebx + 0x34]
push edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], ecx
cmp eax, esi
jne 0x41abd7
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.004e3946
mov esp, ebp
pop ebp
ret
movzx ecx, word [ebx + 0x10]
movzx eax, byte [ebx + 1]
lea edi, [eax + ecx]
cmp edi, 2
jge 0x41abed
mov dword [esp + 0x1c], esi
jmp 0x41ac11
cmp edx, esi
jne 0x41abf7
mov dword [esp + 0x1c], esi
jmp 0x41ac09
cmp edx, edi
jne 0x41ac04
mov edx, dword [ebp + 0x10]
lea edx, [edi + edx - 2]
jmp 0x41ac05
dec edx
mov dword [esp + 0x1c], edx
mov edi, 2
sub edi, dword [ebp + 0x10]
lea edx, [edi + 1]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
sub edx, eax
lea eax, [edx + edi]
cmp eax, ecx
jne 0x41ac36
movzx eax, byte [ebx + 5]
mov ecx, dword [ebx + 0x38]
lea ecx, [eax + ecx + 8]
mov dword [esp + 0x6c], ecx
jmp 0x41ac57
mov edx, dword [ebx + 0x40]
lea ecx, [edx + eax*2]
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
movzx edx, word [ebx + 0x12]
shl eax, 8
or eax, ecx
and eax, edx
add eax, dword [ebx + 0x38]
mov dword [esp + 0x6c], eax
mov ecx, eax
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov dword [esp + 0x14], eax
lea esp, [esp]
mov edx, dword [esp + 0x30]
cmp eax, dword [edx + 0x2c]
jbe 0x41acac
push 0x51c5a4
push 0xc7f8
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00405c00
add esp, 0x10
mov dword [esp + 0x24], 0xb
jmp 0x41ad11
lea ecx, [esp + 0x34]
push ecx
push eax
mov eax, dword [edx]
xor ecx, ecx
call fcn.00410700
add esp, 8
cmp eax, esi
je 0x41acc8
mov dword [esp + 0x24], eax
jmp 0x41ad11
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 8]
mov edx, dword [eax + 4]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x14]
cmp eax, 1
setne cl
dec cl
and cl, 0x64
mov dword [esi + 0x38], edx
mov dword [esi + 0x48], eax
mov byte [esi + 5], cl
mov dword [esp + edi*4 + 0x70], esi
call fcn.00415960
mov dword [esp + 0x24], eax
test eax, eax
je 0x41ad11
mov edx, dword [esi + 0x44]
push edx
call fcn.00410a50
add esp, 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x41ae7e
mov eax, dword [esp + edi*4 + 0x70]
movzx edx, byte [eax + 1]
movzx ecx, word [eax + 0x10]
add edx, dword [esp + 0x5c]
mov eax, edi
lea esi, [edx + ecx + 1]
dec edi
mov dword [esp + 0x5c], esi
test eax, eax
je 0x41ae9a
movzx ecx, word [ebx + 0x14]
mov eax, dword [esp + 0x1c]
lea edx, [eax + edi]
cmp edx, ecx
jne 0x41ada9
cmp byte [ebx + 1], 0
je 0x41ada9
mov ecx, dword [ebx + 0x20]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 3]
shl eax, 8
or eax, edx
mov dword [esp + 0x14], eax
push ecx
mov eax, ebx
mov dword [esp + edi*4 + 0x80], ecx
call fcn.004151b0
movzx eax, ax
add esp, 4
mov dword [esp + edi*4 + 0xb4], eax
mov eax, dword [esp + 0x14]
mov byte [ebx + 1], 0
xor esi, esi
jmp 0x41ac80
movzx ecx, byte [ebx + 1]
mov edx, dword [ebx + 0x40]
sub eax, ecx
add eax, edi
movzx ecx, byte [edx + eax*2]
lea eax, [edx + eax*2]
movzx edx, byte [eax + 1]
movzx eax, word [ebx + 0x12]
shl ecx, 8
or ecx, edx
and ecx, eax
add ecx, dword [ebx + 0x38]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
shl edx, 8
or eax, edx
movzx edx, byte [ecx + 2]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 3]
shl eax, 8
or eax, edx
mov dword [esp + 0x14], eax
push ecx
mov eax, ebx
mov dword [esp + edi*4 + 0x80], ecx
call fcn.004151b0
mov ecx, dword [esp + 0x34]
movzx eax, ax
add esp, 4
test byte [ecx + 0x16], 4
mov dword [esp + 0x24], eax
mov dword [esp + edi*4 + 0xb4], eax
je 0x41ae55
mov esi, dword [esp + edi*4 + 0x7c]
mov edx, dword [esp + 0x24]
mov eax, esi
sub eax, dword [ebx + 0x38]
add edx, eax
cmp edx, dword [ecx + 0x24]
jg 0x41b9a5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
push ecx
add edx, eax
push esi
push edx
call fcn.004eaf30
sub esi, dword [ebx + 0x38]
mov eax, dword [esp + 0x30]
add esp, 0xc
add esi, dword [esp + 0x60]
mov dword [esp + edi*4 + 0x7c], esi
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push eax
movzx eax, byte [ebx + 1]
sub edx, eax
add edx, edi
call fcn.0041a5e0
mov eax, dword [esp + 0x1c]
add esp, 8
xor esi, esi
jmp 0x41ac80
lea ecx, [edi*4 + 4]
push ecx
lea edx, [esp + 0x74]
push 0
push edx
call fcn.004e7d90
add esp, 0xc
jmp 0x41b9e3
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x20]
mov edi, dword [esp + 0x44]
lea ecx, [eax + 0x50]
mov dword [esp + 0x38], ecx
imul ecx, edi
add esi, 3
and esi, 0xfffffffc
lea edx, [esi + esi*2]
add ecx, eax
lea eax, [ecx + edx*2]
call fcn.00403f80
mov dword [esp + 0x28], eax
test eax, eax
jne 0x41aed7
mov dword [esp + 0x18], 7
jmp 0x41b9e3
lea eax, [eax + esi*4]
mov dword [esp + 0x20], eax
lea eax, [eax + esi*2]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
movzx ecx, byte [eax + 3]
movzx eax, byte [eax + 4]
add cx, cx
add cx, cx
movzx edx, cx
mov dword [esp + 0x24], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10], 0
test edi, edi
jle 0x41b114
mov ecx, dword [esp + 0x44]
dec ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], 0
mov edx, dword [esp + 0x30]
mov ebx, dword [edx + 0x20]
add ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
add ebx, dword [esp + 0x34]
mov ecx, 0x13
mov dword [esp + eax*4 + 0x84], ebx
lea eax, [esp + eax*4 + 0x70]
mov eax, dword [eax]
mov esi, eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x4c]
mov dword [ebx + 0x38], ecx
mov edx, dword [edx + 0x20]
mov eax, dword [eax + 0x38]
push edx
push eax
push ecx
call fcn.004eaf30
mov al, byte [ebx + 1]
movzx edi, word [ebx + 0x10]
movzx ecx, al
add esp, 0xc
add edi, ecx
test al, al
je 0x41affc
mov dword [esp + 0x40], 0
test edi, edi
jle 0x41b062
movzx eax, byte [ebx + 1]
dec eax
mov ecx, dword [esp + 0x40]
js 0x41afa8
lea esi, [ebx + eax*2 + 0x14]
movzx edx, word [esi]
cmp edx, ecx
jg 0x41afa2
je 0x41aff6
dec ecx
sub esi, 2
dec eax
jns 0x41af98
mov edx, dword [ebx + 0x40]
movzx eax, byte [edx + ecx*2 + 1]
lea ecx, [edx + ecx*2]
movzx ecx, byte [ecx]
movzx edx, word [ebx + 0x12]
shl ecx, 8
or eax, ecx
and eax, edx
add eax, dword [ebx + 0x38]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov dword [ecx + esi*4], eax
push eax
mov eax, ebx
call fcn.004151b0
mov edx, dword [esp + 0x24]
mov word [edx + esi*2], ax
mov eax, dword [esp + 0x44]
inc eax
inc esi
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
cmp eax, edi
jl 0x41af89
jmp 0x41b062
mov eax, dword [ebx + eax*4 + 0x20]
jmp 0x41afc4
mov edx, dword [ebx + 0x38]
movzx eax, word [ebx + 0x12]
movzx ecx, word [ebx + 0xc]
mov dword [esp + 0x64], edx
test edi, edi
jle 0x41b062
mov dword [esp + 0x68], eax
lea esi, [edx + ecx]
mov dword [esp + 0x40], edi
lea ebx, [ebx]
movzx edx, byte [esi]
movzx ecx, byte [esi + 1]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x3c]
shl edx, 8
or ecx, edx
and ecx, dword [esp + 0x68]
add eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [ecx + edi*4], eax
push eax
mov eax, ebx
call fcn.004151b0
mov edx, dword [esp + 0x24]
mov word [edx + edi*2], ax
inc edi
add esp, 4
add esi, 2
dec dword [esp + 0x40]
mov dword [esp + 0x3c], edi
jne 0x41b020
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x54]
jge 0x41b0f9
cmp dword [esp + 0x4c], 0
jne 0x41b0f9
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov edx, eax
movzx eax, word [esp + edx*4 + 0xb4]
mov edx, dword [esp + edx*4 + 0x7c]
mov word [ecx + esi*2], ax
mov ecx, dword [esp + 0x48]
push eax
add edi, ecx
push edx
add ecx, eax
push edi
mov dword [esp + 0x54], ecx
call fcn.004eaf30
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
movzx eax, cx
add eax, edi
mov dword [edx + esi*4], eax
mov eax, dword [esp + 0x2c]
sub word [eax + esi*2], cx
mov ax, word [eax + esi*2]
add esp, 0xc
cmp byte [ebx + 3], 0
jne 0x41b0e1
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 8]
mov ecx, edx
mov edx, dword [ecx + esi*4]
mov dword [edx], eax
jmp 0x41b0f4
cmp ax, 4
jae 0x41b0f4
mov edx, dword [esp + 0x20]
mov ecx, 4
mov word [edx + esi*2], cx
inc esi
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
add dword [esp + 0x5c], ecx
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x44]
jl 0x41af23
movzx eax, word [esp + 0x24]
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + 0x24]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x20]
lea edx, [ecx + eax - 0xc]
mov dword [esp + 0x68], eax
xor ecx, ecx
xor edi, edi
xor eax, eax
mov dword [esp + 0x54], edx
test ebx, ebx
jle 0x41b177
mov edi, edi
movzx edx, word [esi + ecx*2]
lea eax, [eax + edx + 2]
cmp eax, dword [esp + 0x54]
jle 0x41b172
sub eax, edx
cmp dword [esp + 0x4c], 0
mov dword [esp + edi*4 + 0xb4], eax
mov dword [esp + edi*4 + 0xc8], ecx
je 0x41b166
dec ecx
inc edi
xor eax, eax
cmp edi, 4
jg 0x41b208
inc ecx
cmp ecx, ebx
jl 0x41b140
mov dword [esp + edi*4 + 0xc8], ebx
inc edi
mov dword [esp + edi*4 + 0xb0], eax
lea ebx, [edi - 1]
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], ebx
test ebx, ebx
jle 0x41b24d
lea esp, [esp]
mov edx, dword [esp + ebx*4 + 0xb4]
mov edi, dword [esp + ebx*4 + 0xb0]
mov eax, dword [esp + ebx*4 + 0xc4]
dec eax
mov ecx, eax
sub ecx, dword [esp + 0x4c]
inc ecx
test edx, edx
je 0x41b1ea
cmp dword [ebp + 0x10], 0
jne 0x41b22e
movzx esi, word [esi + eax*2]
mov ebx, edi
sub ebx, esi
mov esi, dword [esp + 0x20]
movzx esi, word [esi + ecx*2]
sub ebx, 2
lea esi, [esi + edx + 2]
cmp esi, ebx
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
jg 0x41b22e
movzx ecx, word [esi + ecx*2]
movzx eax, word [esi + eax*2]
lea edx, [edx + ecx + 2]
mov ecx, 0xfffffffe
sub ecx, eax
add edi, ecx
dec dword [esp + ebx*4 + 0xc4]
jmp 0x41b1ae
push 0x51c5a4
push 0xda50
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00405c00
add esp, 0x10
mov dword [esp + 0x18], 0xb
jmp 0x41b9e3
mov dword [esp + ebx*4 + 0xb4], edx
mov dword [esp + ebx*4 + 0xb0], edi
dec ebx
mov dword [esp + 0x10], ebx
test ebx, ebx
jg 0x41b1a0
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x48], 1
ja 0x41b263
push 0x51c5a4
push 0xda8e
jmp 0x41b212
mov edx, dword [eax + 0x38]
movzx eax, byte [edx]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 0
test edi, edi
jle 0x41b340
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x44]
jge 0x41b2b9
mov eax, dword [esp + ecx*4 + 0x70]
lea edx, [esp + ecx*4 + 0x70]
mov dword [esp + ecx*4 + 0xb4], eax
mov ecx, dword [eax + 0x44]
push ecx
mov dword [esp + 0x4c], eax
mov dword [edx], 0
call fcn.00410e60
add esp, 4
inc esi
mov dword [esp + 0x18], eax
test eax, eax
jmp 0x41b325
cmp dword [ebp + 0x10], 0
mov eax, 1
jne 0x41b2c8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
push 0
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x54]
push eax
push ebx
call fcn.00419540
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
jne 0x41b9df
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
inc esi
cmp byte [ebx + 0x11], 0
mov dword [esp + ecx*4 + 0xb4], eax
je 0x41b32b
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x18]
push edx
mov edx, dword [ecx + 0x48]
push edx
push 5
mov ecx, ebx
call fcn.00414e20
add esp, 0xc
cmp dword [esp + 0x18], 0
jne 0x41b9df
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, edi
jl 0x41b281
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x44]
jge 0x41b502
xor esi, esi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + ecx*4 + 0x70]
cmp dword [esp + 0x18], esi
jne 0x41b9e3
mov edx, dword [ebx + 0x48]
mov edi, dword [ebx + 0x34]
push edx
mov eax, ebx
call fcn.00419d70
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
jne 0x41b9e3
cmp ebx, esi
je 0x41b4eb
mov eax, dword [ebx + 0x44]
cmp eax, esi
je 0x41b4eb
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x41b3dd
dec dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
mov dword [eax + 0xc], ecx
mov edi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x98]
mov esi, dword [edi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004f1060
push edx
mov edx, dword [esi + 0x48]
push eax
push edi
call edx
add esp, 0x10
xor esi, esi
jmp 0x41b496
dec word [eax + 0x1a]
jne 0x41b496
mov ecx, dword [eax + 0x1c]
dec dword [ecx + 0xc]
test byte [eax + 0x18], 2
jne 0x41b41e
mov ecx, dword [eax + 0x1c]
cmp dword [ecx + 0x1c], esi
je 0x41b496
cmp dword [eax + 0x14], 1
jne 0x41b408
mov dword [ecx + 0x2c], esi
mov eax, dword [eax]
mov ecx, dword [ecx + 0x28]
push esi
push eax
push ecx
call dword [0x534074]
add esp, 0xc
jmp 0x41b496
mov edx, dword [eax + 0x1c]
cmp dword [edx + 8], eax
jne 0x41b440
mov ecx, dword [eax + 0x24]
cmp ecx, esi
je 0x41b43d
lea ecx, [ecx]
test byte [ecx + 0x18], 4
je 0x41b43d
mov ecx, dword [ecx + 0x24]
cmp ecx, esi
jne 0x41b430
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x20]
cmp ecx, esi
je 0x41b44f
mov edi, dword [eax + 0x24]
mov dword [ecx + 0x24], edi
jmp 0x41b455
mov ecx, dword [eax + 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x24]
cmp ecx, esi
je 0x41b464
mov edx, dword [eax + 0x20]
mov dword [ecx + 0x20], edx
jmp 0x41b469
mov ecx, dword [eax + 0x20]
mov dword [edx], ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], esi
mov edx, dword [ecx]
mov dword [eax + 0x20], edx
cmp edx, esi
je 0x41b47e
mov dword [edx + 0x24], eax
mov dword [ecx], eax
cmp dword [ecx + 4], esi
jne 0x41b488
mov dword [ecx + 4], eax
cmp dword [ecx + 8], esi
jne 0x41b496
test byte [eax + 0x18], 4
jne 0x41b496
mov dword [ecx + 8], eax
cmp dword [ebx + 0x78], esi
jne 0x41b4eb
mov edx, dword [ebx + 0xcc]
cmp dword [edx + 0xc], esi
jne 0x41b4eb
mov al, byte [ebx + 0xf]
cmp al, 6
je 0x41b4e4
test al, al
je 0x41b4e4
cmp al, 2
jb 0x41b4d4
mov eax, dword [0x53b510]
cmp eax, esi
je 0x41b4c0
call eax
mov eax, ebx
call fcn.004112f0
mov eax, dword [0x53b514]
cmp eax, esi
je 0x41b4e4
call eax
jmp 0x41b4e4
cmp byte [ebx + 4], 0
jne 0x41b4e4
push esi
push esi
call fcn.0040dd30
add esp, 8
call fcn.0040dbe0
xor esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x70], esi
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x44]
jl 0x41b350
mov eax, dword [esp + 0x38]
dec eax
xor ecx, ecx
test eax, eax
jle 0x41b573
lea ecx, [ecx]
lea eax, [esp + ecx*4 + 0xb4]
mov dword [esp + 0x54], eax
mov eax, dword [eax]
mov esi, dword [eax + 0x48]
lea ebx, [ecx + 1]
mov dword [esp + 0x64], eax
mov edi, ecx
mov eax, ebx
cmp ebx, dword [esp + 0x38]
jge 0x41b568
mov edx, dword [esp + eax*4 + 0xb4]
mov edx, dword [edx + 0x48]
cmp edx, esi
jae 0x41b543
mov edi, eax
mov esi, edx
inc eax
cmp eax, dword [esp + 0x38]
jl 0x41b531
cmp edi, ecx
jle 0x41b568
mov eax, dword [esp + edi*4 + 0xb4]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x64]
lea edi, [esp + edi*4 + 0xb4]
mov dword [ecx], eax
mov dword [edi], edx
mov eax, dword [esp + 0x38]
mov ecx, ebx
dec eax
cmp ecx, eax
jl 0x41b510
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + esi*4 + 0xb0]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x54], eax
mov eax, dword [eax + 0x48]
mov edx, eax
shr edx, 0x18
mov byte [ecx], dl
mov edx, eax
shr edx, 0x10
mov byte [ecx + 1], dl
mov edx, eax
xor ebx, ebx
shr edx, 8
mov byte [ecx + 2], dl
mov byte [ecx + 3], al
mov dword [esp + 0x10], ebx
cmp esi, ebx
jle 0x41b6d8
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + edi*4 + 0xb4]
push eax
call fcn.00415b70
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + edi*4 + 0xcc]
add esp, 4
lea edx, [ecx + ebx*2]
push edx
lea ecx, [eax + ebx*4]
push ecx
mov edx, edi
sub edx, ebx
push edx
push esi
call fcn.0041a860
mov ebx, edi
add esp, 0x10
cmp ebx, dword [esp + 0x3c]
jge 0x41b6c5
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + ebx*4]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x50]
add edi, dword [esp + 0x60]
mov dword [esp + 0x14], ecx
movzx ecx, word [edx + ebx*2]
mov eax, ecx
add eax, dword [esp + 0x68]
cmp byte [esi + 3], 0
jne 0x41b62f
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x38]
mov edx, dword [edx]
mov dword [ecx + 8], edx
jmp 0x41b691
cmp dword [esp + 0x4c], 0
je 0x41b673
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + ebx*4 - 4]
dec ebx
push ecx
push esi
lea eax, [esp + 0x98]
call fcn.00415080
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
push edx
push eax
lea ecx, [edi + 4]
mov dword [esp + 0x24], edi
call fcn.00407060
add esp, 0x10
add eax, 4
xor edi, edi
jmp 0x41b691
sub dword [esp + 0x14], 4
cmp ecx, 4
jne 0x41b691
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
push ecx
call fcn.004151b0
add esp, 4
movzx eax, ax
mov ecx, dword [esi + 0x48]
add dword [esp + 0x50], eax
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push edi
push edx
push ecx
mov ecx, dword [esp + 0x6c]
call fcn.0041a6c0
add esp, 0x14
cmp dword [esp + 0x18], 0
jne 0x41b9e3
inc ebx
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x2c]
jl 0x41b5b1
test byte [esp + 0x34], 8
jne 0x41b6fa
mov edx, dword [esp + 0x44]
mov eax, dword [esp + edx*4 + 0x80]
mov ecx, dword [eax + 0x38]
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x38]
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov esi, dword [esp + 0xb4]
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x41b74f
mov ebx, dword [esp + 0x58]
cmp word [ebx + 0x10], di
jne 0x41b74f
movzx edx, byte [ebx + 5]
cmp dx, word [esi + 0xe]
ja 0x41b74f
lea eax, [esp + 0x18]
push eax
mov eax, esi
call fcn.0041aab0
add esp, 4
cmp dword [esp + 0x18], edi
jne 0x41b9e3
mov ecx, dword [esi + 0x48]
mov edi, dword [esi + 0x34]
push ecx
mov eax, esi
call fcn.00419d70
add esp, 4
mov dword [esp + 0x18], eax
jmp 0x41b9e3
mov edx, dword [esp + 0x30]
cmp byte [edx + 0x11], 0
je 0x41b9e3
mov ebx, dword [esp + 0x84]
movzx eax, byte [ebx + 1]
mov dword [esp + 0x14], esi
movzx esi, word [ebx + 0x10]
add esi, eax
mov dword [esp + 0x50], eax
cmp eax, edi
je 0x41b780
movzx eax, word [ebx + 0x14]
jmp 0x41b783
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], edi
cmp dword [esp + 0x3c], edi
jle 0x41b938
mov dword [esp + 0x48], edi
xor ecx, ecx
cmp edi, esi
jne 0x41b7eb
cmp dword [esp + 0x4c], ecx
sete cl
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + eax*4 + 0x88]
movzx edx, word [ebx + 0x10]
inc eax
mov dword [esp + 0x40], eax
mov al, byte [ebx + 1]
movzx esi, al
add edx, ecx
add esi, edx
add esi, edi
test al, al
je 0x41b7e3
movzx eax, al
mov dword [esp + 0x50], eax
movzx eax, word [ebx + 0x14]
add eax, ecx
add eax, edi
mov dword [esp + 0x1c], eax
jmp 0x41b7e7
mov eax, dword [esp + 0x1c]
cmp edi, esi
je 0x41b7aa
cmp edi, eax
jne 0x41b806
mov edx, dword [esp + 0x50]
dec edx
mov ecx, 1
mov dword [esp + 0x50], edx
test edx, edx
jle 0x41b806
inc eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x48]
cmp edi, dword [esp + edx + 0xc8]
jne 0x41b83a
mov edx, dword [esp + 0x38]
inc edx
mov dword [esp + 0x38], edx
add edx, edx
add edx, edx
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x48], edx
mov edx, dword [esp + edx + 0xb4]
mov dword [esp + 0x14], edx
je 0x41b92d
test ecx, ecx
jne 0x41b84e
mov ecx, dword [ebx + 0x48]
mov edx, dword [esp + 0x14]
cmp ecx, dword [edx + 0x48]
je 0x41b92d
cmp word [esp + 0x24], 0
jne 0x41b89a
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
mov edx, dword [eax + 0x48]
movzx eax, byte [ecx]
push edx
movzx edx, byte [ecx + 1]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x38]
push 5
call fcn.00414e20
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov cx, word [edx + edi*2]
mov edx, dword [esp + 0x14]
cmp cx, word [edx + 0xa]
jbe 0x41b92d
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + edi*4]
mov dword [esp + 0x34], edx
jne 0x41b92d
mov ecx, dword [esp + 0x14]
mov eax, edx
push eax
push ecx
lea eax, [esp + 0x98]
call fcn.00415080
mov ax, word [esp + 0xb0]
add esp, 8
test ax, ax
je 0x41b929
movzx ecx, ax
add ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
mov edx, dword [eax + 0x48]
movzx eax, byte [ecx]
push edx
movzx edx, byte [ecx + 1]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
mov edx, dword [esp + 0x1c]
shl eax, 8
or eax, ecx
mov ecx, dword [edx + 0x34]
push 3
call fcn.00414e20
add esp, 0xc
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, dword [esp + 0x3c]
jl 0x41b79d
cmp word [esp + 0x24], 0
jne 0x41b9e3
xor esi, esi
cmp dword [esp + 0x2c], esi
jle 0x41b9e3
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
jmp 0x41b960
mov eax, dword [esp + esi*4 + 0xb4]
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x48]
lea edx, [esp + 0x18]
push edx
movzx edx, byte [ecx + 8]
push eax
movzx eax, byte [ecx + 9]
shl edx, 8
or eax, edx
movzx edx, byte [ecx + 0xa]
movzx ecx, byte [ecx + 0xb]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
push 5
mov ecx, ebx
call fcn.00414e20
inc esi
add esp, 0xc
cmp esi, edi
jl 0x41b960
jmp 0x41b9e3
push 0x51c5a4
push 0xd9c5
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00405c00
lea edx, [edi*4 + 4]
push edx
lea eax, [esp + 0x84]
push 0
push eax
mov dword [esp + 0x34], 0xb
call fcn.004e7d90
add esp, 0x1c
jmp 0x41b9e3
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x28]
call fcn.00404090
xor esi, esi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x44], esi
jle 0x41bb8e
mov eax, dword [esp + esi*4 + 0x70]
test eax, eax
je 0x41bb7f
mov eax, dword [eax + 0x44]
test eax, eax
je 0x41bb7f
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x41ba60
dec dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
mov dword [eax + 0xc], ecx
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x98]
mov edi, dword [esi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004f1060
push edx
mov edx, dword [edi + 0x48]
push eax
push esi
call edx
mov esi, dword [esp + 0x20]
add esp, 0x10
jmp 0x41bb28
or edx, 0xffffffff
add word [eax + 0x1a], dx
jne 0x41bb28
mov ecx, dword [eax + 0x1c]
add dword [ecx + 0xc], edx
test byte [eax + 0x18], 2
jne 0x41baaa
mov ecx, dword [eax + 0x1c]
cmp dword [ecx + 0x1c], 0
je 0x41bb28
cmp dword [eax + 0x14], 1
jne 0x41ba93
mov dword [ecx + 0x2c], 0
mov eax, dword [eax]
mov ecx, dword [ecx + 0x28]
push 0
push eax
push ecx
call dword [0x534074]
add esp, 0xc
jmp 0x41bb28
mov edx, dword [eax + 0x1c]
cmp dword [edx + 8], eax
jne 0x41bad0
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x41bacd
lea esp, [esp]
test byte [ecx + 0x18], 4
je 0x41bacd
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jne 0x41bac0
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x41badf
mov edi, dword [eax + 0x24]
mov dword [ecx + 0x24], edi
jmp 0x41bae5
mov ecx, dword [eax + 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x24]
xor edi, edi
cmp ecx, edi
je 0x41baf6
mov edx, dword [eax + 0x20]
mov dword [ecx + 0x20], edx
jmp 0x41bafb
mov ecx, dword [eax + 0x20]
mov dword [edx], ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edi
mov edx, dword [ecx]
mov dword [eax + 0x20], edx
cmp edx, edi
je 0x41bb10
mov dword [edx + 0x24], eax
mov dword [ecx], eax
cmp dword [ecx + 4], edi
jne 0x41bb1a
mov dword [ecx + 4], eax
cmp dword [ecx + 8], edi
jne 0x41bb28
test byte [eax + 0x18], 4
jne 0x41bb28
mov dword [ecx + 8], eax
cmp dword [ebx + 0x78], 0
jne 0x41bb7f
mov edx, dword [ebx + 0xcc]
cmp dword [edx + 0xc], 0
jne 0x41bb7f
mov al, byte [ebx + 0xf]
cmp al, 6
je 0x41bb7a
test al, al
je 0x41bb7a
cmp al, 2
jb 0x41bb68
mov eax, dword [0x53b510]
test eax, eax
je 0x41bb54
call eax
mov eax, ebx
call fcn.004112f0
mov eax, dword [0x53b514]
test eax, eax
je 0x41bb7a
call eax
jmp 0x41bb7a
cmp byte [ebx + 4], 0
jne 0x41bb7a
push 0
push 0
call fcn.0040dd30
add esp, 8
call fcn.0040dbe0
inc esi
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x44]
jl 0x41b9fc
xor esi, esi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x2c], esi
jle 0x41bd2e
mov eax, dword [esp + esi*4 + 0xb4]
test eax, eax
je 0x41bd1f
mov eax, dword [eax + 0x44]
test eax, eax
je 0x41bd1f
test byte [eax + 0x18], 0x40
mov ebx, dword [eax + 0x10]
je 0x41bc05
dec dword [ebx + 0x78]
mov ecx, dword [ebx + 0x88]
mov dword [eax + 0xc], ecx
mov esi, dword [ebx + 0x3c]
mov dword [ebx + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebx + 0x98]
mov edi, dword [esi]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004f1060
push edx
mov edx, dword [edi + 0x48]
push eax
push esi
call edx
mov esi, dword [esp + 0x20]
add esp, 0x10
jmp 0x41bcc8
or edx, 0xffffffff
add word [eax + 0x1a], dx
jne 0x41bcc8
mov ecx, dword [eax + 0x1c]
add dword [ecx + 0xc], edx
test byte [eax + 0x18], 2
jne 0x41bc4c
mov ecx, dword [eax + 0x1c]
cmp dword [ecx + 0x1c], 0
je 0x41bcc8
cmp dword [eax + 0x14], 1
jne 0x41bc38
mov dword [ecx + 0x2c], 0
mov eax, dword [eax]
mov ecx, dword [ecx + 0x28]
push 0
push eax
push ecx
call dword [0x534074]
add esp, 0xc
jmp 0x41bcc8
mov edx, dword [eax + 0x1c]
cmp dword [edx + 8], eax
jne 0x41bc70
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x41bc6d
jmp 0x41bc60
test byte [ecx + 0x18], 4
je 0x41bc6d
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jne 0x41bc60
mov dword [edx + 8], ecx
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x41bc7f
mov edi, dword [eax + 0x24]
mov dword [ecx + 0x24], edi
jmp 0x41bc85
mov ecx, dword [eax + 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 0x24]
xor edi, edi
cmp ecx, edi
je 0x41bc96
mov edx, dword [eax + 0x20]
mov dword [ecx + 0x20], edx
jmp 0x41bc9b
mov ecx, dword [eax + 0x20]
mov dword [edx], ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edi
mov edx, dword [ecx]
mov dword [eax + 0x20], edx
cmp edx, edi
je 0x41bcb0
mov dword [edx + 0x24], eax
mov dword [ecx], eax
cmp dword [ecx + 4], edi
jne 0x41bcba
mov dword [ecx + 4], eax
cmp dword [ecx + 8], edi
jne 0x41bcc8
test byte [eax + 0x18], 4
jne 0x41bcc8
mov dword [ecx + 8], eax
cmp dword [ebx + 0x78], 0
jne 0x41bd1f
mov edx, dword [ebx + 0xcc]
cmp dword [edx + 0xc], 0
jne 0x41bd1f
mov al, byte [ebx + 0xf]
cmp al, 6
je 0x41bd1a
test al, al
je 0x41bd1a
cmp al, 2
jb 0x41bd08
mov eax, dword [0x53b510]
test eax, eax
je 0x41bcf4
call eax
mov eax, ebx
call fcn.004112f0
mov eax, dword [0x53b514]
test eax, eax
je 0x41bd1a
call eax
jmp 0x41bd1a
cmp byte [ebx + 4], 0
jne 0x41bd1a
push 0
push 0
call fcn.0040dd30
add esp, 8
call fcn.0040dbe0
inc esi
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x2c]
jl 0x41bb9e
mov ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e3946
mov esp, ebp
pop ebp
ret