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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x50b0b0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
mov esi, dword [esp + 0x68]
mov ebx, 8
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
movzx edx, byte [esi + 0x2d]
inc edx
sub ebx, edx
mov dword [esp + 0x3c], edx
cmp byte [esi + 0x2b], 0
mov dword [esp + 0x38], ebx
jne 0x48c4f8
mov eax, dword [esi + 4]
push 0xa
push ebx
push edx
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
test eax, eax
jne 0x48c8f7
push ebp
push 0x30
lea eax, [esi + 0x34]
push 0
push eax
call fcn.004c20c0
mov eax, dword [esi + 8]
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x18]
call eax
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x48c8d6
push edi
cmp dword [esp + 0x24], eax
jl 0x48c863
jg 0x48c53b
cmp dword [esp + 0x20], 0x20
jbe 0x48c863
mov eax, dword [esi + 8]
lea edx, [esp + 0x48]
push 0
push 0
push 0x20
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 8]
call eax
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x48c8d5
movzx ecx, byte [esp + 0x48]
movzx eax, byte [esp + 0x49]
movzx ebx, byte [esp + 0x50]
shl ecx, 8
or ecx, eax
shl ebx, 8
movzx eax, byte [esp + 0x4a]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x4b]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x51]
or ebx, eax
movzx eax, byte [esp + 0x52]
shl ebx, 8
or ebx, eax
movzx eax, byte [esp + 0x53]
shl ebx, 8
or ebx, eax
mov eax, ecx
and eax, 0xfffffffe
mov dword [esp + 0x34], ebx
cmp eax, 0x377f0682
jne 0x48c863
lea eax, [ebx - 1]
test ebx, eax
jne 0x48c863
cmp ebx, 0x10000
jg 0x48c863
cmp ebx, 0x200
jl 0x48c863
and cl, 1
mov dword [esi + 0x24], ebx
lea eax, [esp + 0x54]
mov dword [esp + 0x14], ecx
push eax
mov byte [esi + 0x41], cl
call fcn.0045c620
mov dword [esi + 0x68], eax
lea edi, [esi + 0x4c]
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x54], eax
mov eax, dword [esp + 0x60]
push edi
mov dword [esi + 0x58], eax
lea eax, [esp + 0x50]
push ebp
push 0x18
push eax
mov eax, dword [esp + 0x28]
movzx eax, al
xor eax, 1
push eax
call fcn.0048bf20
lea eax, [esp + 0x78]
push eax
call fcn.0045c620
add esp, 0x1c
cmp dword [edi], eax
jne 0x48c863
lea eax, [esp + 0x64]
push eax
call fcn.0045c620
add esp, 4
cmp dword [esi + 0x50], eax
jne 0x48c863
lea eax, [esp + 0x4c]
push eax
call fcn.0045c620
add esp, 4
cmp eax, 0x2de218
je 0x48c66f
push 0xc38b
call fcn.0044e4b0
mov ebp, eax
jmp 0x48c85c
lea eax, [ebx + 0x18]
mov dword [esp + 0x28], eax
mov eax, ebx
cdq
add eax, 0x18
adc edx, 0
push edx
push eax
call fcn.004184b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x48c697
lea ebp, [eax + 7]
jmp 0x48c8d5
mov eax, dword [esp + 0x28]
xor ebx, ebx
cdq
mov dword [esp + 0x38], eax
mov ecx, edx
add eax, 0x20
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x14], ebx
adc ecx, ebx
mov dword [esp + 0x3c], edx
cmp ecx, dword [esp + 0x24]
jg 0x48c856
jl 0x48c6cf
cmp eax, dword [esp + 0x20]
ja 0x48c856
xor edx, edx
mov eax, dword [esi + 8]
inc ebx
push edx
push dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
push dword [esp + 0x30]
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 8]
call eax
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x1c], ebp
test ebp, ebp
jne 0x48c856
mov eax, dword [esi + 0x54]
cmp eax, dword [edi + 8]
jne 0x48c856
mov eax, dword [esi + 0x58]
cmp eax, dword [edi + 0xc]
jne 0x48c856
movzx ebp, byte [edi]
movzx eax, byte [edi + 1]
shl ebp, 8
or ebp, eax
movzx eax, byte [edi + 2]
shl ebp, 8
or ebp, eax
movzx eax, byte [edi + 3]
shl ebp, 8
or ebp, eax
je 0x48c852
lea eax, [esi + 0x4c]
xor ebx, ebx
cmp byte [esi + 0x41], bl
push eax
push eax
push 8
sete bl
push edi
push ebx
call fcn.0048bf20
lea eax, [esi + 0x4c]
push eax
push eax
push dword [esi + 0x24]
lea eax, [edi + 0x18]
push eax
push ebx
call fcn.0048bf20
movzx ecx, byte [edi + 0x10]
add esp, 0x28
movzx eax, byte [edi + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x13]
shl ecx, 8
or ecx, eax
cmp dword [esi + 0x4c], ecx
jne 0x48c852
movzx ecx, byte [edi + 0x14]
movzx eax, byte [edi + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x17]
shl ecx, 8
or ecx, eax
cmp dword [esi + 0x50], ecx
jne 0x48c852
movzx ebx, byte [edi + 4]
movzx eax, byte [edi + 5]
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 6]
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 7]
push ebp
push dword [esp + 0x14]
shl ebx, 8
push esi
or ebx, eax
call fcn.0048c080
mov ebp, eax
add esp, 0xc
test ebp, ebp
jne 0x48c856
test ebx, ebx
je 0x48c816
mov eax, dword [esp + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x34]
mov ecx, eax
and eax, 0xff00
sar ecx, 0x10
or ecx, eax
mov dword [esi + 0x48], ebx
mov word [esi + 0x42], cx
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
add eax, ecx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x3c]
adc edx, ebx
add ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
adc ebx, edx
cmp ebx, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
jl 0x48c6d1
jg 0x48c856
cmp ecx, dword [esp + 0x20]
jbe 0x48c6d1
jmp 0x48c856
mov ebp, dword [esp + 0x1c]
push edi
call fcn.00418530
add esp, 4
test ebp, ebp
jne 0x48c8d5
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x30]
push esi
mov dword [esi + 0x50], eax
call fcn.0048cac0
mov eax, dword [esi + 0x20]
add esp, 4
mov ecx, 4
mov eax, dword [eax]
mov dword [eax + 0x60], 0
lea edx, [eax + 0x68]
mov dword [eax + 0x64], 0
mov eax, edx
nop word [eax + eax]
mov dword [eax], 0xffffffff
lea eax, [eax + 4]
sub ecx, 1
jne 0x48c8a0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x48c8b7
mov dword [edx], eax
cmp dword [esi + 0x48], 0
je 0x48c8d5
push dword [esi + 0x64]
push dword [esi + 0x44]
push str.recovered__d_frames_from_WAL_file__s
push 0x11b
call fcn.0041e160
add esp, 0x10
pop edi
cmp byte [esi + 0x2b], 0
jne 0x48c8f4
mov eax, dword [esi + 4]
push 9
push dword [esp + 0x40]
mov ecx, dword [eax]
push dword [esp + 0x48]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x60]
pop esi
pop ebx
xor ecx, esp
call fcn.004bf6e8
add esp, 0x5c
ret