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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
mov ebx, dword [edi]
mov ecx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov eax, dword [ebx + 0x14c]
mov dword [esp + 0x14], eax
mov ebp, dword [eax + 0x54]
mov eax, dword [edi + 0x50]
not eax
and eax, 2
mov dword [esp + 0x28], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff6
mov dword [esp + 0x2c], esi
cmp eax, 0x14
ja case.0x45a7fc.15
xor edx, edx
mov dl, byte [eax + 0x45ac38]
jmp dword [edx*4 + 0x45ac20]
test ecx, ecx
je 0x45a813
add esi, dword [edi + 0x10]
mov dword [esp + 0x2c], esi
jmp case.0x45a7fc.15
mov dword [esp + 0x7c], 0xa
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 1
push edx
call fcn.004581f0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x45abf8
mov eax, dword [esp + 0x18]
cmp eax, 4
ja case.default.0x45a847
jmp dword [eax*4 + 0x45ac50]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
jmp case.0x45a7fc.15
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0
jmp case.0x45a7fc.15
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0
jmp case.0x45a7fc.15
test ecx, ecx
je case.0x45a7fc.11
test esi, esi
jne 0x45a8d0
cmp ecx, 1
je 0x45a8c2
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
dec ecx
push esi
push ecx
push eax
call fcn.00458420
add esp, 0x10
test eax, eax
jne 0x45a8c2
mov eax, dword [esp + 0x18]
cmp eax, 2
je 0x45a8cc
cmp eax, 3
je 0x45a8cc
mov esi, 0xffff86f1
jmp 0x45abf8
dec dword [esp + 0x28]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x2c], ecx
jmp case.0x45a7fc.15
cmp dword [esp + 0x70], 2
jne 0x45a8ff
mov edx, dword [esp + 0x14]
mov dword [esp + 0x70], 1
mov eax, dword [edx + 0x48]
test byte [eax + 0x24], 1
jne 0x45a8ff
push eax
push ebx
call fcn.0044c830
add esp, 8
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x28], eax
mov ecx, dword [ebp + 0x54]
sub ecx, dword [ebp + 0x68]
mov dword [esp + 0x2c], ecx
jmp case.0x45a7fc.15
mov eax, dword [esp + 0x74]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xe4]
xor ebp, ebp
cmp eax, ebp
je 0x45a941
mov dword [esp + 0x68], 0x30
mov dword [esp + 0x20], 1
jmp 0x45a94d
mov dword [esp + 0x68], 0xc
mov dword [esp + 0x20], ebp
lea ecx, [esp + 0x10]
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
push edi
call fcn.0045ac90
mov esi, eax
add esp, 0x10
cmp esi, ebp
jne 0x45abf8
cmp dword [esp + 0x10], ebp
jne 0x45aa5d
mov al, byte [edi + 0x50]
mov dword [esp + 0x30], ebp
test al, 1
mov dword [esp + 0x34], ebp
je 0x45a99d
lea eax, [edi + 8]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.004504e0
add esp, 8
test eax, eax
jle 0x45a9dc
mov ecx, dword [edi + 0x50]
lea edx, [esp + 0x10]
and ecx, 0xfffffffe
lea eax, [esp + 0x38]
mov dword [edi + 0x50], ecx
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x78]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
push edi
call fcn.0045ad30
mov esi, eax
add esp, 0x18
cmp esi, ebp
jne 0x45abf8
cmp dword [esp + 0x10], ebp
jne 0x45aa5d
cmp dword [esp + 0x70], 1
jne 0x45aa02
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], 2
mov eax, dword [ecx + 0x48]
test byte [eax + 0x24], 1
jne 0x45aa02
push eax
push ebx
call fcn.0044c910
add esp, 8
mov ebp, dword [esp + 0x7c]
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x3c]
push ebp
lea eax, [esp + 0x38]
push edx
push eax
push edi
call fcn.0045b010
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x45abf8
mov ecx, dword [esp + 0x24]
mov eax, 1
cmp ecx, eax
jne 0x45aa5a
cmp ebp, 0x13
jne 0x45aaf6
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x45aaf6
jmp case.0x45aad9.10
or dword [edi + 0x50], eax
cmp dword [esp + 0x70], 1
jne 0x45aa83
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], 2
mov eax, dword [ecx + 0x48]
test byte [eax + 0x24], 1
jne 0x45aa83
push eax
push ebx
call fcn.0044c910
add esp, 8
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
mov ebp, dword [ebx + 0xe4]
push edx
mov edx, dword [esp + 0x14]
sub ecx, eax
add edx, eax
push ecx
lea eax, [esp + 0x48]
push edx
push eax
push ebp
push ebx
call fcn.0048a110
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x45ab03
mov eax, dword [esp + 0x3c]
test eax, eax
jne case.0x45aad9.12
mov ecx, dword [esp + 0x7c]
lea esi, [ecx - 0xa]
cmp esi, 0x11
ja case.0x45aad9.12
xor edx, edx
mov dl, byte [esi + 0x45ac70]
jmp dword [edx*4 + 0x45ac64]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], 0
inc eax
mov dword [esp + 0x28], eax
jmp case.0x45a7fc.15
pop edi
pop esi
pop ebp
mov eax, 0xffff86f1
pop ebx
add esp, 0x5c
ret
test byte [edi + 0x50], 4
je 0x45ab1c
cmp esi, 0xffffffff
jne 0x45abf8
mov esi, 5
jmp 0x45abf8
cmp esi, 0xffffffff
jne 0x45abf8
push str.DB_LOGC__get:_log_record_checksum_mismatch
push ebx
call fcn.0043eea0
push str.DB_LOGC__get:_catastrophic_recovery_may_be_required
push ebx
call fcn.0043eea0
push 0xffff86fa
push ebx
call fcn.0043ed40
add esp, 0x18
mov esi, eax
jmp 0x45abf8
push str.Encountered_zero_length_records_while_traversing_backwards
push ebx
call fcn.0043eea0
mov eax, dword [esp + 0x44]
add esp, 8
lea ecx, [edi + 0x20]
lea edx, [edi + 0x18]
push ecx
mov ecx, dword [esp + 0x6c]
sub eax, ecx
push edx
push eax
mov eax, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x84]
push eax
push ecx
push ebx
call fcn.0048a3d0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x45abf8
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x45abd3
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
sub edx, eax
mov eax, dword [esp + 0x78]
push edx
lea edx, [esp + 0x58]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x28]
push ecx
push edx
push eax
push ebx
call dword [ebp + 8]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x45abc8
mov esi, 0xb
jmp 0x45abf8
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x3c]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
cmp dword [esp + 0x70], 1
jne 0x45ac16
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x48]
test byte [eax + 0x24], 1
jne 0x45ac16
push eax
push ebx
call fcn.0044c910
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret