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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
xor ecx, ecx
mov eax, edx
and eax, 1
xor esi, esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
cmp edi, 1
je 0x448195
cmp byte [ebx + 0x16], cl
je 0x448195
cmp byte [ebx + 0x10], 1
je 0x44818b
test dl, 2
je 0x448195
mov dword [esp + 0x18], 1
jmp 0x448199
mov dword [esp + 0x18], ecx
test edi, edi
jne 0x4481c0
push 0x5447ac
push 0xb9fd
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0043d4f0
add esp, 0x10
lea eax, [edi + 0xb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x28]
mov byte [ebx + 0x17], 1
test edx, edx
je 0x4481d2
mov esi, edx
jmp 0x44835e
cmp dword [esp + 0x18], ecx
je 0x4482cc
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x448209
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
call fcn.0044b110
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4484cf
cmp dword [esp + 0x14], eax
jne 0x4482cc
mov esi, dword [ebx + 0x98]
xor ecx, ecx
push ecx
mov dword [esp + 0x14], ecx
mov eax, esi
cdq
lea ecx, [edi - 1]
push ecx
push edx
push eax
call fcn.00521610
mov ecx, dword [ebx + 0x3c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
mov edx, dword [ecx]
push esi
push eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [edx + 0x44]
call ecx
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4484cf
cmp dword [esp + 0x10], eax
je 0x4482c4
cmp byte [ebx + 0x10], 1
jbe 0x44826f
mov eax, ebx
call fcn.00448500
mov dword [esp + 0xc], eax
test eax, eax
jne 0x448288
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
push edi
mov esi, ebx
call fcn.00446f70
add esp, 0xc
mov esi, eax
jmp 0x4482ae
mov eax, dword [ebx + 0x98]
xor ecx, ecx
push ecx
cdq
lea ecx, [edi - 1]
push ecx
push edx
push eax
call fcn.00521610
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0x3c]
call fcn.0043a880
add esp, 8
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4482c4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x448496
mov ecx, dword [ebx + 0xcc]
movzx eax, byte [ecx + 0x1d]
mov edx, dword [ecx + 0x28]
and eax, 3
push eax
push edi
push edx
call dword [0x55d94c]
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x448323
mov esi, dword [ebx + 0xcc]
lea eax, [esp + 0x10]
push eax
push edi
call fcn.004434b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x448496
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x448323
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea esi, [eax + 7]
jmp 0x4484cf
mov ecx, dword [eax + 4]
cmp dword [ecx], 0
mov edx, dword [ebx + 0xcc]
jne 0x44833e
push eax
push edi
push edx
call fcn.00443530
add esp, 0xc
jmp 0x44834f
xor eax, eax
cmp ax, word [ecx + 0x1a]
jne 0x448349
inc dword [edx + 0xc]
inc word [ecx + 0x1a]
mov eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [esp + 0xc], eax
mov ecx, eax
mov eax, dword [esp + 0x1c]
test esi, esi
jne 0x4484cf
cmp dword [ecx + 0x10], esi
je 0x44837c
test eax, eax
jne 0x44837c
inc dword [ebx + 0xb8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx + 0x10], ebx
cmp edi, 0x7fffffff
ja 0x448478
mov eax, dword [0x55d9d8]
cdq
idiv dword [ebx + 0x98]
inc eax
cmp edi, eax
je 0x448478
cmp byte [ebx + 0xf], 0
jne 0x448406
cmp dword [ebx + 0x18], edi
jb 0x448406
cmp dword [esp + 0x1c], 0
jne 0x448406
mov edx, dword [ebx + 0x3c]
cmp dword [edx], 0
je 0x448406
mov eax, dword [ebx + 0xd0]
test eax, eax
je 0x4483e8
cmp dword [esp + 0x18], 0
jne 0x4483e8
lea ecx, [esp + 0x14]
push ecx
push edi
push eax
call fcn.0044b110
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x448496
mov ecx, dword [esp + 0xc]
inc dword [ebx + 0xbc]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004464e0
mov esi, eax
add esp, 4
test esi, esi
je 0x44846f
jmp 0x448496
cmp edi, dword [ebx + 0x9c]
jbe 0x448418
mov esi, 0xd
jmp 0x44849a
cmp dword [esp + 0x1c], 0
je 0x44845a
mov eax, dword [0x62605c]
test eax, eax
je 0x44842a
call eax
cmp edi, dword [ebx + 0x1c]
ja 0x448440
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x448440
push edi
push eax
call fcn.00442dd0
add esp, 8
push edi
mov esi, ebx
call fcn.004455f0
mov eax, dword [0x626060]
add esp, 4
test eax, eax
je 0x448456
call eax
mov ecx, dword [esp + 0xc]
mov edx, dword [ebx + 0x98]
mov eax, dword [ecx + 4]
push edx
push 0
push eax
call fcn.0050e6a0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5447ac
push 0xba52
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.0043d4f0
add esp, 0x10
mov esi, 0xb
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4484cf
test byte [ecx + 0x18], 2
je 0x4484b4
push 1
mov eax, ecx
call fcn.004432f0
mov ecx, dword [esp + 0x10]
add esp, 4
mov eax, dword [ecx + 0x1c]
dec dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + 0x28]
push 1
push edx
push ecx
call dword [0x55d950]
add esp, 0xc
cmp dword [ebx + 0x78], 0
jne 0x4484ea
mov edx, dword [ebx + 0xcc]
cmp dword [edx + 0xc], 0
jne 0x4484ea
push ebx
call fcn.004459e0
add esp, 4
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], 0
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret