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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp byte [esi + 0x49], 1
jne 0x443ea0
mov cl, byte [esi + 0x48]
test cl, 2
je 0x443ea0
mov eax, dword [esi + 0x78]
cmp byte [eax + 2], 0
je 0x443ea0
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
cmp edx, edi
jne 0x443e89
cmp eax, ebx
jne 0x443e89
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
test cl, 8
je 0x443ea0
cmp eax, ebx
jl 0x443f3a
jg 0x443ea0
cmp edx, edi
jb 0x443f3a
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x443f1d
mov esi, dword [edi]
movzx ecx, word [esi + 8]
movzx eax, word [esi + 6]
add ecx, eax
cmp ecx, 0xd
ja 0x443f0d
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 0x443efb
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], 0x47c370
mov byte [edi + 7], 0
jmp 0x443f24
test bl, 0x19
jne 0x443f0d
cmp dword [esi + 0x14], 0
mov dword [ebp - 0xc], 0x47c5b0
je 0x443f14
mov dword [ebp - 0xc], 0x472c60
mov esi, dword [ebp + 8]
mov byte [edi + 7], 0
jmp 0x443f24
mov dword [ebp - 0xc], 0
push esi
call fcn.004313a0
add esp, 4
test eax, eax
jne 0x4442d6
cmp byte [esi + 0x49], al
jne 0x443f4c
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
mov dword [eax], 0xffffffff
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, 1
sub eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
movsx eax, word [esi + 0x4c]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [esi + eax*4 + 0x78]
mov dword [ebp - 0x10], edx
movzx ebx, word [edx + 0x12]
dec ebx
mov edi, ebx
mov dword [ebp - 0x20], ebx
sar edi, cl
lea ecx, [edx + 0x40]
cmp dword [ebp - 0xc], 0
mov word [esi + eax*2 + 0x4e], di
lea eax, [edx + 0x14]
mov dword [ebp - 8], eax
lea eax, [edx + 0x38]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
jne 0x4440d5
mov al, byte [edx + 3]
mov ecx, dword [ecx]
mov byte [ebp - 1], al
movzx eax, byte [edx + 7]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
nop dword [eax]
movzx eax, byte [ecx + edi*2]
mov esi, dword [ebp - 8]
movzx ecx, byte [ecx + edi*2 + 1]
shl eax, 8
or eax, ecx
movzx ecx, word [esi]
mov esi, dword [ebp + 8]
and eax, ecx
mov ecx, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
add eax, dword [ecx]
cmp byte [ebp - 1], 0
je 0x443fef
cmp byte [eax], 0x80
jb 0x443fee
mov ecx, dword [edx + 0x3c]
nop
inc eax
cmp eax, ecx
jae 0x44424c
cmp byte [eax], 0x80
jae 0x443fe0
inc eax
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.00452920
mov ecx, dword [ebp - 0x2c]
add esp, 8
mov eax, dword [ebp - 0x30]
cmp ecx, dword [ebp + 0x14]
jg 0x444070
jl 0x444010
mov edx, dword [ebp + 0x10]
cmp eax, edx
jae 0x444073
lea edx, [edi + 1]
mov dword [ebp - 0x1c], edx
cmp edx, ebx
jle 0x444088
or esi, 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
cmp byte [ecx + 5], 0
jne 0x44427e
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
movzx eax, word [ecx + 0x12]
cmp edx, eax
jl 0x4441ec
movzx ecx, byte [ecx + 6]
add ecx, dword [ebx]
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]
jmp 0x44421f
mov edx, dword [ebp + 0x10]
cmp ecx, dword [ebp + 0x14]
jl 0x4440a2
jg 0x44407e
cmp eax, edx
jbe 0x4440a2
mov edx, dword [ebp - 0x1c]
lea ebx, [edi - 1]
cmp edx, ebx
jg 0x444098
mov ecx, dword [ebp - 0x28]
lea edi, [ebx + edx]
mov edx, dword [ebp - 0x10]
sar edi, 1
jmp 0x443fb0
mov esi, 1
jmp 0x44401d
or byte [esi + 0x48], 2
mov dword [esi + 0x18], eax
movsx eax, word [esi + 0x4c]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x10]
mov word [esi + eax*2 + 0x4e], di
cmp byte [ecx + 5], 0
jne 0x444271
mov eax, dword [ebp - 8]
mov edx, edi
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], eax
jmp 0x44403c
mov eax, dword [ecx]
movzx ebx, byte [edx + 7]
movzx ecx, byte [eax + edi*2]
movzx eax, byte [eax + edi*2 + 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
and ecx, eax
mov eax, dword [ebp - 0x18]
add ecx, ebx
add ecx, dword [eax]
mov eax, dword [ebp - 0x10]
movzx edx, byte [ecx]
lea esi, [ecx + 1]
movzx eax, byte [eax + 8]
cmp edx, eax
ja 0x44411c
mov ebx, dword [ebp + 0xc]
push ebx
push esi
push edx
call dword [ebp - 0xc]
add esp, 0xc
mov esi, eax
jmp 0x4441b6
mov al, byte [esi]
test al, al
js 0x44414b
and edx, 0x7f
movzx eax, al
shl edx, 7
add edx, eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0xa]
cmp edx, eax
ja 0x44414b
mov ebx, dword [ebp + 0xc]
lea eax, [ecx + 2]
push ebx
push eax
push edx
call dword [ebp - 0xc]
add esp, 0xc
mov esi, eax
jmp 0x4441b6
mov esi, dword [ebp + 8]
sub ecx, ebx
add esi, 0x18
push esi
push ecx
push dword [ebp - 0x10]
call fcn.0041e9e0
mov esi, dword [esi]
mov eax, esi
cdq
push edx
push eax
mov dword [ebp - 0x28], esi
call fcn.00457140
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x4442c2
mov eax, dword [ebp + 8]
push 2
push ebx
push esi
movsx ecx, word [eax + 0x4c]
push 0
push eax
mov word [eax + ecx*2 + 0x4e], di
call fcn.00419400
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4442b7
push dword [ebp + 0xc]
push ebx
push dword [ebp - 0x28]
call dword [ebp - 0xc]
push ebx
mov esi, eax
call fcn.004134b0
mov ebx, dword [ebp + 0xc]
add esp, 0x10
test esi, esi
jns 0x4441c5
mov eax, dword [ebp - 0x20]
lea edx, [edi + 1]
mov dword [ebp - 0x1c], edx
jmp 0x4441d4
jle 0x444293
mov edx, dword [ebp - 0x1c]
lea eax, [edi - 1]
mov dword [ebp - 0x20], eax
cmp edx, eax
jg 0x444029
mov ecx, dword [ebp - 0x14]
lea edi, [eax + edx]
mov edx, dword [ebp - 0x10]
sar edi, 1
jmp 0x4440d5
mov eax, dword [edi]
movzx ecx, byte [eax + edx*2]
movzx eax, byte [eax + edx*2 + 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
and ecx, eax
add ecx, dword [ebx]
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 [ebp - 0x1c]
shl edx, 8
or edx, eax
movsx eax, word [esi + 0x4c]
push edx
push esi
mov word [esi + eax*2 + 0x4e], cx
call fcn.004311f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4442c7
mov esi, dword [ebp + 8]
jmp 0x443f57
push 0x4c8db4
push 0xde4b
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004190b0
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
xor esi, esi
mov dword [eax], 0
jmp 0x4442c7
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x4c]
mov word [edx + eax*2 + 0x4e], di
mov eax, dword [ebp + 0x1c]
mov dword [eax], esi
xor esi, esi
jmp 0x4442c7
mov eax, dword [ebp + 0x1c]
xor esi, esi
mov edx, dword [ebp + 8]
mov dword [eax], 0
movsx eax, word [edx + 0x4c]
mov word [edx + eax*2 + 0x4e], di
cmp byte [ebx + 7], 0
je 0x4442c7
mov esi, 0xb
jmp 0x4442c7
push ebx
call fcn.004134b0
add esp, 4
jmp 0x4442c7
mov esi, 7
mov eax, dword [ebp + 8]
xor ecx, ecx
and byte [eax + 0x48], 0xf9
mov word [eax + 0x2c], cx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret