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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x38
cmp byte [ecx + 9], 0
mov esi, edx
mov dword [esp + 0x10], ecx
je 0x455899
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x455899
mov ecx, dword [esp + 0x10]
call fcn.004442e0
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx + 4]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], 0xffffffff
cmp byte [ebx + 0x11], 0
je 0x455911
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], esi
mov esi, ebx
mov eax, dword [ebx + 8]
test eax, eax
je 0x4558ee
nop word cs:[eax + eax]
and byte [eax + 1], 0xfb
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4558e0
mov esi, dword [ecx + 4]
cmp byte [ecx + 9], 0
je 0x45596a
inc dword [ecx + 0xc]
mov al, 1
cmp byte [ecx + 0xa], 0
jne 0x45596c
mov ecx, dword [esp + 0x10]
call fcn.004442e0
mov eax, dword [esp + 0x10]
mov al, byte [eax + 9]
jmp 0x45596c
lea eax, [esp + 0x20]
lea edx, [esp + 0x1c]
mov ecx, ebx
push 0
push 1
push eax
call fcn.00447000
add esp, 0xc
mov ebp, eax
test eax, eax
mov dword [esp], eax
jne 0x455e07
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov ecx, edi
and eax, 1
lea edx, [eax + eax*2 + 0xa]
call fcn.00445280
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x455aff
test byte [ecx + 0x1c], 0x20
jne 0x455abf
call fcn.00442220
jmp 0x455aff
xor eax, eax
mov ecx, dword [esi + 0xc]
test al, al
mov ecx, dword [ecx + 0x38]
mov esi, dword [ecx + 0x34]
bswap esi
mov dword [esp + 0x20], esi
je 0x455991
mov eax, dword [esp + 0x10]
dec dword [eax + 0xc]
jne 0x455991
mov ecx, dword [esp + 0x10]
call fcn.00444370
mov eax, dword [0x51d800]
mov dword [esp + 8], eax
nop word [eax + eax]
mov ebp, esi
inc esi
mov eax, 0
cmp esi, 2
jb 0x4559e3
mov eax, 0xcccccccd
mov ecx, ebp
dec ebp
mul dword [ebx + 0x28]
mov eax, ebp
mov edi, edx
xor edx, edx
shr edi, 2
inc edi
div edi
mov eax, dword [esp + 8]
mov edi, ebx
sub ebp, edx
xor edx, edx
div dword [ebx + 0x24]
lea edx, [ebp + 1]
xor ebx, ebx
cmp edx, eax
sete bl
lea eax, [ebx + ebp + 2]
mov ebp, ecx
mov ebx, edi
cmp esi, eax
je 0x4559a0
mov eax, dword [esp + 8]
xor edx, edx
div dword [ebx + 0x24]
cmp ebp, eax
je 0x4559a0
lea edi, [ebp + 1]
mov ecx, ebx
lea eax, [esp + 0x30]
lea edx, [esp + 0x24]
mov dword [esp + 0x20], edi
push 1
push edi
push eax
call fcn.00447000
add esp, 0xc
mov ecx, ebp
mov ebp, eax
test eax, eax
mov dword [esp], eax
jne 0x455e07
mov esi, dword [esp + 0x30]
lea eax, [esi - 1]
cmp eax, ecx
jne 0x455a97
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0x1c], eax
mov esi, dword [esp + 0x28]
mov eax, esp
mov ecx, ebx
mov edx, edi
push eax
push 0
push 1
call fcn.00448580
add esp, 0xc
mov ebp, dword [esp]
test ebp, ebp
jne 0x455a74
mov ecx, dword [esp + 0x10]
mov edx, 4
push edi
call fcn.00423cd0
add esp, 4
test eax, eax
mov dword [esp], eax
je 0x455bb3
mov ebp, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x455e07
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x455dcb
call fcn.00442220
jmp 0x455e07
mov byte [esp + 7], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 8], ecx
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x455b0c
xor edx, edx
push 0
call fcn.00446610
add esp, 4
mov ebp, eax
jmp 0x455b0e
mov ebp, esi
mov esi, dword [ecx + 0x14]
dec dword [esi + 0x78]
mov eax, dword [esi + 0x88]
mov dword [ecx + 0x10], eax
mov dword [esi + 0x88], ecx
mov edi, dword [ecx + 0x18]
mov ebx, dword [esi + 0x98]
mov esi, dword [esi + 0x3c]
dec edi
mov eax, edi
mul ebx
sar ebx, 0x1f
imul ebx, edi
mov edi, dword [esi]
add edx, ebx
push dword [ecx + 4]
push edx
push eax
push esi
mov esi, ebp
call dword [edi + 0x48]
add esp, 0x10
mov eax, dword [esp + 0x20]
xor ebp, ebp
mov dword [esi], eax
jmp 0x455e07
xor ebp, ebp
mov eax, dword [esp + 0x24]
mov dword [esp], ebp
test eax, eax
je 0x455b27
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x455b31
call fcn.00442220
test ebp, ebp
jne 0x455e07
jmp 0x455b89
mov dword [esp + 0xc], esi
mov esi, dword [ecx + 0x14]
dec dword [esi + 0x78]
mov dword [esp + 0x14], ebx
mov eax, dword [esi + 0x88]
mov dword [ecx + 0x10], eax
mov dword [esi + 0x88], ecx
mov eax, dword [ecx + 0x18]
mov ebx, dword [esi + 0x98]
mov esi, dword [esi + 0x3c]
dec eax
mov dword [esp + 0x34], eax
mul ebx
sar ebx, 0x1f
imul ebx, dword [esp + 0x34]
add edx, ebx
mov ebx, dword [esi]
push dword [ecx + 4]
push edx
push eax
push esi
mov esi, dword [esp + 0x1c]
call dword [ebx + 0x48]
mov ebx, dword [esp + 0x24]
add esp, 0x10
test ebp, ebp
jne 0x455e07
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x18]
mov eax, dword [ebx]
push 0
push ecx
push edi
push eax
call dword [eax + 0xcc]
add esp, 0x10
test eax, eax
je 0x455bbc
mov ebp, eax
mov dword [esp], eax
jmp 0x455e07
mov edi, dword [esp + 8]
jmp 0x455939
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], esi
mov edx, dword [esp + 8]
mov esi, dword [eax + 8]
mov ecx, dword [esi + 4]
dec ecx
cmp ecx, edx
je 0x455bf1
mov ecx, dword [eax + 4]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x48], eax
xor eax, eax
test edx, edx
mov ecx, 0x64
mov dword [esi + 0x34], ebx
mov dword [esi + 4], edi
cmovne ecx, eax
mov byte [esi + 9], cl
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
lea esi, [esp + 7]
mov ecx, ebx
mov edx, edi
push eax
push esi
call fcn.00446e90
add esp, 8
mov ebp, eax
mov dword [esp], eax
mov al, byte [esp + 7]
mov ecx, eax
dec cl
cmp cl, 1
ja 0x455c4d
push 0x50d803
push 0x11f29
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.0041f100
add esp, 0x14
mov dword [esp], 0xb
mov ebp, 0xb
jmp 0x455c51
test ebp, ebp
je 0x455c62
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x455a80
jmp 0x455e07
mov esi, dword [esp + 0x14]
mov ecx, ebx
movzx eax, al
mov edx, esi
push 0
push dword [esp + 0x10]
push dword [esp + 0x34]
push eax
call fcn.00447df0
mov ecx, esi
add esp, 0x10
test esi, esi
mov ebp, eax
lea esi, [esp + 0x18]
mov dword [esp], eax
je 0x455ceb
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
jne 0x455c9f
call fcn.00442220
jmp 0x455ceb
mov esi, dword [ecx + 0x14]
dec dword [esi + 0x78]
mov dword [esp + 0x14], ebx
mov eax, dword [esi + 0x88]
mov dword [ecx + 0x10], eax
mov dword [esi + 0x88], ecx
mov eax, dword [ecx + 0x18]
mov ebx, dword [esi + 0x98]
mov esi, dword [esi + 0x3c]
dec eax
mov dword [esp + 0xc], eax
mul ebx
sar ebx, 0x1f
imul ebx, dword [esp + 0xc]
add edx, ebx
mov ebx, dword [esi]
push dword [ecx + 4]
push edx
push eax
push esi
lea esi, [esp + 0x28]
call dword [ebx + 0x48]
mov ebx, dword [esp + 0x24]
add esp, 0x10
test ebp, ebp
jne 0x455e07
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [ebx]
push 0
push esi
push edi
push eax
call dword [eax + 0xcc]
add esp, 0x10
test eax, eax
jne 0x455ba9
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov esi, dword [ecx + 8]
mov eax, dword [esi + 4]
dec eax
cmp eax, edx
jne 0x455d32
mov ecx, dword [esi + 0x48]
lea eax, [esi + 0x48]
mov dword [esp + 0xc], eax
jmp 0x455d57
mov eax, dword [ecx + 4]
lea ebp, [esi + 0x48]
mov dword [esp + 0xc], ebp
xor ebp, ebp
test edx, edx
mov edx, 0x64
cmovne edx, ebp
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x34], ebx
mov dword [esi + 4], edi
mov byte [esi + 9], dl
mov dword [esp + 0x1c], esi
mov dword [esp], 0
mov dword [esp + 8], esi
mov eax, dword [ecx + 0x14]
test byte [ecx + 0x1c], 4
je 0x455d77
mov edx, dword [eax + 0x18]
cmp edx, dword [ecx + 0x18]
jae 0x455d98
mov ebp, dword [eax + 0x28]
test ebp, ebp
je 0x455d83
mov dword [esp], ebp
jmp 0x455dbb
mov edx, dword [eax + 0x94]
cmp edx, dword [eax + 0x98]
jbe 0x455da9
call fcn.00445510
jmp 0x455dae
cmp dword [eax + 0x60], 0
je 0x455e25
call fcn.0043b610
jmp 0x455dae
call fcn.00445900
mov ebp, eax
test eax, eax
mov dword [esp], eax
je 0x455a37
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
test byte [ecx + 0x1c], 0x20
je 0x455a8d
mov esi, dword [ecx + 0x14]
dec dword [esi + 0x78]
mov eax, dword [esi + 0x88]
mov dword [ecx + 0x10], eax
mov dword [esi + 0x88], ecx
mov edi, dword [ecx + 0x18]
mov ebx, dword [esi + 0x98]
mov esi, dword [esi + 0x3c]
dec edi
mov eax, edi
mul ebx
sar ebx, 0x1f
imul ebx, edi
mov edi, dword [esi]
add edx, ebx
push dword [ecx + 4]
push edx
push eax
push esi
call dword [edi + 0x48]
add esp, 0x10
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 9], 0
je 0x455e1b
dec dword [ecx + 0xc]
jne 0x455e1b
call fcn.00444370
mov eax, ebp
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], 0
jmp 0x455a37