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

Disassembly:
push ebp
mov ebp, edx
xor edx, edx
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x8c
lea ecx, [esp + 0x4c]
call fcn.0079d460
mov esi, eax
test eax, eax
je 0x79da15
cmp eax, 0x508
jne 0x79da49
mov byte [ebx + 0x32], 1
mov byte [ebx + 0x2b], 2
mov dword [ebp], 1
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x79da60
mov edx, ebp
mov eax, ebx
call fcn.0076c300
test eax, eax
jne 0x79da60
cmp dword [ebx + 0x34], 0x2de218
jne 0x79db30
cmp byte [ebx + 0x32], 0
je 0x79da49
test esi, esi
jne 0x79db7c
mov byte [ebx + 0x2b], 0
add esp, 0x8c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebx + 0x32], 0
mov eax, dword [ebx + 4]
movzx edx, byte [ebx + 0x2b]
je 0x79dac0
test dl, dl
jne 0x79da87
mov ecx, 1
xor edx, edx
call fcn.0076c500
mov esi, eax
test eax, eax
jne 0x79db72
mov byte [ebx + 0x2c], 1
lea ecx, [esp + 0x4c]
xor edx, edx
mov eax, ebx
call fcn.0079d460
mov esi, eax
test eax, eax
je 0x79db00
mov eax, dword [ebx + 4]
cmp byte [ebx + 0x2b], 0
mov byte [ebx + 0x2c], 0
jne 0x79da37
mov ecx, 1
xor edx, edx
call fcn.0076c580
jmp 0x79da37
test byte [ebx + 0x2e], 2
je 0x79da6d
test dl, dl
jne 0x79daf6
xor edx, edx
call fcn.0076c4c0
mov esi, eax
test eax, eax
jne 0x79db72
cmp byte [ebx + 0x2b], 0
jne 0x79daeb
mov eax, dword [ebx + 4]
xor edx, edx
call fcn.0076c4e0
cmp byte [ebx + 0x32], 0
mov esi, 0x108
jne 0x79db60
mov esi, 0x108
jmp 0x79da49
mov edx, ebp
mov eax, ebx
call fcn.0076c300
mov esi, eax
test eax, eax
jne 0x79dbd0
cmp byte [ebx + 0x2b], 0
mov byte [ebx + 0x2c], 0
je 0x79dba0
cmp dword [ebx + 0x34], 0x2de218
je 0x79dbbc
nop
sub esp, 0xc
mov esi, 0xe
push 0xbeb7d8
push 0xefee
push str.cannot_open_file
push str._s_at_line__d_of___.10s_
push 0xe
call fcn.00787f60
add esp, 0x20
cmp byte [ebx + 0x32], 0
je 0x79da49
xor edx, edx
mov eax, ebx
call fcn.0076c5a0
mov byte [ebx + 0x32], 0
jmp 0x79da45
cmp byte [ebx + 0x32], 0
je 0x79da49
xor edx, edx
mov eax, ebx
call fcn.0076c5a0
mov byte [ebx + 0x32], 0
cmp esi, 0x20a
jne 0x79da45
mov esi, 0xffffffff
jmp 0x79da45
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, 1
call fcn.0076c580
cmp dword [ebx + 0x34], 0x2de218
jne 0x79db30
cmp byte [ebx + 0x32], 0
jne 0x79da45
jmp 0x79da49
movzx eax, byte [ebx + 0x2d]
lea edx, [eax + 1]
mov eax, 3
sub eax, edx
cmp byte [ebx + 0x2b], 0
mov dword [esp + 0xc], edx
mov ecx, eax
mov dword [esp + 0x10], eax
jne 0x79dc40
mov eax, dword [ebx + 4]
call fcn.0076c500
mov esi, eax
mov eax, dword [ebx + 4]
test esi, esi
jne 0x79dc33
cmp byte [ebx + 0x2b], 0
jne 0x79dc40
mov ecx, 4
mov edx, 4
call fcn.0076c500
mov esi, eax
test eax, eax
je 0x79dc40
cmp byte [ebx + 0x2b], 0
mov eax, dword [ebx + 4]
jne 0x79dc33
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
call fcn.0076c580
mov eax, dword [ebx + 4]
mov dword [ebp], 1
jmp 0x79daa1
lea edi, [ebx + 0x38]
lea ecx, [ebx + 0x34]
xor eax, eax
mov dword [ebx + 0x34], 0
and edi, 0xfffffffc
mov dword [ebx + 0x60], 0
sub esp, 8
sub ecx, edi
add ecx, 0x30
shr ecx, 2
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x60]
mov eax, dword [ebx + 8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x18]
mov esi, eax
add esp, 0x10
test eax, eax
jne 0x79dd80
mov eax, 0x20
cmp eax, dword [esp + 0x58]
mov eax, esi
sbb eax, dword [esp + 0x5c]
jge 0x79ddbe
mov eax, dword [ebx + 8]
sub esp, 0xc
mov ecx, dword [eax]
push 0
push 0
push 0x20
lea edx, [esp + 0x78]
push edx
push eax
call dword [ecx + 8]
add esp, 0x20
test eax, eax
jne 0x79de59
mov eax, dword [esp + 0x60]
bswap eax
mov ecx, eax
and ecx, 0xfffffffe
cmp ecx, 0x377f0682
jne 0x79ddbe
mov edi, dword [esp + 0x68]
bswap edi
lea ecx, [edi - 1]
test ecx, edi
jne 0x79ddbe
lea ecx, [edi - 0x200]
cmp ecx, 0xfe00
ja 0x79ddbe
mov ecx, eax
mov edx, dword [esp + 0x70]
mov dword [ebx + 0x24], edi
not eax
and ecx, 1
and eax, 1
mov byte [ebx + 0x41], cl
mov ecx, dword [esp + 0x6c]
mov dword [ebx + 0x54], edx
bswap ecx
mov dword [ebx + 0x70], ecx
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0x58], ecx
push ecx
push ecx
lea ecx, [ebx + 0x4c]
push ecx
mov ecx, 0x18
push 0
lea edx, [esp + 0x70]
call fcn.00761590
mov eax, dword [esp + 0x88]
add esp, 0x10
bswap eax
cmp dword [ebx + 0x4c], eax
jne 0x79ddbe
mov eax, dword [esp + 0x7c]
bswap eax
cmp dword [ebx + 0x50], eax
jne 0x79ddbe
cmp dword [esp + 0x64], 0x18e22d00
je 0x79de60
sub esp, 0xc
mov esi, 0xe
push 0xbeb7d8
push 0xec0c
push str.cannot_open_file
push str._s_at_line__d_of___.10s_
push 0xe
call fcn.00787f60
add esp, 0x20
nop
cmp byte [ebx + 0x2b], 0
mov eax, dword [ebx + 4]
jne 0x79dc33
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
call fcn.0076c580
cmp byte [ebx + 0x2b], 0
mov eax, dword [ebx + 4]
jne 0x79dc33
mov ecx, 4
mov edx, 4
call fcn.0076c580
mov eax, dword [ebx + 4]
jmp 0x79dc33
mov dword [esp + 0x14], 0
xor edi, edi
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x4c], eax
mov eax, ebx
call fcn.0076c1a0
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x44]
mov eax, dword [eax]
mov dword [eax + 0x60], 0
mov dword [eax + 0x80], edx
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0xffffffff
mov dword [eax + 0x6c], 0xffffffff
mov dword [eax + 0x70], 0xffffffff
mov dword [eax + 0x74], 0xffffffff
test edx, edx
je 0x79de18
mov dword [eax + 0x68], edx
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x79dd80
push dword [ebx + 0x6c]
push edx
push str.recovered__d_frames_from_WAL_file__s
push 0x11b
call fcn.00787f60
add esp, 0x10
jmp 0x79dd80
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x20]
sub esp, 0xc
push dword [esp + 0x24]
call fcn.007677d0
add esp, 0x10
mov eax, dword [esp + 0x14]
mov esi, eax
jmp 0x79dd80
call fcn.0077b440
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x79df9b
lea eax, [edi + 0x18]
cdq
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call fcn.00767320
mov ecx, eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x79df9b
add ecx, 0x18
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], ecx
mov ecx, edi
sar edi, 0x10
xor cl, cl
mov dword [esp + 0x3c], edx
mov edx, 0x20
or ecx, edi
xor edi, edi
mov dword [esp + 0x14], 0
mov word [esp + 0x36], cx
mov ebp, edi
xor ecx, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], esi
jmp 0x79df61
mov eax, dword [ebx + 8]
add dword [esp + 0x1c], 1
sub esp, 0xc
mov eax, dword [eax]
push ecx
push edx
push dword [esp + 0x40]
push dword [esp + 0x30]
push dword [ebx + 8]
call dword [eax + 8]
add esp, 0x20
test eax, eax
jne 0x79de3e
push edx
mov eax, ebx
push edx
push dword [esp + 0x20]
push dword [esp + 0x3c]
lea ecx, [esp + 0x64]
lea edx, [esp + 0x60]
call fcn.00766630
add esp, 0x10
test eax, eax
je 0x79df7d
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
mov eax, ebx
call fcn.0079d8d0
test eax, eax
jne 0x79de3e
mov eax, dword [esp + 0x54]
test eax, eax
je 0x79df5d
mov ecx, dword [esp + 0x1c]
mov ebp, dword [ebx + 0x50]
mov dword [ebx + 0x48], eax
movzx eax, word [esp + 0x36]
mov dword [ebx + 0x44], ecx
mov word [ebx + 0x42], ax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x14], eax
mov edx, esi
mov ecx, edi
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x5c]
add esi, edx
adc edi, ecx
cmp dword [esp + 0x58], esi
sbb eax, edi
jge 0x79ded9
mov esi, dword [esp + 0x28]
mov edi, ebp
sub esp, 0xc
mov ebp, dword [esp + 0x2c]
push dword [esp + 0x24]
call fcn.007677d0
add esp, 0x10
jmp 0x79ddc8
mov eax, 7
mov esi, eax
jmp 0x79dd80