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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
cmp byte [ecx + 9], 0
mov ebx, edx
mov esi, ecx
je 0x45bb41
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x45bb41
mov ecx, esi
call fcn.004442e0
mov edi, dword [esi + 4]
cmp dword [edi + 0x30], ebx
jae 0x45bb6e
push 0x50d803
push 0x11ff0
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041f100
add esp, 0x14
mov ebp, 0xb
jmp 0x45bb90
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x10]
mov eax, dword [edi]
push 0
push ecx
push ebx
push eax
call dword [eax + 0xcc]
add esp, 0x10
test eax, eax
je 0x45bbac
mov ebp, eax
cmp byte [esi + 9], 0
je 0x45bba2
dec dword [esi + 0xc]
jne 0x45bba2
mov ecx, esi
call fcn.00444370
mov eax, ebp
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x10]
mov dword [esp + 4], edi
mov edi, dword [eax + 8]
cmp dword [edi + 4], ebx
je 0x45bbdf
mov ecx, dword [eax + 4]
mov edx, dword [esp + 4]
mov dword [edi + 0x38], ecx
mov dword [edi + 0x48], eax
mov dword [edi + 0x34], edx
xor edx, edx
cmp ebx, 1
mov ecx, 0x64
mov dword [edi + 4], ebx
cmovne ecx, edx
mov byte [edi + 9], cl
mov ecx, esi
mov edx, ebx
push 0
call fcn.004557b0
add esp, 4
test eax, eax
je 0x45bc07
mov ebp, eax
test edi, edi
je 0x45bb90
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x45bc31
call fcn.00442220
jmp 0x45bb90
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 4]
mov dword [eax], 0
cmp byte [ecx + 0x11], 0
je 0x45bc82
mov ebp, dword [esi + 4]
cmp byte [esi + 9], 0
je 0x45bc97
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
je 0x45bc9b
xor eax, eax
jmp 0x45bca9
mov ebx, dword [ecx + 0x14]
dec dword [ebx + 0x78]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x88], ecx
mov edi, dword [ecx + 0x18]
mov eax, dword [ebx + 0x98]
dec edi
mov dword [esp + 4], eax
mov eax, edi
mul dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 4]
sar eax, 0x1f
imul eax, edi
mov edi, dword [ebx + 0x3c]
add edx, eax
mov eax, dword [edi]
push dword [ecx + 4]
push edx
push dword [esp + 8]
push edi
call dword [eax + 0x48]
add esp, 0x10
jmp 0x45bb90
mov ecx, dword [edi + 0x34]
mov edx, edi
push dword [edi + 4]
call fcn.00460820
add esp, 4
jmp 0x45bbf1
mov al, 1
jmp 0x45bca9
mov ecx, esi
call fcn.004442e0
cmp byte [esi + 9], 0
sete al
mov ecx, dword [ebp + 0xc]
test al, al
mov ecx, dword [ecx + 0x38]
mov ecx, dword [ecx + 0x34]
bswap ecx
mov dword [esp + 0xc], ecx
jne 0x45bccc
dec dword [esi + 0xc]
jne 0x45bccc
mov ecx, esi
call fcn.00444370
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
jne 0x45bcf6
mov ecx, dword [edi + 0x34]
mov edx, edi
push dword [edi + 4]
call fcn.00460820
add esp, 4
mov ebp, eax
test edi, edi
je 0x45bd5f
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x45bd15
call fcn.00442220
jmp 0x45bd5f
test edi, edi
je 0x45be36
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x45bdec
call fcn.00442220
jmp 0x45be36
mov ebx, dword [ecx + 0x14]
dec dword [ebx + 0x78]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x88], ecx
mov edi, dword [ecx + 0x18]
mov eax, dword [ebx + 0x98]
dec edi
mov dword [esp], eax
mov eax, edi
mul dword [esp]
mov dword [esp + 8], eax
mov eax, dword [esp]
sar eax, 0x1f
imul eax, edi
mov edi, dword [ebx + 0x3c]
add edx, eax
mov eax, dword [edi]
push dword [ecx + 4]
push edx
push dword [esp + 0x10]
push edi
call dword [eax + 0x48]
add esp, 0x10
test ebp, ebp
jne 0x45bb90
mov eax, dword [0x51d800]
mov edi, dword [esp + 4]
xor edx, edx
div dword [edi + 0x24]
mov ecx, dword [esp + 0xc]
lea ebx, [eax + 1]
add ecx, 0xfffffffd
mov dword [esp], eax
jmp 0x45bd95
cmp ebp, eax
jne 0x45bdd7
dec ecx
lea ebp, [ecx + 2]
cmp ebp, ebx
je 0x45bd94
xor eax, eax
cmp ebp, 2
jb 0x45bd90
mov eax, 0xcccccccd
mul dword [edi + 0x28]
mov eax, ecx
mov edi, edx
xor edx, edx
shr edi, 2
inc edi
div edi
mov eax, ecx
mov edi, ecx
sub eax, edx
neg edx
lea edx, [ecx + edx + 1]
xor ecx, ecx
cmp edx, dword [esp]
sete cl
lea eax, [ecx + eax + 2]
mov ecx, edi
mov edi, dword [esp + 4]
jmp 0x45bd90
mov ecx, esi
mov edx, 4
push ebp
call fcn.00423cd0
add esp, 4
jmp 0x45bb8e
mov ebp, dword [ecx + 0x14]
dec dword [ebp + 0x78]
mov eax, dword [ebp + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ebp + 0x88], ecx
mov edi, dword [ecx + 0x18]
mov eax, dword [ebp + 0x98]
dec edi
mov dword [esp], eax
mov eax, edi
mul dword [esp]
mov dword [esp + 8], eax
mov eax, dword [esp]
sar eax, 0x1f
imul eax, edi
mov edi, dword [ebp + 0x3c]
add edx, eax
mov eax, dword [edi]
push dword [ecx + 4]
push edx
push dword [esp + 0x10]
push edi
call dword [eax + 0x48]
add esp, 0x10
mov eax, dword [esp + 4]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 0x14]
mov eax, dword [eax]
push 0
push ecx
mov edi, dword [esp + 0x14]
push edi
push eax
call dword [eax + 0xcc]
add esp, 0x10
test eax, eax
jne 0x45bb8e
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
cmp dword [ecx + 4], edi
mov edi, ecx
je 0x45be97
mov ecx, dword [eax + 4]
mov dword [edi + 0x38], ecx
mov dword [edi + 0x48], eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x34], eax
xor eax, eax
mov dword [edi + 4], ecx
cmp ecx, 1
mov ecx, 0x64
cmovne ecx, eax
mov byte [edi + 9], cl
mov ecx, dword [esp + 4]
mov edx, edi
push 0
push ebx
push 0
push 1
call fcn.00447df0
add esp, 0x10
mov ebp, eax
test edi, edi
je 0x45bf0c
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x45bec2
call fcn.00442220
jmp 0x45bf0c
mov ebx, dword [ecx + 0x14]
dec dword [ebx + 0x78]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x88], ecx
mov edi, dword [ecx + 0x18]
mov eax, dword [ebx + 0x98]
dec edi
mov dword [esp], eax
mov eax, edi
mul dword [esp]
mov dword [esp + 8], eax
mov eax, dword [esp]
sar eax, 0x1f
imul eax, edi
mov edi, dword [ebx + 0x3c]
add edx, eax
mov eax, dword [edi]
push dword [ecx + 4]
push edx
push dword [esp + 0x10]
push edi
call dword [eax + 0x48]
add esp, 0x10
test ebp, ebp
jne 0x45bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x18]
mov eax, dword [eax]
push 0
push ecx
mov ebx, dword [esp + 0x14]
push ebx
push eax
call dword [eax + 0xcc]
add esp, 0x10
test eax, eax
jne 0x45bb8e
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 8]
cmp dword [edi + 4], ebx
jne 0x45bf51
mov ecx, dword [edi + 0x34]
jmp 0x45bf76
mov ecx, dword [eax + 4]
mov edx, dword [esp + 4]
mov dword [edi + 0x38], ecx
mov dword [edi + 0x48], eax
xor eax, eax
cmp ebx, 1
mov ecx, 0x64
mov dword [edi + 0x34], edx
mov dword [edi + 4], ebx
cmovne ecx, eax
mov byte [edi + 9], cl
mov ecx, edx
mov edx, edi
push ebx
call fcn.00460820
add esp, 4
mov ecx, dword [edi + 0x48]
mov ebp, eax
test byte [ecx + 0x1c], 0x20
jne 0x45bf93
call fcn.00442220
jmp 0x45bfdd
mov ebx, dword [ecx + 0x14]
dec dword [ebx + 0x78]
mov eax, dword [ebx + 0x88]
mov dword [ecx + 0x10], eax
mov dword [ebx + 0x88], ecx
mov edi, dword [ecx + 0x18]
mov eax, dword [ebx + 0x98]
dec edi
mov dword [esp], eax
mov eax, edi
mul dword [esp]
mov dword [esp + 8], eax
mov eax, dword [esp]
sar eax, 0x1f
imul eax, edi
mov edi, dword [ebx + 0x3c]
add edx, eax
mov eax, dword [edi]
push dword [ecx + 4]
push edx
push dword [esp + 0x10]
push edi
call dword [eax + 0x48]
add esp, 0x10
test ebp, ebp
jne 0x45bb90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
jmp 0x45bd67