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

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x44]
mov ebx, ecx
push esi
mov esi, dword [esp + 0x44]
push edi
cmp byte [ebx + 0x42], 1
mov edi, edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], ebx
jne 0x434036
mov al, byte [ebx + 0x40]
test al, 2
je 0x434036
cmp byte [ebx + 0x45], 0
je 0x434036
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
cmp edx, esi
jne 0x434020
cmp ecx, ebp
jne 0x434020
mov eax, dword [esp + 0x54]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
test al, 8
je 0x434036
cmp ecx, ebp
jl 0x4340d1
jg 0x434036
cmp edx, esi
jb 0x4340d1
test edi, edi
je 0x4340b5
mov esi, dword [edi]
movzx ecx, word [esi + 8]
movzx eax, word [esi + 6]
add ecx, eax
cmp ecx, 0xd
ja 0x4340a3
mov eax, dword [edi + 8]
xor edx, edx
movzx ebx, word [eax + 8]
mov eax, dword [esi + 0x10]
mov cl, byte [eax]
test cl, cl
sete dl
xor eax, eax
test cl, cl
setne al
lea edx, [edx*2 - 1]
lea eax, [eax*2 - 1]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], edx
test bl, 4
je 0x434090
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], 0x441010
mov byte [edi + 7], 0
jmp 0x4340bd
test bl, 0x19
jne 0x4340a3
cmp dword [esi + 0x14], 0
mov dword [esp + 0x1c], 0x441260
je 0x4340ab
mov dword [esp + 0x1c], 0x440ff0
mov ebx, dword [esp + 0x18]
mov byte [edi + 7], 0
jmp 0x4340bd
mov dword [esp + 0x1c], 0
mov ecx, ebx
call fcn.00433ca0
test eax, eax
jne 0x434504
cmp byte [ebx + 0x42], al
jne 0x4340e5
mov eax, dword [esp + 0x54]
mov dword [eax], 0xffffffff
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ecx, 1
sub ecx, dword [esp + 0x50]
mov dword [esp + 0x38], ecx
movsx eax, byte [ebx + 0x44]
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov esi, dword [ebx + eax*4 + 0x78]
mov dword [esp + 0x20], esi
movzx ebx, word [esi + 0x12]
lea edx, [esi + 0x14]
dec ebx
mov dword [esp + 0x28], edx
mov edi, ebx
mov dword [esp + 0x34], ebx
sar edi, cl
mov ecx, dword [esp + 0x18]
mov word [ecx + eax*2 + 0x50], di
lea eax, [esi + 0x40]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x1c], ebp
jne 0x434240
movzx edx, word [edx]
mov cl, byte [esi + 3]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov byte [esp + 0x17], cl
mov ax, word [eax + edi*2]
mov ch, al
mov cl, ah
movzx eax, dx
movzx ecx, cx
and ecx, eax
add ecx, dword [esi + 0x44]
cmp byte [esp + 0x17], 0
je 0x43417f
cmp byte [ecx], 0x80
jb 0x43417e
mov eax, dword [esi + 0x3c]
nop dword [eax + eax]
inc ecx
cmp ecx, eax
jae 0x4343e5
cmp byte [ecx], 0x80
jae 0x434170
inc ecx
lea edx, [esp + 0x3c]
call fcn.00422f60
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x4c]
jg 0x4341e2
jl 0x4341a0
mov edx, dword [esp + 0x48]
cmp eax, edx
jae 0x4341e6
lea ebp, [edi + 1]
cmp ebp, ebx
jle 0x4341f9
or esi, 0xffffffff
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
cmp byte [eax + 5], 0
jne 0x43443a
mov esi, eax
movzx eax, word [esi + 0x12]
cmp ebp, eax
jl 0x43436b
movzx ecx, byte [esi + 6]
mov eax, dword [esi + 0x38]
mov edx, dword [ecx + eax + 8]
jmp 0x434383
mov edx, dword [esp + 0x48]
cmp ecx, dword [esp + 0x4c]
jl 0x434212
jg 0x4341f2
cmp eax, edx
jbe 0x434212
lea ebx, [edi - 1]
cmp ebp, ebx
jg 0x43420b
mov eax, dword [esp + 0x34]
lea edi, [ebx + ebp]
mov edx, dword [esp + 0x30]
sar edi, 1
jmp 0x434146
mov esi, 1
jmp 0x4341aa
mov ebx, dword [esp + 0x18]
or byte [ebx + 0x40], 2
mov dword [ebx + 0x10], eax
movsx eax, byte [ebx + 0x44]
mov dword [ebx + 0x14], ecx
mov word [ebx + eax*2 + 0x50], di
cmp byte [esi + 5], 0
jne 0x43440b
mov ecx, dword [esp + 0x24]
mov ebp, edi
mov edx, dword [esp + 0x28]
jmp 0x4341c6
mov eax, dword [eax]
mov ax, word [eax + edi*2]
mov ch, al
mov cl, ah
movzx eax, word [edx]
movzx ecx, cx
and ecx, eax
mov eax, dword [esp + 0x20]
add ecx, dword [esi + 0x44]
movzx eax, byte [eax + 8]
movzx edx, byte [ecx]
lea esi, [ecx + 1]
cmp edx, eax
ja 0x43427b
push dword [esp + 0x2c]
push esi
push edx
call dword [esp + 0x28]
add esp, 0xc
mov esi, eax
jmp 0x434333
mov al, byte [esi]
test al, al
js 0x4342af
and edx, 0x7f
movzx eax, al
shl edx, 7
add edx, eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 0xa]
cmp edx, eax
ja 0x4342af
push dword [esp + 0x2c]
lea eax, [ecx + 2]
push eax
push edx
call dword [esp + 0x28]
add esp, 0xc
mov esi, eax
jmp 0x434333
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
movzx eax, byte [edx + 7]
lea esi, [ebx + 0x10]
sub ecx, eax
mov eax, dword [edx + 0x50]
push esi
push ecx
push edx
call eax
mov esi, dword [esi]
add esp, 0xc
cmp esi, 2
jl 0x4344da
lea eax, [esi + 0x12]
push eax
call fcn.0041f140
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4344bd
mov eax, dword [esp + 0x18]
xor edx, edx
push 2
push ebx
push esi
movsx ecx, byte [eax + 0x44]
mov word [eax + ecx*2 + 0x50], di
mov ecx, eax
call fcn.00433820
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x43449c
push dword [esp + 0x2c]
push ebx
push esi
call dword [esp + 0x28]
add esp, 0xc
mov esi, eax
push ebx
call fcn.0041f4b0
mov ebx, dword [esp + 0x38]
add esp, 4
mov ebp, dword [esp + 0x30]
test esi, esi
jns 0x434340
lea ebp, [edi + 1]
mov dword [esp + 0x30], ebp
jmp 0x43434d
jle 0x43445f
lea ebx, [edi - 1]
mov dword [esp + 0x34], ebx
cmp ebp, ebx
jg 0x4341aa
mov esi, dword [esp + 0x20]
lea edi, [ebx + ebp]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sar edi, 1
jmp 0x434240
mov eax, dword [ecx]
mov ax, word [eax + ebp*2]
mov ch, al
mov cl, ah
movzx eax, word [edx]
movzx ecx, cx
and ecx, eax
mov eax, dword [esi + 0x38]
mov edx, dword [ecx + eax]
movsx eax, byte [ebx + 0x44]
mov word [ebx + eax*2 + 0x50], bp
mov cl, byte [ebx + 0x44]
mov esi, dword [ebx + 4]
cmp cl, 0x13
jge 0x43442b
and byte [ebx + 0x40], 0xf9
xor eax, eax
mov word [ebx + 0x24], ax
lea eax, [ecx + 1]
mov byte [ebx + 0x44], al
movsx eax, cl
xor ecx, ecx
bswap edx
mov word [ebx + eax*2 + 0x52], cx
mov ecx, esi
movzx eax, byte [ebx + 0x41]
push eax
movsx eax, byte [ebx + 0x44]
add eax, 0x1e
push ebx
lea eax, [ebx + eax*4]
push eax
call fcn.00430e50
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x4344f8
mov ecx, dword [esp + 0x38]
jmp 0x4340f2
push 0x4d5e84
push 0xe932
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00421700
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov eax, dword [esp + 0x54]
xor ebp, ebp
mov dword [eax], 0
xor eax, eax
and byte [ebx + 0x40], 0xf9
mov word [ebx + 0x24], ax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push 0x4d5e84
push 0xe7bb
jmp 0x4344e4
movsx eax, byte [ebx + 0x44]
xor ebp, ebp
mov word [ebx + eax*2 + 0x50], di
mov eax, dword [esp + 0x54]
mov dword [eax], esi
xor eax, eax
and byte [ebx + 0x40], 0xf9
mov word [ebx + 0x24], ax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ebx, dword [esp + 0x18]
xor ebp, ebp
mov eax, dword [esp + 0x54]
mov ecx, 0xb
mov dword [eax], 0
movsx eax, byte [ebx + 0x44]
mov word [ebx + eax*2 + 0x50], di
mov eax, dword [esp + 0x2c]
cmp byte [eax + 7], 0
cmovne ebp, ecx
xor eax, eax
and byte [ebx + 0x40], 0xf9
mov word [ebx + 0x24], ax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push ebx
call fcn.0041f4b0
mov ebx, dword [esp + 0x1c]
xor eax, eax
add esp, 4
and byte [ebx + 0x40], 0xf9
mov word [ebx + 0x24], ax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov ebx, dword [esp + 0x18]
xor eax, eax
mov ebp, 7
and byte [ebx + 0x40], 0xf9
mov word [ebx + 0x24], ax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push 0x4d5e84
push 0xe97b
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.00421700
mov ebp, 0xb
add esp, 0x10
xor eax, eax
and byte [ebx + 0x40], 0xf9
mov word [ebx + 0x24], ax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret