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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x57906c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], eax
mov ebx, edx
mov dword [ebp - 0x40], 0
push edi
mov dword [ebp - 0x44], ebx
test byte [esi + 1], 0x20
mov eax, dword [esi + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
je 0x44896d
mov edx, dword [esi + 0x40]
mov ecx, eax
push esi
call fcn.0043fa00
mov edi, eax
add esp, 4
test edi, edi
jne 0x448ecf
cmp dword [ebp - 8], eax
je 0x44896d
cmp byte [esi + 0x44], al
jge 0x44896d
push 0x570134
push 0x12827
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0042ee60
add esp, 0x14
lea eax, [edi + 0xb]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
cmp byte [esi], 3
jb 0x448988
mov ecx, esi
call fcn.00444550
mov edi, eax
test edi, edi
je 0x448988
cmp edi, 0x10
jne 0x448ecf
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 8]
test eax, eax
jne 0x448a9f
mov ecx, dword [ebp - 0x3c]
cmp byte [ecx + 0xb], 0
je 0x4489e9
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov edx, dword [esi + 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 4]
mov byte [ecx + 0xb], 0
mov eax, dword [eax + 8]
test eax, eax
je 0x4489e6
mov ebx, dword [ebp - 0x3c]
nop dword [eax]
test byte [eax + 1], 0x10
je 0x4489dc
mov byte [ecx + 0xb], 1
cmp dword [eax + 0x40], edx
jne 0x4489dc
cmp dword [eax + 0x20], edi
jne 0x4489dc
cmp dword [eax + 0x24], ebx
jne 0x4489dc
mov byte [eax], 1
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4489c0
mov ebx, dword [ebp - 0x44]
mov edx, dword [ebp + 8]
test byte [esi + 1], 2
je 0x448a2b
mov eax, dword [ebx + 8]
cmp eax, dword [esi + 0x20]
jne 0x448a2b
mov eax, dword [ebx + 0xc]
cmp eax, dword [esi + 0x24]
jne 0x448a2b
cmp word [esi + 0x32], 0
je 0x448a55
mov eax, dword [ebx + 0x20]
add eax, dword [ebx + 0x1c]
cmp dword [esi + 0x2c], eax
jne 0x448a55
mov edx, ebx
mov ecx, esi
call fcn.00448730
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0
jne 0x448a55
lea eax, [ebp - 8]
shr edx, 3
push eax
push dword [ebx + 0xc]
and edx, 1
mov ecx, esi
push dword [ebx + 8]
call fcn.004447e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x448ecf
mov ebx, dword [esi + 0x74]
cmp dword [ebx + 0x14], 0
jge 0x448b63
cmp byte [esi], 1
jbe 0x448b54
push 0x570134
push 0x128a2
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0042ee60
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0
jne 0x448a55
test dl, 2
jne 0x448b0b
movzx ecx, word [ebx + 0x18]
test cx, cx
je 0x448adb
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
mov word [ebp - 0x14], cx
mov ecx, esi
push eax
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
call fcn.00444ab0
add esp, 4
jmp 0x448afa
lea eax, [ebp - 8]
mov ecx, esi
push eax
mov eax, edx
mov edx, dword [ebx]
shr eax, 3
and eax, 1
push eax
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.0043fb00
add esp, 0x10
test eax, eax
jne 0x448ed1
cmp dword [ebp - 8], eax
jne 0x448a55
mov ecx, esi
call fcn.00443df0
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
cmp dword [esi + 0x20], ecx
jne 0x448a55
cmp dword [esi + 0x24], eax
jne 0x448a55
mov eax, dword [ebx]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov ecx, esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
call fcn.00448730
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.00440e70
test eax, eax
jne 0x448ed1
test byte [ebp + 8], 0x80
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x54]
mov dword [ebp - 0x3c], ecx
je 0x448bda
mov edi, dword [eax + 0x58]
mov edx, edi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], edi
cmp edi, 4
jge 0x448b90
mov edi, 4
mov dword [ebp - 0x34], edi
mov edx, edi
cmp byte [eax + 0x11], 0
je 0x448c02
movzx eax, word [ebx + 0xe]
cmp edx, eax
jle 0x448c02
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x50]
push ecx
push ebx
call eax
movzx eax, word [ebp - 0x10]
add esp, 0xc
cmp dword [ebp - 0x14], eax
je 0x448c02
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x3c]
push dword [ebx + 4]
push 3
mov edx, dword [eax + edi - 4]
bswap edx
call fcn.0043fce0
mov edi, dword [ebp - 0x38]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
jmp 0x448bf8
lea eax, [ebp - 0x40]
mov edx, ecx
push eax
push dword [ebp - 0x44]
mov ecx, ebx
call fcn.00445cb0
mov ecx, dword [ebp - 0x40]
mov edi, eax
add esp, 8
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], ecx
test edi, edi
jne 0x448ecf
jmp 0x448c05
mov ecx, dword [ebp - 0x34]
cmp dword [ebp - 8], 0
movzx eax, word [esi + 0x46]
mov edx, eax
mov dword [ebp - 0x40], edx
jne 0x448dbf
movzx eax, word [ebx + 0x18]
cmp edx, eax
jb 0x448c54
push 0x570134
push 0x128c6
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0042ee60
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x48]
call fcn.0043bd10
mov edi, eax
test edi, edi
jne 0x448ecf
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebx + 0x40]
mov ax, word [eax + ecx*2]
mov ch, al
mov cl, ah
movzx eax, word [ebx + 0x1a]
movzx edi, cx
and edi, eax
add edi, dword [ebx + 0x38]
cmp byte [ebx + 8], 0
jne 0x448c8d
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edi]
mov dword [ecx], eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x50]
push edi
push ebx
call eax
mov cx, word [ebp - 0x10]
add esp, 0xc
movzx eax, cx
cmp eax, dword [ebp - 0x14]
je 0x448cbd
lea eax, [ebp - 0x20]
mov edx, edi
push eax
mov ecx, ebx
call fcn.00445b40
mov cx, word [ebp - 0x10]
add esp, 4
jmp 0x448cbf
xor eax, eax
and byte [esi + 1], 0xfb
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
movzx eax, word [ebp - 0xe]
cmp eax, edx
jne 0x448d9a
movzx eax, cx
cmp eax, dword [ebp - 0x14]
jne 0x448d96
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0x11], 0
je 0x448cf6
movzx eax, word [ebx + 0x10]
cmp edx, eax
jge 0x448d96
mov eax, dword [ebx + 0x38]
movzx ecx, byte [ebx + 9]
add eax, 0xa
add eax, ecx
cmp edi, eax
jae 0x448d3a
push 0x570134
push 0x128e1
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0042ee60
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
lea eax, [edi + edx]
cmp eax, dword [ebx + 0x3c]
jbe 0x448d76
push 0x570134
push 0x128e4
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0042ee60
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
push edx
push dword [ebp - 0x3c]
push edi
call fcn.00516430
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
movzx eax, word [ebp - 0xe]
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x38]
push ecx
push eax
mov ecx, ebx
call fcn.00445f90
mov edi, dword [ebp - 0x38]
add esp, 8
test edi, edi
jne 0x448ecf
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x40]
jmp 0x448dd4
jge 0x448dd4
cmp word [ebx + 0x18], 0
jbe 0x448dd4
inc eax
and byte [esi + 1], 0xfd
mov word [esi + 0x46], ax
movzx edx, ax
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push ecx
push dword [ebp - 0x3c]
mov ecx, ebx
call fcn.004460b0
xor eax, eax
add esp, 0x14
mov word [esi + 0x32], ax
cmp byte [ebx + 0xc], al
je 0x448ecc
and byte [esi + 1], 0xfd
mov ecx, esi
call fcn.00448280
test byte [ebp + 8], 2
mov edi, eax
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x40], edi
mov byte [eax + 0xc], 0
mov byte [esi], 1
je 0x448ecf
test edi, edi
jne 0x448ecf
mov al, byte [esi + 0x44]
test al, al
js 0x448e59
jle 0x448e4a
lea ebx, [esi + 0x78]
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x48]
call fcn.0043b570
movsx eax, byte [esi + 0x44]
lea ebx, [ebx + 4]
inc edi
cmp edi, eax
jl 0x448e31
mov edi, dword [ebp - 0x40]
mov ecx, dword [esi + 0x74]
mov ecx, dword [ecx + 0x48]
call fcn.0043b570
mov byte [esi + 0x44], 0xff
cmp dword [esi + 0x70], 0
mov ebx, dword [ebp - 0x44]
je 0x448eaa
push dword [ebx + 0xc]
push dword [ebx + 8]
call fcn.0042bfc0
add esp, 8
mov dword [esi + 0x10], eax
test eax, eax
jne 0x448e9c
lea edi, [eax + 7]
mov byte [esi], 3
mov eax, dword [ebx + 8]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x3c], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
push dword [ebx + 8]
push dword [ebx]
push eax
call fcn.00516430
add esp, 0xc
mov byte [esi], 3
mov eax, dword [ebx + 8]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x3c], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x38]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c61ad
mov esp, ebp
pop ebp
ret