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

Disassembly:
sub esp, 0x68
push ebp
push esi
mov esi, dword [esp + 0x74]
xor ebp, ebp
push edi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
movzx edi, byte [esi + 0x2d]
inc edi
cmp byte [esi + 0x2b], 0
mov dword [esp + 0x78], edi
jne 0x569ef4
mov ecx, dword [esi + 4]
mov eax, 3
push 0xa
sub eax, edi
push eax
mov edx, dword [ecx]
push edi
push ecx
mov eax, dword [edx + 0x38]
call eax
add esp, 0x10
test eax, eax
jne 0x56a2dc
push ebx
push 0x30
lea eax, [esi + 0x34]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 8]
lea edx, [esp + 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x18]
call eax
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x56a2ba
cmp dword [esp + 0x54], ebp
jl 0x56a1fc
jg 0x569f36
cmp dword [esp + 0x50], 0x20
jbe 0x56a1fc
mov eax, dword [esi + 8]
lea edx, [esp + 0x58]
push 0
push 0
push 0x20
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 8]
call eax
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x56a2ba
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x60]
bswap ecx
mov eax, ecx
and eax, 0xfffffffe
bswap edi
mov dword [esp + 0x38], edi
cmp eax, 0x377f0682
jne 0x56a1fc
lea eax, [edi - 1]
test edi, eax
jne 0x56a1fc
lea eax, [edi - 0x200]
cmp eax, 0xfe00
ja 0x56a1fc
mov eax, dword [esp + 0x64]
lea ebx, [esi + 0x4c]
bswap eax
mov dword [esi + 0x70], eax
and cl, 1
mov eax, dword [esp + 0x68]
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x6c]
push ebx
mov dword [esi + 0x58], eax
lea eax, [esp + 0x5c]
push 0
push 0x18
push eax
mov eax, ebp
mov byte [esi + 0x41], cl
sete al
mov dword [esi + 0x24], edi
push eax
call fcn.00569630
mov eax, dword [esp + 0x84]
add esp, 0x14
bswap eax
cmp dword [ebx], eax
jne 0x56a1fc
mov eax, dword [esp + 0x74]
bswap eax
cmp dword [esi + 0x50], eax
jne 0x56a1fc
mov eax, dword [esp + 0x5c]
bswap eax
cmp eax, 0x2de218
je 0x56a00e
push 0xf34c
call fcn.0051daf0
mov ebx, eax
jmp 0x56a1f1
lea ebx, [edi + 0x18]
lea eax, [ebx + 0x8000]
mov dword [esp + 0x1c], ebx
push 0
push eax
call fcn.004ca010
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x56a036
lea ebx, [eax + 7]
jmp 0x56a2b6
mov ecx, dword [esp + 0x54]
add eax, 0x18
mov dword [esp + 0x2c], eax
add eax, edi
mov edi, dword [esp + 0x50]
mov dword [esp + 0x20], eax
sub edi, 0x20
mov eax, ebx
cdq
sbb ecx, ebp
push edx
push eax
push ecx
push edi
call fcn.004159c0
mov edx, eax
xor ebp, ebp
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], ebp
lea eax, [edx + 0x21]
shr eax, 0xc
mov dword [esp + 0x40], eax
mov eax, ebp
shl eax, 0xc
add eax, 0xfde
mov dword [esp + 0x10], eax
cmp edx, eax
jae 0x56a088
mov dword [esp + 0x10], edx
test ebp, ebp
jne 0x56a090
xor edi, edi
jmp 0x56a09c
lea edi, [ebp - 1]
shl edi, 0xc
add edi, 0xfde
lea eax, [esp + 0x14]
push eax
push ebp
push esi
call fcn.00569b10
add esp, 0xc
mov ebx, eax
cmp dword [esp + 0x14], 0
je 0x56a1e4
mov eax, dword [esi + 0x20]
inc edi
mov ecx, dword [esp + 0x20]
mov dword [eax + ebp*4], ecx
cmp edi, dword [esp + 0x10]
ja 0x56a185
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
cdq
mov dword [esp + 0x28], eax
mov eax, edx
mov dword [esp + 0x3c], eax
push eax
push dword [esp + 0x2c]
lea ecx, [edi - 1]
push 0
push ecx
call fcn.00415930
add eax, 0x20
adc edx, 0
push edx
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esi + 8]
call fcn.00539b10
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x56a181
push dword [esp + 0x18]
lea eax, [esp + 0x38]
push dword [esp + 0x30]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.00569780
add esp, 0x14
test eax, eax
je 0x56a181
push dword [esp + 0x30]
push edi
push esi
call fcn.00569970
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x56a181
mov eax, dword [esp + 0x34]
test eax, eax
je 0x56a174
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x38]
mov ecx, eax
and eax, 0xff00
sar ecx, 0x10
or ecx, eax
mov dword [esi + 0x44], edi
mov word [esi + 0x42], cx
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
inc edi
cmp edi, ebp
jbe 0x56a0e0
mov ebp, dword [esp + 0x24]
mov eax, dword [esi + 0x20]
mov edx, ebp
mov ecx, dword [esp + 0x14]
neg edx
sbb edx, edx
mov dword [eax + ebp*4], ecx
and edx, 0xffffff78
add edx, 0x88
mov eax, edx
shr eax, 2
lea ecx, [eax*4]
mov eax, 0x8000
sub eax, edx
push eax
mov eax, dword [esp + 0x24]
add eax, ecx
push eax
mov eax, dword [esp + 0x1c]
add eax, ecx
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp edi, dword [esp + 0x10]
jbe 0x56a1e4
mov edx, dword [esp + 0x44]
inc ebp
mov dword [esp + 0x24], ebp
cmp ebp, dword [esp + 0x40]
jbe 0x56a072
push dword [esp + 0x18]
call fcn.004ca170
mov ebp, dword [esp + 0x4c]
add esp, 4
test ebx, ebx
jne 0x56a2b6
mov eax, dword [esp + 0x4c]
push esi
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x50], eax
call fcn.0056a400
mov eax, dword [esi + 0x20]
add esp, 4
mov edi, 1
mov ebp, dword [eax]
mov dword [ebp + 0x60], 0
mov eax, dword [esi + 0x44]
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x64], 0
cmp byte [esi + 0x2b], 0
je 0x56a23a
xor ebx, ebx
jmp 0x56a256
mov ecx, dword [esi + 4]
lea eax, [edi + 3]
push 0xa
push 1
push eax
mov edx, dword [ecx]
push ecx
mov eax, dword [edx + 0x38]
call eax
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x56a28d
cmp edi, 1
jne 0x56a267
mov eax, dword [esi + 0x44]
test eax, eax
je 0x56a267
mov dword [ebp + 0x68], eax
jmp 0x56a26f
mov dword [ebp + edi*4 + 0x64], 0xffffffff
cmp byte [esi + 0x2b], 0
jne 0x56a292
mov ecx, dword [esi + 4]
lea eax, [edi + 3]
push 9
push 1
push eax
mov edx, dword [ecx]
push ecx
mov eax, dword [edx + 0x38]
call eax
add esp, 0x10
jmp 0x56a292
cmp ebx, 5
jne 0x56a2b6
inc edi
cmp edi, 5
jl 0x56a230
cmp dword [esi + 0x48], 0
je 0x56a2b6
push dword [esi + 0x6c]
push dword [esi + 0x44]
push str.recovered__d_frames_from_WAL_file__s
push 0x11b
call fcn.004d4490
add esp, 0x10
mov edi, dword [esp + 0x7c]
cmp byte [esi + 0x2b], 0
jne 0x56a2d9
mov eax, dword [esi + 4]
mov edx, 3
push 9
sub edx, edi
push edx
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x68
ret