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

Disassembly:
sub esp, 0x84
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov edi, 3
mov dword [esp + 0x30], ebp
mov dword [esp + 0x14], ebp
movzx ecx, byte [esi + 0x2d]
lea ebx, [ebp + 1]
inc ecx
sub edi, ecx
mov dword [esp + 0x34], ecx
cmp byte [esi + 0x2b], 0
jne 0x1003abbf
mov eax, dword [esi + 4]
push 0xa
push edi
push ecx
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x38]
call eax
add esp, 0x10
test eax, eax
jne 0x1003b146
mov ecx, edi
mov edx, ebx
shl edx, cl
mov ecx, dword [esp + 0x34]
dec edx
add ecx, 8
shl edx, cl
or dword [esi + 0x74], edx
test eax, eax
jne 0x1003b146
push 0x30
lea eax, [esi + 0x34]
push 0
push eax
call fcn.10138870
mov eax, dword [esi + 8]
lea edx, [esp + 0x44]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x1003b10c
cmp dword [esp + 0x3c], ebp
jl 0x1003af9a
jg 0x1003ac03
cmp dword [esp + 0x38], 0x20
jbe 0x1003af9a
mov eax, dword [esi + 8]
lea edx, [esp + 0x6c]
push 0
push 0
push 0x20
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 8]
call eax
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1003b10c
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x74]
bswap edx
mov eax, edx
and eax, 0xfffffffe
bswap edi
mov dword [esp + 0x58], edi
cmp eax, 0x377f0682
jne 0x1003af9a
lea eax, [edi - 1]
test edi, eax
jne 0x1003af9a
lea eax, [edi - 0x200]
cmp eax, 0xfe00
ja 0x1003af9a
mov eax, dword [esp + 0x78]
and dl, bl
mov ecx, dword [esp + 0x80]
lea ebx, [esi + 0x4c]
bswap eax
mov dword [esi + 0x58], ecx
push ebx
movzx ecx, dl
mov byte [esi + 0x41], dl
xor ecx, 1
mov dword [esi + 0x70], eax
lea edx, [esp + 0x70]
mov eax, dword [esp + 0x80]
push 0
push 0x18
mov dword [esi + 0x24], edi
mov dword [esi + 0x54], eax
call fcn.1003a670
mov eax, dword [esp + 0x90]
add esp, 0xc
bswap eax
cmp dword [ebx], eax
jne 0x1003af9a
mov eax, dword [esp + 0x88]
bswap eax
cmp dword [esi + 0x50], eax
jne 0x1003af9a
mov eax, dword [esp + 0x70]
bswap eax
cmp eax, 0x2de218
je 0x1003acf9
push 0x10166fc4
push 0x1009d
push str.cannot_open_file
push str._s_at_line__d_of___.10s_
push 0xe
call fcn.100296a0
add esp, 0x14
mov edi, 0xe
jmp 0x1003b107
lea ebx, [edi + 0x18]
lea eax, [ebx + 0x8000]
mov dword [esp + 0x48], ebx
push 0
push eax
call fcn.10026980
add esp, 8
mov dword [esp + 0x20], eax
mov dword [esi + 0x78], eax
test eax, eax
jne 0x1003ad24
lea edi, [eax + 7]
jmp 0x1003b107
mov ecx, dword [esp + 0x3c]
add eax, 0x18
mov dword [esp + 0x4c], eax
add eax, edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
sub edi, 0x20
mov eax, ebx
cdq
sbb ecx, ebp
mov ebx, eax
mov eax, edx
push eax
push ebx
push ecx
push edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], eax
call fcn.10149dd0
mov ecx, eax
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
lea edx, [ecx + 0x21]
shr edx, 0xc
mov dword [esp + 0x5c], edx
nop dword [eax]
mov ebp, eax
shl ebp, 0xc
lea ebx, [ebp + 0xfde]
cmp ecx, ebx
cmovb ebx, ecx
mov dword [esp + 0x18], ebx
test eax, eax
jne 0x1003ad8d
lea ebp, [eax + 1]
jmp 0x1003ad90
add ebp, 0xffffffdf
lea ecx, [esp + 0x24]
mov edx, eax
push ecx
mov ecx, esi
call fcn.1003a4f0
mov edi, eax
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1003af28
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x80], edx
mov dword [eax + edx*4], ecx
cmp ebp, ebx
ja 0x1003ae83
nop
push dword [esp + 0x40]
mov edi, dword [esi + 8]
lea eax, [ebp - 1]
push dword [esp + 0x48]
push 0
mov ebx, dword [edi]
push eax
call fcn.10149f40
add eax, 0x20
adc edx, 0
push edx
push eax
push dword [esp + 0x50]
mov eax, dword [ebx + 8]
push dword [esp + 0x2c]
push edi
call eax
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1003ae7b
push dword [esp + 0x20]
lea eax, [esp + 0x58]
mov ecx, esi
push dword [esp + 0x50]
lea edx, [esp + 0x58]
push eax
call fcn.1003a850
add esp, 0xc
test eax, eax
je 0x1003ae7b
push dword [esp + 0x50]
mov edx, ebp
mov ecx, esi
call fcn.1003aa30
mov edi, eax
add esp, 4
test edi, edi
jne 0x1003ae7b
mov eax, dword [esp + 0x54]
test eax, eax
je 0x1003ae6c
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x58]
mov ecx, eax
and eax, 0xff00
sar ecx, 0x10
or ecx, eax
mov dword [esi + 0x44], ebp
mov word [esi + 0x42], cx
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x18]
inc ebp
cmp ebp, ebx
jbe 0x1003add0
jmp 0x1003ae7f
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [eax + edx*4], ecx
xor ecx, ecx
test edx, edx
mov dword [esi + 0x80], 0
mov eax, 0x88
mov dword [esi + 0x7c], 0
cmove ecx, eax
mov edx, 0x7f78
mov eax, 0x8000
cmove eax, edx
push eax
mov eax, dword [esp + 0x30]
add eax, ecx
push eax
mov eax, dword [esp + 0x2c]
add eax, ecx
push eax
call fcn.10139d00
mov eax, dword [0x10177c48]
add esp, 0xc
test eax, eax
je 0x1003af0d
push 0x28a
call eax
add esp, 4
test eax, eax
je 0x1003af0d
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
push eax
push 3
push 0
push 0xc0000006
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp ebp, ebx
jbe 0x1003af28
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x5c]
jbe 0x1003ad70
mov dword [esi + 0x78], 0
cmp dword [0x10177b48], 0
je 0x1003af81
mov eax, dword [0x1017ad00]
test eax, eax
je 0x1003af4b
push eax
call dword [0x10177b98]
add esp, 4
mov ebx, dword [esp + 0x20]
push ebx
call dword [0x10177b74]
sub dword [0x1017ab88], eax
add esp, 4
dec dword [0x1017abac]
push ebx
call dword [0x10177b6c]
mov eax, dword [0x1017ad00]
add esp, 4
test eax, eax
je 0x1003af8e
push eax
call dword [0x10177ba0]
jmp 0x1003af8b
push dword [esp + 0x20]
call dword [0x10177b6c]
add esp, 4
test edi, edi
jne 0x1003b107
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov ecx, esi
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x50], eax
call fcn.1003a780
mov eax, dword [0x10177c48]
test eax, eax
je 0x1003afea
push 0x28a
call eax
add esp, 4
test eax, eax
je 0x1003afea
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
push eax
push 3
push 0
push 0xc0000006
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [esi + 0x20]
mov ebx, 1
mov ecx, dword [eax]
add ecx, 0x60
mov dword [esp + 0x14], ecx
mov dword [ecx], 0
mov eax, dword [esi + 0x44]
mov dword [ecx + 0x20], eax
mov dword [ecx + 4], 0
nop
cmp byte [esi + 0x2b], 0
lea ebp, [ebx + 3]
je 0x1003b01d
xor edi, edi
jmp 0x1003b052
mov eax, dword [esi + 4]
push 0xa
push 1
push ebp
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1003b0d6
mov ecx, dword [esi + 0x74]
lea eax, [ebp + 8]
bts ecx, eax
mov dword [esi + 0x74], ecx
test edi, edi
jne 0x1003b0d6
mov ecx, dword [esp + 0x14]
cmp ebx, 1
jne 0x1003b065
cmp dword [esi + 0x44], 0
je 0x1003b065
mov eax, dword [esi + 0x44]
mov dword [ecx + 8], eax
jmp 0x1003b06d
mov dword [ecx + ebx*4 + 4], 0xffffffff
mov eax, dword [0x10177c48]
test eax, eax
je 0x1003b0ac
push 0x28a
call eax
add esp, 4
test eax, eax
je 0x1003b0ac
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
push eax
push 3
push 0
push 0xc0000006
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp byte [esi + 0x2b], 0
lea ebp, [ebx + 3]
jne 0x1003b0db
mov eax, dword [esi + 4]
push 9
push 1
push ebp
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
mov ecx, dword [esi + 0x74]
lea eax, [ebp + 8]
add esp, 0x10
btr ecx, eax
mov dword [esi + 0x74], ecx
jmp 0x1003b0db
cmp edi, 5
jne 0x1003b107
mov ecx, dword [esp + 0x14]
inc ebx
cmp ebx, 5
jl 0x1003b010
cmp dword [esi + 0x48], 0
je 0x1003b107
push dword [esi + 0x6c]
push dword [esi + 0x44]
push str.recovered__d_frames_from_WAL_file__s
push 0x11b
call fcn.100296a0
add esp, 0x10
mov ebx, 1
mov ebp, dword [esp + 0x34]
mov ecx, 3
sub ecx, ebp
cmp byte [esi + 0x2b], 0
mov dword [esp + 0x28], ecx
jne 0x1003b144
mov eax, dword [esi + 4]
push 9
push ecx
push ebp
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x38]
call eax
mov ecx, dword [esp + 0x38]
add esp, 0x10
shl ebx, cl
lea ecx, [ebp + 8]
dec ebx
shl ebx, cl
not ebx
and dword [esi + 0x74], ebx
mov eax, edi
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10136e2d
add esp, 0x84
ret