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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
push ebx
mov ebx, dword [eax + 0xc]
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 0x24]
push esi
bswap eax
push edi
mov edi, eax
cmp edi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], ecx
jb 0x4478e7
push 0x485634
push 0xe7e1
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.004275c0
add esp, 0xc
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebx + 0x48]
call fcn.004303c0
test edi, edi
jbe 0x447b58
test eax, eax
jne 0x447c32
mov eax, dword [esp + 0xc]
test eax, eax
mov edx, dword [ebx + 0x38]
lea ecx, [edi - 1]
bswap ecx
mov dword [edx + 0x24], ecx
mov dword [esp + 0x18], eax
je 0x44791d
mov eax, dword [eax + 0x38]
mov eax, dword [eax]
jmp 0x447923
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx + 0x20]
bswap eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
ja 0x447b03
xor ecx, ecx
cmp ecx, edi
ja 0x447b03
mov edi, dword [ebp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
mov esi, eax
call fcn.004445a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x447bf3
mov edx, dword [esp + 0xc]
mov ecx, dword [edx + 0x38]
mov eax, dword [ecx + 4]
bswap eax
mov edi, eax
xor eax, eax
cmp edi, eax
mov dword [esp + 0x14], ecx
jne 0x4479aa
mov esi, dword [edx + 0x48]
call fcn.004303c0
mov esi, eax
test esi, esi
jne 0x447adb
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x38]
mov ecx, dword [ebx + 0x38]
mov edx, dword [edx]
mov dword [ecx + 0x20], edx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [esp + 0xc], esi
jmp 0x447aca
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x24]
shr edx, 2
sub edx, 2
cmp edi, edx
ja 0x447b29
cmp edi, eax
jbe 0x447aca
mov ebx, dword [ebp + 0x14]
cmp ebx, eax
mov dword [esp + 0x10], eax
jbe 0x447a21
mov eax, dword [ecx + 8]
bswap eax
sub eax, ebx
call fcn.0040db80
mov edx, 1
cmp edi, edx
jbe 0x447a21
lea esi, [ecx + 0xc]
lea esp, [esp]
mov ecx, dword [esi]
bswap ecx
sub ecx, ebx
jns 0x447a09
cmp ecx, 0x80000000
jne 0x447a07
mov ecx, 0x7fffffff
jmp 0x447a09
neg ecx
cmp ecx, eax
jge 0x447a13
mov dword [esp + 0x10], edx
mov eax, ecx
add edx, 1
add esi, 4
cmp edx, edi
jb 0x4479f0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [ecx + eax*4 + 8]
bswap eax
cmp eax, dword [esp + 0x1c]
ja 0x447b4c
mov ecx, dword [esp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ecx + 0x48]
mov dword [ebx], eax
call fcn.004303c0
mov esi, eax
test esi, esi
jne 0x447adb
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea eax, [edi - 1]
cmp edx, eax
jae 0x447a67
mov esi, dword [ecx + edi*4 + 4]
mov dword [ecx + edx*4 + 8], esi
mov edx, dword [ebp + 8]
mov esi, dword [ebx]
bswap eax
mov dword [ecx + 4], eax
mov ecx, dword [edx + 0x3c]
test ecx, ecx
je 0x447a8e
cmp esi, dword [ecx]
ja 0x447a87
mov eax, esi
call fcn.0040d4b0
test eax, eax
je 0x447a8e
mov eax, 1
jmp 0x447a90
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ecx, ecx
test eax, eax
sete cl
push ecx
push ebx
call fcn.004445a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x447aca
mov edx, dword [ebx]
mov esi, dword [edx + 0x48]
call fcn.004303c0
mov esi, eax
test esi, esi
je 0x447aca
mov eax, dword [ebx]
call fcn.00440980
mov dword [ebx], 0
mov eax, dword [esp + 0x18]
call fcn.00440980
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x447bf3
mov eax, dword [eax + 0x48]
test byte [eax + 0x18], 0x40
mov edi, dword [eax + 0x10]
je 0x447bd3
mov ecx, eax
call fcn.00410c10
jmp 0x447bd8
push 0x485634
push 0xe819
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.004275c0
add esp, 0xc
mov esi, 0xb
jmp 0x447bf3
push 0x485634
push 0xe836
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.004275c0
add esp, 0xc
mov esi, 0xb
jmp 0x447adb
push 0x485634
push 0xe899
jmp 0x447b33
test eax, eax
jne 0x447c32
mov edi, dword [ebp + 8]
xor edx, edx
mov eax, 0x40000000
div dword [edi + 0x20]
add dword [edi + 0x2c], 1
mov ecx, dword [edi + 0x2c]
add eax, 1
cmp ecx, eax
jne 0x447b81
add ecx, 1
mov dword [edi + 0x2c], ecx
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx + 0x38]
mov ebx, dword [ebp + 0xc]
bswap eax
mov dword [edx + 0x1c], eax
mov esi, dword [edi + 0x2c]
mov eax, dword [ebp + 0x10]
push 1
push ebx
mov dword [eax], esi
call fcn.004445a0
add esp, 8
test eax, eax
jne 0x447c32
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x48]
call fcn.004303c0
mov esi, eax
test esi, esi
je 0x447c30
mov eax, dword [ebx]
call fcn.00440980
mov dword [ebx], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004115d0
cmp dword [edi + 0x78], 0
jne 0x447bf3
mov edx, dword [edi + 0xcc]
cmp dword [edx + 0xc], 0
jne 0x447bf3
push edi
call fcn.0043d440
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x447c30
mov eax, dword [eax + 0x48]
test byte [eax + 0x18], 0x40
mov edi, dword [eax + 0x10]
je 0x447c10
mov ecx, eax
call fcn.00410c10
jmp 0x447c15
call fcn.004115d0
cmp dword [edi + 0x78], 0
jne 0x447c30
mov eax, dword [edi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x447c30
push edi
call fcn.0043d440
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret