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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
push ebx
not eax
mov dword [ebp - 4], 0
and eax, 1
mov dword [ebp - 0x10], 0x400
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], ebx
cmp eax, 0x28
jle 0x5282c9
lea edx, [eax + 7]
and edx, 0xfffffff8
mov dword [ebp - 0xc], edx
jmp 0x5282d0
mov dword [ebp - 0xc], 0x28
mov eax, dword [ebp + 0xc]
mov edx, 1
mov dword [eax], ebx
mov eax, dword [ebp + 0x18]
and eax, 4
cmovne edi, edx
mov dword [ebp - 0x20], edi
xor edi, edi
test eax, eax
cmove edi, dword [ebp + 0x10]
mov dword [ebp + 0x10], edi
test edi, edi
je 0x5283f4
cmp byte [edi], bl
je 0x5283f4
mov esi, dword [ecx + 8]
inc esi
lea eax, [esi + esi]
push eax
call fcn.00526740
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x5286c9
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov byte [ebx], 0
push eax
mov eax, dword [eax + 0x24]
call eax
mov edi, eax
add esp, 0x10
mov eax, ebx
mov dword [ebp - 4], edi
cmp byte [eax], 0
je 0x528346
nop dword [eax]
inc ebx
cmp byte [ebx], 0
jne 0x528340
mov ecx, dword [ebp + 0x10]
sub ebx, eax
mov eax, ecx
and ebx, 0x3fffffff
cmp byte [eax], 0
je 0x52835e
inc eax
cmp byte [eax], 0
jne 0x528358
sub eax, ecx
lea edx, [ecx + 1]
and eax, 0x3fffffff
add edx, eax
mov dword [ebp - 0x14], edx
mov esi, edx
cmp byte [edx], 0
je 0x5283b7
cmp byte [esi], 0
mov eax, esi
je 0x528386
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x528380
sub eax, esi
and eax, 0x3fffffff
lea ecx, [eax + 1]
add ecx, esi
mov eax, ecx
jne 0x52839a
xor eax, eax
jmp 0x5283ad
cmp byte [ecx], 0
je 0x5283a6
nop
inc eax
cmp byte [eax], 0
jne 0x5283a0
sub eax, ecx
and eax, 0x3fffffff
lea esi, [eax + 1]
add esi, ecx
cmp byte [esi], 0
jne 0x528374
sub esi, edx
inc esi
test edi, edi
jne 0x5283df
mov ecx, dword [ebp + 8]
lea eax, [ebx + 8]
cmp eax, dword [ecx + 8]
jle 0x5283f4
push 0xa6ae
call fcn.00515b90
mov edi, eax
add esp, 4
mov dword [ebp - 4], edi
test edi, edi
je 0x5283f4
mov edx, dword [ebp - 8]
push edx
call fcn.004d8ef0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
lea eax, [ebx + 0x5b]
lea ecx, [esi + eax*2]
add edx, 7
add ecx, eax
and edx, 0xfffffff8
mov eax, dword [ebp - 0xc]
add ecx, edx
lea eax, [ecx + eax*2]
push eax
mov dword [ebp - 0x24], eax
call fcn.00526740
mov edi, eax
add esp, 4
test edi, edi
je 0x5286bd
push dword [ebp - 0x24]
push 0
push edi
call fcn.005b9c20
mov eax, dword [ebp + 8]
lea ecx, [edi + 0xd0]
mov edx, dword [ebp - 8]
add esp, 0xc
mov dword [edi + 0xc0], ecx
add ecx, 0x30
mov dword [edi + 0x3c], ecx
mov eax, dword [eax + 4]
add eax, 7
and eax, 0xfffffff8
add ecx, eax
mov dword [edi + 0x44], ecx
add ecx, dword [ebp - 0xc]
mov dword [edi + 0x40], ecx
add ecx, dword [ebp - 0xc]
mov dword [edi + 0x90], ecx
test edx, edx
je 0x528502
lea eax, [ecx + 1]
push ebx
add eax, esi
push edx
add eax, ebx
push ecx
mov dword [edi + 0x94], eax
call fcn.005b96a0
mov eax, dword [edi + 0x90]
push esi
push dword [ebp - 0x14]
inc eax
add eax, ebx
push eax
call fcn.005b96a0
mov esi, dword [ebp - 8]
push ebx
push esi
push dword [edi + 0x94]
call fcn.005b96a0
mov ecx, dword [edi + 0x94]
movq xmm0, qword [str._journal]
push ebx
push esi
movq qword [ecx + ebx], xmm0
movzx eax, byte [0x5f4a2c]
mov byte [ecx + ebx + 8], al
mov eax, dword [edi + 0x94]
add eax, 9
add eax, ebx
push eax
mov dword [edi + 0xc8], eax
call fcn.005b96a0
mov ecx, dword [edi + 0xc8]
mov eax, dword [str._wal]
push esi
mov dword [ecx + ebx], eax
movzx eax, byte [0x5f4a34]
mov byte [ecx + ebx + 4], al
call fcn.004d8ef0
add esp, 0x34
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x1c]
mov dword [edi], ecx
mov dword [edi + 0x78], ebx
test eax, eax
je 0x528576
cmp byte [eax], 0
je 0x528576
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
mov eax, dword [ecx + 0x18]
and ebx, 0x87f7f
push ebx
push dword [edi + 0x3c]
push dword [edi + 0x90]
push ecx
call eax
mov ebx, dword [ebp + 8]
mov ecx, eax
add esp, 0x14
mov dword [ebp - 4], ecx
and ebx, 1
test ecx, ecx
jne 0x528692
test ebx, ebx
jne 0x528590
push edi
call fcn.0050ea10
mov eax, dword [edi + 0x7c]
add esp, 4
cmp eax, 0x400
jbe 0x528590
mov ecx, 0x2000
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x528590
mov eax, 1
mov word [edi + 0x10], 0x401
and ebx, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 4], 0
jne 0x528692
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.00528b60
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x528692
mov eax, dword [ebp + 0x14]
mov esi, dword [edi + 0xc0]
add eax, 7
push 0x30
and eax, 0xfffffff8
push 0
push esi
mov dword [ebp + 8], eax
call fcn.005b9c20
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], eax
xor eax, eax
test edx, edx
mov dword [ebp + 8], 0x505da0
mov dword [esi + 0x18], ecx
sete al
mov dword [esi + 0x24], edi
mov dword [esi + 0x1c], eax
xor eax, eax
test edx, edx
mov dword [esi + 0x10], 0x64
cmove eax, dword [ebp + 8]
test byte [ebp + 0x18], 2
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x1c]
mov byte [edi + 6], al
je 0x528615
test ebx, ebx
je 0x528615
mov eax, 1
jmp 0x528617
xor eax, eax
mov byte [edi + 7], al
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x84], 0x3fffffff
mov byte [edi + 0xd], al
mov byte [edi + 4], al
mov byte [edi + 0x12], al
mov byte [edi + 0xf], dl
mov byte [edi + 0xe], bl
mov byte [edi + 8], al
test al, al
jne 0x528644
mov dword [edi + 9], 0x2220201
push edi
mov word [edi + 0x74], cx
mov dword [edi + 0x88], 0xffffffff
mov dword [edi + 0x8c], 0xffffffff
call fcn.0050ea10
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x528671
mov byte [edi + 5], 2
jmp 0x52867b
cmp dword [ebp - 0x20], 0
je 0x52867b
mov byte [edi + 5], 4
mov eax, dword [ebp + 0x20]
mov dword [edi + 0xa8], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x3c]
mov eax, dword [esi]
test eax, eax
je 0x5286aa
mov eax, dword [eax + 4]
push esi
call eax
add esp, 4
mov dword [esi], 0
push edi
call fcn.004d8ef0
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
push edx
call fcn.004d8ef0
add esp, 4
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret