Function at 0x4382c0
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.0x43830c.15
xor edx, edx
mov dl, byte [eax + 0x438748]
jmp dword [edx*4 + 0x438730]
test ecx, ecx
je 0x438323
add esi, dword [edi + 0x10]
mov dword [esp + 0x2c], esi
jmp case.0x43830c.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.00435d00
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x438708
mov eax, dword [esp + 0x18]
cmp eax, 4
ja case.default.0x438357
jmp dword [eax*4 + 0x438760]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
jmp case.0x43830c.15
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0
jmp case.0x43830c.15
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0
jmp case.0x43830c.15
test ecx, ecx
je case.0x43830c.11
test esi, esi
jne 0x4383e0
cmp ecx, 1
je 0x4383d2
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
dec ecx
push esi
push ecx
push eax
call fcn.00435f30
add esp, 0x10
test eax, eax
jne 0x4383d2
mov eax, dword [esp + 0x18]
cmp eax, 2
je 0x4383dc
cmp eax, 3
je 0x4383dc
mov esi, 0xffff86f1
jmp 0x438708
dec dword [esp + 0x28]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x2c], ecx
jmp case.0x43830c.15
cmp dword [esp + 0x70], 2
jne 0x43840f
mov edx, dword [esp + 0x14]
mov dword [esp + 0x70], 1
mov eax, dword [edx + 0x48]
test byte [eax + 0x24], 1
jne 0x43840f
push eax
push ebx
call fcn.0042a340
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.0x43830c.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 0x438451
mov dword [esp + 0x68], 0x30
mov dword [esp + 0x20], 1
jmp 0x43845d
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.004387a0
mov esi, eax
add esp, 0x10
cmp esi, ebp
jne 0x438708
cmp dword [esp + 0x10], ebp
jne 0x43856d
mov al, byte [edi + 0x50]
mov dword [esp + 0x30], ebp
test al, 1
mov dword [esp + 0x34], ebp
je 0x4384ad
lea eax, [edi + 8]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0042dff0
add esp, 8
test eax, eax
jle 0x4384ec
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.00438840
mov esi, eax
add esp, 0x18
cmp esi, ebp
jne 0x438708
cmp dword [esp + 0x10], ebp
jne 0x43856d
cmp dword [esp + 0x70], 1
jne 0x438512
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], 2
mov eax, dword [ecx + 0x48]
test byte [eax + 0x24], 1
jne 0x438512
push eax
push ebx
call fcn.0042a420
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.00438b20
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x438708
mov ecx, dword [esp + 0x24]
mov eax, 1
cmp ecx, eax
jne 0x43856a
cmp ebp, 0x13
jne 0x438606
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x438606
jmp case.0x4385e9.10
or dword [edi + 0x50], eax
cmp dword [esp + 0x70], 1
jne 0x438593
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], 2
mov eax, dword [ecx + 0x48]
test byte [eax + 0x24], 1
jne 0x438593
push eax
push ebx
call fcn.0042a420
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.00467c20
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x438613
mov eax, dword [esp + 0x3c]
test eax, eax
jne case.0x4385e9.12
mov ecx, dword [esp + 0x7c]
lea esi, [ecx - 0xa]
cmp esi, 0x11
ja case.0x4385e9.12
xor edx, edx
mov dl, byte [esi + 0x438780]
jmp dword [edx*4 + 0x438774]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], 0
inc eax
mov dword [esp + 0x28], eax
jmp case.0x43830c.15
pop edi
pop esi
pop ebp
mov eax, 0xffff86f1
pop ebx
add esp, 0x5c
ret
test byte [edi + 0x50], 4
je 0x43862c
cmp esi, 0xffffffff
jne 0x438708
mov esi, 5
jmp 0x438708
cmp esi, 0xffffffff
jne 0x438708
push str.DB_LOGC__get:_log_record_checksum_mismatch
push ebx
call fcn.0041c9b0
push str.DB_LOGC__get:_catastrophic_recovery_may_be_required
push ebx
call fcn.0041c9b0
push 0xffff86fa
push ebx
call fcn.0041c850
add esp, 0x18
mov esi, eax
jmp 0x438708
push str.Encountered_zero_length_records_while_traversing_backwards
push ebx
call fcn.0041c9b0
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.00467ee0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x438708
mov eax, dword [ebx + 0xe4]
test eax, eax
je 0x4386e3
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 0x4386d8
mov esi, 0xb
jmp 0x438708
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 0x438726
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x48]
test byte [eax + 0x24], 1
jne 0x438726
push eax
push ebx
call fcn.0042a420
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret