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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [edx + 4]
mov ebx, dword [ecx]
mov dword [esp], 0xffffffff
cmp eax, 2
ja 0x447e30
push 0x50d803
push 0x109b1
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041f100
add esp, 0x14
mov edi, 0xb
jmp 0x44824a
mov esi, dword [edx + 0x48]
cmp byte [ebx + 0xc], 0
mov ebp, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
je 0x447e96
mov eax, dword [esi + 0x14]
test byte [esi + 0x1c], 4
je 0x447e54
mov ecx, dword [eax + 0x18]
cmp ecx, dword [esi + 0x18]
jae 0x447e76
mov edi, dword [eax + 0x28]
test edi, edi
jne 0x448247
mov ecx, dword [eax + 0x94]
cmp ecx, dword [eax + 0x98]
jbe 0x447e85
mov ecx, esi
call fcn.00445510
jmp 0x447e8c
cmp dword [eax + 0x60], 0
je 0x447e96
mov ecx, esi
call fcn.0043b610
jmp 0x447e8c
mov ecx, esi
call fcn.00445900
mov edi, eax
test eax, eax
jne 0x448247
movzx eax, word [esi + 0x1c]
test al, 2
je 0x447eb3
mov ecx, esi
call fcn.0043b610
mov edi, eax
test eax, eax
jne 0x448247
movzx eax, word [esi + 0x1c]
mov edi, dword [esp + 0x44]
cmp dword [esp + 0x48], 0
mov ecx, 0
mov dword [esp + 0x10], 0
jne 0x447edd
mov ecx, eax
and ecx, 8
test cx, cx
mov ecx, 0
je 0x447edd
mov ecx, dword [esi + 0x18]
and eax, 0xfff7
mov dword [esp + 4], ecx
mov word [esi + 0x1c], ax
mov eax, dword [ebx + 0xd4]
push 0
push edi
push dword [eax + 0x2c]
call dword [0x51d228]
add esp, 0xc
test eax, eax
je 0x447f24
mov edx, dword [eax + 4]
mov ecx, dword [ebx + 0xd4]
cmp dword [edx], 0
je 0x447f31
inc dword [ecx + 0xc]
movzx eax, word [edx + 0x1e]
inc eax
test edx, edx
mov word [edx + 0x1e], ax
setne cl
jmp 0x447f4c
mov dword [esp + 0x14], 0
jmp 0x44807d
mov edx, edi
push eax
call fcn.0043fa60
add esp, 4
test eax, eax
je 0x44803c
mov edx, eax
movzx eax, word [eax + 0x1e]
mov cl, 1
cmp ax, 2
movzx eax, word [edx + 0x1c]
jl 0x447f63
test al, 0x20
jne 0x447f88
mov ecx, edx
call fcn.00442220
jmp 0x447fc6
and eax, 8
or word [esi + 0x1c], ax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
cmp byte [ebx + 0xc], 0
je 0x447fee
mov ecx, edx
mov edx, dword [ebx + 0x18]
inc edx
call fcn.004488c0
jmp 0x44807d
mov esi, dword [edx + 0x14]
mov edi, edx
dec dword [esi + 0x78]
mov eax, dword [esi + 0x88]
mov dword [edx + 0x10], eax
mov dword [esi + 0x88], edx
mov ecx, dword [edx + 0x18]
mov ebx, dword [esi + 0x98]
dec ecx
mov eax, ecx
mul ebx
sar ebx, 0x1f
imul ebx, ecx
mov ecx, dword [esi + 0x3c]
add edx, ebx
mov esi, dword [ecx]
push dword [edi + 4]
push edx
push eax
push ecx
call dword [esi + 0x48]
add esp, 0x10
push 0x50d803
push 0xe577
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041f100
add esp, 0x14
mov edi, 0xb
jmp 0x448247
test byte [edx + 0x1c], 2
je 0x448064
mov eax, dword [edx + 0xc]
cmp dword [eax + 8], edx
mov dword [esp + 8], eax
jne 0x44800a
mov ecx, dword [edx + 0x24]
mov eax, dword [esp + 8]
mov dword [eax + 8], ecx
mov eax, dword [edx + 0x24]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 8]
test ecx, ecx
lea ecx, [ecx + 0x24]
lea eax, [eax + 4]
cmove ecx, eax
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
mov ecx, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
test edx, edx
je 0x44804e
mov dword [edx + 0x20], ecx
mov edx, dword [esp + 0x10]
jmp 0x448064
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
jmp 0x44807d
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x10]
test ecx, ecx
mov dword [eax], ecx
jne 0x448064
mov eax, dword [esp + 8]
mov byte [eax + 0x21], 2
mov eax, dword [edx + 0xc]
dec dword [eax + 0xc]
mov eax, dword [edx + 0xc]
push 1
push dword [edx]
push dword [eax + 0x2c]
call dword [0x51d22c]
add esp, 0xc
mov eax, dword [esi + 0x18]
mov ecx, esi
mov edx, edi
mov dword [esp + 8], eax
call fcn.004488c0
movzx eax, word [esi + 0x1c]
mov edx, dword [esp + 4]
test al, 0x11
je 0x4480e6
mov ecx, eax
and ecx, 0xffef
test al, 1
mov word [esi + 0x1c], cx
je 0x4480e6
xor ecx, 3
mov word [esi + 0x1c], cx
mov eax, dword [esi + 0xc]
mov dword [esi + 0x24], 0
mov ecx, dword [eax]
test ecx, ecx
mov dword [esi + 0x20], ecx
je 0x4480c8
mov dword [ecx + 0x24], esi
jmp 0x4480d5
mov dword [eax + 4], esi
cmp byte [eax + 0x20], 0
je 0x4480d5
mov byte [eax + 0x21], 1
mov dword [eax], esi
cmp dword [eax + 8], 0
jne 0x4480e6
test byte [esi + 0x1c], 8
jne 0x4480e6
mov dword [eax + 8], esi
cmp byte [ebx + 0xc], 0
mov ecx, dword [esp + 0x14]
sete al
xor cl, 1
or cl, al
jne 0x44816d
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ecx, esi
call fcn.004488c0
test byte [esi + 0x1c], 0x20
mov ecx, esi
jne 0x448116
call fcn.00442220
jmp 0x448169
mov esi, dword [ecx + 0x14]
dec dword [esi + 0x78]
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x88]
mov dword [ecx + 0x10], eax
mov dword [esi + 0x88], ecx
mov eax, dword [ecx + 0x18]
mov edi, dword [esi + 0x98]
mov ecx, dword [esi + 0x3c]
mov esi, dword [esp + 0x10]
dec eax
mov dword [esp + 8], eax
mul edi
sar edi, 0x1f
imul edi, dword [esp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
add edx, edi
mov edi, dword [esp + 0x44]
push dword [esi + 4]
push edx
push dword [esp + 0x1c]
push ecx
call dword [eax + 0x48]
add esp, 0x10
mov edx, dword [esp + 4]
test edx, edx
je 0x44835f
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0xffffffff
push 0
push eax
push edx
push ebx
mov esi, edx
call dword [ebx + 0xcc]
add esp, 0x10
test eax, eax
je 0x4481d7
cmp esi, dword [ebx + 0x1c]
mov edi, eax
ja 0x448247
mov edx, esi
mov esi, dword [ebx + 0x38]
test esi, esi
je 0x448247
mov eax, dword [ebx + 0xd0]
dec edx
mov dword [esp + 0xc], eax
nop dword [eax + eax]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44822a
mov eax, edx
xor edx, edx
div ecx
mov esi, dword [esi + eax*4 + 0xc]
test esi, esi
jne 0x4481c0
jmp 0x448247
mov eax, dword [esp + 0x18]
movzx edx, word [eax + 0x1c]
mov ecx, edx
or ecx, 8
test dl, 0x11
mov word [eax + 0x1c], cx
je 0x44830e
and ecx, 0xffef
test dl, 1
mov word [eax + 0x1c], cx
je 0x44830e
xor ecx, 3
mov word [eax + 0x1c], cx
mov ecx, dword [eax + 0xc]
mov dword [eax + 0x24], 0
mov edx, dword [ecx]
test edx, edx
mov dword [eax + 0x20], edx
je 0x4482f0
mov dword [edx + 0x24], eax
jmp 0x4482fd
cmp dword [esi], 0xfa0
ja 0x448254
mov ecx, edx
mov eax, 1
shr edx, 3
and cl, 7
shl eax, cl
not al
and byte [esi + edx + 0xc], al
mov dword [esp], edi
mov eax, edi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
lea ebx, [esi + 0xc]
push 0x1f4
push ebx
push dword [esp + 0x14]
mov ebp, edx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
push 0x1f4
push 0
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov edx, ebp
add esp, 0xc
inc edx
xor ebp, ebp
xor ebx, ebx
mov dword [esi + 4], 0
mov dword [esp + 4], edx
jmp 0x4482a6
lea eax, [esi + ecx*4 + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ecx, dword [ecx + ebx*4]
mov dword [eax], ecx
inc ebx
cmp ebx, 0x7d
je 0x448247
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x4482a0
cmp ecx, edx
je 0x4482a0
dec ecx
mov edx, 0x10624dd3
inc dword [esi + 4]
mov eax, ecx
mul edx
shr edx, 3
imul eax, edx, 0x7d
sub ecx, eax
cmp dword [esi + ecx*4 + 0xc], 0
je 0x44828f
nop word cs:[eax + eax]
nop dword [eax + eax]
inc ecx
cmp ecx, 0x7c
cmova ecx, ebp
cmp dword [esi + ecx*4 + 0xc], 0
jne 0x4482e0
jmp 0x44828f
mov dword [ecx + 4], eax
cmp byte [ecx + 0x20], 0
je 0x4482fd
mov byte [ecx + 0x21], 1
mov dword [ecx], eax
cmp dword [ecx + 8], 0
jne 0x44830e
test byte [eax + 0x1c], 8
jne 0x44830e
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x1c], 0x20
jne 0x44831f
call fcn.00442220
jmp 0x44835b
mov edi, dword [ecx + 0x14]
dec dword [edi + 0x78]
mov eax, dword [edi + 0x88]
mov dword [ecx + 0x10], eax
mov dword [edi + 0x88], ecx
mov esi, dword [ecx + 0x18]
mov ebx, dword [edi + 0x98]
dec esi
mov eax, esi
mul ebx
sar ebx, 0x1f
imul ebx, esi
mov esi, dword [edi + 0x3c]
add edx, ebx
mov edi, dword [esi]
push dword [ecx + 4]
push edx
push eax
push esi
call dword [edi + 0x48]
add esp, 0x10
mov edi, dword [esp + 0x44]
mov bl, byte [esp + 0x3c]
mov dword [esp], 0
mov dword [ebp + 4], edi
mov eax, ebx
or al, 4
cmp al, 5
jne 0x448396
mov ecx, ebp
call fcn.004484a0
mov edi, eax
test eax, eax
mov dword [esp], eax
jne 0x44824a
xor edi, edi
cmp bl, 1
je 0x44824a
jmp 0x4483c1
mov eax, dword [ebp + 0x38]
mov edx, dword [eax]
bswap edx
test edx, edx
je 0x4483c1
mov ecx, dword [esp + 0xc]
mov eax, esp
push eax
push dword [esp + 0x48]
push 4
call fcn.00448580
add esp, 0xc
mov edi, dword [esp]
test edi, edi
jne 0x44824a
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
mov ebp, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
mov eax, dword [eax]
push 0
push ecx
push ebp
push eax
call dword [eax + 0xcc]
add esp, 0x10
test eax, eax
je 0x4483f3
mov edi, eax
mov dword [esp], eax
jmp 0x44824a
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 8]
cmp dword [esi + 4], ebp
jne 0x44840b
mov ecx, dword [esi + 0x48]
lea eax, [esi + 0x48]
mov dword [esp + 4], eax
jmp 0x448435
mov eax, dword [ecx + 4]
mov edi, dword [esp + 0xc]
lea edx, [esi + 0x48]
mov dword [esp + 4], edx
mov edx, 0x64
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x34], edi
xor edi, edi
cmp ebp, 1
mov dword [esi + 4], ebp
cmovne edx, edi
mov byte [esi + 9], dl
call fcn.00424050
test eax, eax
mov dword [esp], eax
je 0x448453
mov ecx, dword [esp + 4]
mov edi, eax
mov ecx, dword [ecx]
call fcn.004421c0
jmp 0x44824a
mov edx, dword [esp + 0x24]
movzx ebx, bl
mov ecx, esi
push ebx
push dword [esp + 0x48]
call fcn.00448710
add esp, 8
mov dword [esp], eax
mov edi, eax
mov ecx, dword [esi + 0x48]
call fcn.004421c0
test edi, edi
jne 0x44824a
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
mov eax, esp
push eax
push ebp
push ebx
call fcn.00448580
add esp, 0xc
mov edi, dword [esp]
jmp 0x44824a