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

Disassembly:
sub esp, 0x54
mov edx, dword [esp + 0x68]
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
push edi
xor edi, edi
mov ebp, dword [ebx + 0x14]
mov eax, dword [ebx + 0x1c]
push edi
lea ecx, [esp + 0x2c]
and edx, 0xfffffffd
push edi
push ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x80], edx
call fcn.00439df0
add esp, 0xc
cmp eax, edi
jne 0x4421d6
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x28]
push esi
push edx
push edi
push 0x10
push eax
push edi
push ebx
call fcn.00445010
mov esi, eax
add esp, 0x18
cmp esi, edi
jne 0x442149
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x34]
push eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x78]
or ecx, 0xffffffff
mov dword [esp + 0x38], edi
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x50]
mov dword [esp + 0x3c], ecx
mov ecx, 6
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x50]
push ecx
push edx
push eax
mov eax, dword [esp + 0x3c]
push eax
call dword [eax + 0x11c]
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x442149
cmp dword [esp + 0x50], 4
je 0x441e57
test byte [esp + 0x78], 0x40
jne 0x441e4d
push str.Subdatabase_entry_of_invalid_size
push ebp
call fcn.0043eea0
add esp, 8
mov esi, 0xffff86fc
jmp 0x442149
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
call fcn.004477b0
test eax, eax
jne 0x441e8a
mov dl, byte [esp + 0x6b]
mov al, byte [esp + 0x68]
mov cl, byte [esp + 0x69]
mov byte [esp + 0x68], dl
mov dl, byte [esp + 0x6a]
mov byte [esp + 0x6a], cl
mov byte [esp + 0x69], dl
mov byte [esp + 0x6b], al
lea eax, [esp + 0x28]
lea ecx, [esp + 0x68]
push eax
mov eax, dword [esp + 0x18]
push 0
push ecx
push eax
call dword [eax + 0x40]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x442149
mov eax, dword [ebx]
lea edx, [esp + 0x20]
push edx
push eax
push ebp
call fcn.00472520
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x442149
mov edi, dword [esp + 0x28]
xor ecx, ecx
mov cl, byte [edi + 0x19]
mov eax, ecx
sub eax, 8
je 0x442016
dec eax
je 0x441f02
test byte [esp + 0x78], 0x40
jne 0x441ef8
push ecx
mov ecx, dword [esp + 0x6c]
push ecx
push str.Page__lu:_database_metapage_of_bad_type__lu
push ebp
call fcn.0043eea0
add esp, 0x10
mov esi, 0xffff86fc
jmp 0x442149
mov al, byte [edi + 0x30]
add edi, 0x30
test al, 2
je 0x441f13
xor esi, esi
jmp 0x442149
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x70]
push eax
push ecx
push edx
push ebx
call fcn.00442fc0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x442149
push eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
push esi
push eax
call dword [eax + 0x108]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x442149
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.00472720
mov esi, eax
add esp, 8
test esi, esi
jne 0x442003
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push 0
push ecx
push eax
call dword [eax + 0x40]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x442149
mov eax, dword [edi]
mov edx, dword [esp + 0x78]
and eax, 1
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
push 1
mov cx, word [eax + 0x14]
push ecx
push edx
push eax
push esi
push ebx
call fcn.004748d0
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x442149
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [eax + 0x50]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x442149
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x18], eax
call fcn.00472720
mov esi, eax
add esp, 8
test esi, esi
je 0x441f75
cmp esi, 0xffff86f1
jne 0x442149
xor esi, esi
jmp 0x442149
mov eax, dword [ebx + 0xf4]
mov ebp, edi
test eax, eax
mov dword [esp + 0x70], eax
jne 0x44204e
test byte [esp + 0x78], 0x40
jne 0x44209d
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x30]
push eax
push str.Page__lu:_DB__h_internal_field_is_NULL
push ecx
call fcn.0043eea0
add esp, 0xc
mov esi, 0xffff86fc
jmp 0x442149
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x44206a
mov ecx, dword [edi + 0x10]
cmp ecx, 5
mov ecx, fcn.0047b340
jb 0x442067
mov ecx, fcn.0047b400
mov dword [eax + 0xc], ecx
push 0xc
push str.__sniglet
push ebx
call dword [eax + 0xc]
mov ecx, dword [ebp + 0x5c]
add esp, 0xc
cmp ecx, eax
je 0x4420a7
test byte [esp + 0x78], 0x40
jne 0x44209d
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x30]
push edx
push str.Page__lu:_incorrect_hash_function_for_database
push eax
call fcn.0043eea0
add esp, 0xc
mov esi, 0xffff86fc
jmp 0x442149
xor edi, edi
lea eax, [edi + 1]
push eax
mov dword [esp + 0x78], eax
call fcn.0047b1e0
mov ecx, dword [ebp + eax*4 + 0x60]
add esp, 4
add ecx, edi
mov dword [esp + 0x18], ecx
je 0x44213a
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push 0
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [eax + 0x40]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x442149
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x18]
xor edx, edx
push ecx
push edi
mov dx, word [eax + 0x14]
push ebp
push edx
push ebx
call fcn.004776c0
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x442149
mov eax, dword [esp + 0x10]
push esi
push eax
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [eax + 0x50]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x442149
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4420c5
mov edi, dword [esp + 0x74]
mov eax, dword [ebp + 0x48]
cmp edi, eax
jbe 0x4420a9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x442165
push eax
call dword [eax + 0xbc]
add esp, 4
test eax, eax
je 0x442165
test esi, esi
jne 0x442165
mov esi, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x442183
push 0
push eax
call dword [eax + 0x104]
add esp, 8
test eax, eax
je 0x442183
test esi, esi
jne 0x442183
mov esi, eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4421a1
mov edi, dword [esp + 0x14]
push 0
push eax
push edi
call dword [edi + 0x50]
add esp, 0xc
test eax, eax
je 0x4421a5
mov esi, eax
jmp 0x4421a5
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4421bd
push 0
push eax
push edi
call dword [edi + 0x50]
add esp, 0xc
test eax, eax
je 0x4421bd
mov esi, eax
mov eax, dword [esp + 0x2c]
push 0
push eax
call dword [eax + 0x104]
add esp, 8
test eax, eax
je 0x4421d3
mov esi, eax
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x54
ret