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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1072a790]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0xc], 0
xor ecx, ecx
mov dword [ebp - 0x14], eax
push ebx
push esi
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
mov esi, ecx
not esi
mov dword [ebp - 0x18], 0x400
and esi, 1
mov dword [ebp - 0x1c], ebx
push edi
mov edi, edx
mov dword [ebp - 0x2c], esi
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 8], edx
cmp eax, 0x28
jle 0x103c0823
add eax, 7
and eax, 0xfffffff8
mov dword [ebp - 0x20], eax
jmp 0x103c082a
mov dword [ebp - 0x20], 0x28
mov dword [edi], ebx
test cl, 2
je 0x103c0868
mov ecx, 1
mov dword [ebp - 0x24], ecx
test edx, edx
je 0x103c095b
cmp byte [edx], bl
je 0x103c0868
xor ecx, ecx
call fcn.103b54c0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x103c0c32
mov ecx, eax
call fcn.103b72f0
mov ebx, eax
mov dword [ebp - 8], esi
jmp 0x103c095b
test edx, edx
je 0x103c095b
cmp byte [edx], bl
je 0x103c095b
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebx + 8]
inc esi
lea eax, [esi + esi]
push eax
call fcn.103b4db0
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
test edi, edi
je 0x103c0c32
push edi
push esi
mov esi, dword [ebp - 8]
mov byte [edi], 0
mov eax, dword [ebx + 0x24]
push esi
push ebx
call eax
add esp, 0x10
mov edx, eax
cmp byte [edi], 0
mov ebx, edi
mov dword [ebp - 0xc], edx
je 0x103c08bc
inc ebx
cmp byte [ebx], 0
jne 0x103c08b6
sub ebx, edi
mov eax, esi
and ebx, 0x3fffffff
cmp byte [esi], 0
je 0x103c08d6
jmp 0x103c08d0
inc eax
cmp byte [eax], 0
jne 0x103c08d0
sub eax, esi
inc esi
and eax, 0x3fffffff
add eax, esi
mov dword [ebp - 0x1c], eax
mov esi, eax
cmp byte [eax], 0
je 0x103c0930
lea ebx, [ebx]
cmp byte [esi], 0
mov eax, esi
je 0x103c08fd
inc eax
cmp byte [eax], 0
jne 0x103c08f7
sub eax, esi
and eax, 0x3fffffff
lea ecx, [eax + 1]
add ecx, esi
mov eax, ecx
jne 0x103c0911
xor eax, eax
jmp 0x103c0923
cmp byte [ecx], 0
je 0x103c091c
inc eax
cmp byte [eax], 0
jne 0x103c0916
sub eax, ecx
and eax, 0x3fffffff
lea esi, [eax + 1]
add esi, ecx
cmp byte [esi], 0
jne 0x103c08f0
mov eax, dword [ebp - 0x1c]
sub esi, eax
inc esi
test edx, edx
jne 0x103c0c09
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 8]
cmp eax, dword [ecx + 8]
jle 0x103c095b
mov ecx, 0xa35a
call fcn.10418c10
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x103c0c09
mov eax, dword [ebp - 0x14]
lea ecx, [ebx + ebx*2]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + 4]
add eax, 7
and eax, 0xfffffff8
add eax, esi
lea eax, [eax + edx*2]
add eax, 0x101
add eax, ecx
push eax
mov dword [ebp - 0x30], eax
call fcn.103b4db0
mov edi, eax
add esp, 4
test edi, edi
je 0x103c0c26
push dword [ebp - 0x30]
push 0
push edi
call fcn.1043c810
mov eax, dword [ebp - 0x14]
lea ecx, [edi + 0xc0]
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov dword [edi + 0xb4], 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 - 0x20]
mov dword [edi + 0x40], ecx
add ecx, dword [ebp - 0x20]
mov dword [edi + 0x90], ecx
test edx, edx
je 0x103c0a79
lea eax, [ecx + 1]
push ebx
add eax, esi
push edx
add eax, ebx
push ecx
mov dword [edi + 0x94], eax
call fcn.1043a410
add esp, 0xc
test esi, esi
je 0x103c0a0c
mov eax, dword [edi + 0x90]
push esi
push dword [ebp - 0x1c]
inc eax
add eax, ebx
push eax
call fcn.1043a410
add esp, 0xc
mov esi, dword [ebp - 0x10]
push ebx
push esi
push dword [edi + 0x94]
call fcn.1043a410
mov ecx, dword [edi + 0x94]
add esp, 0xc
movq xmm0, qword [str._journal]
movq qword [ecx + ebx], xmm0
mov ax, word [0x1061e6d4]
mov word [ecx + ebx + 8], ax
mov eax, dword [edi + 0x94]
add eax, 9
push ebx
add eax, ebx
push esi
push eax
mov dword [edi + 0xbc], eax
call fcn.1043a410
mov ecx, dword [edi + 0xbc]
add esp, 0xc
mov eax, dword [str._wal]
mov dword [ecx + ebx], eax
mov al, byte [0x1061e6c8]
push esi
mov byte [ecx + ebx + 4], al
call fcn.103b50c0
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0x14]
mov dword [edi], ecx
mov dword [edi + 0x78], ebx
test eax, eax
je 0x103c0aeb
cmp byte [eax], 0
je 0x103c0aeb
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 - 0xc], ecx
and ebx, 1
test ecx, ecx
jne 0x103c0bf1
test ebx, ebx
jne 0x103c0b05
mov ecx, edi
call fcn.103bf310
mov eax, dword [edi + 0x7c]
cmp eax, 0x400
jbe 0x103c0b05
mov ecx, 0x2000
cmp eax, ecx
cmova eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x103c0b05
mov ecx, 1
mov word [edi + 0xf], 0x401
and ebx, ecx
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0xc], 0
jne 0x103c0bf1
push 0xffffffffffffffff
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.103bfee0
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x103c0bf1
mov esi, dword [edi + 0xb4]
push 0x30
push eax
push esi
call fcn.1043c810
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov edx, 0x103c06e0
mov dword [esi + 0x14], eax
xor eax, eax
test ecx, ecx
mov dword [esi + 0x18], 0x50
mov dword [esi + 0x24], edi
sete al
mov dword [esi + 0x10], 0x64
mov dword [esi + 0x1c], eax
xor eax, eax
test ecx, ecx
cmove eax, edx
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x2c]
mov byte [edi + 6], al
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x84], 0x3fffffff
mov byte [edi + 0xc], al
mov byte [edi + 4], al
mov byte [edi + 0x11], al
mov byte [edi + 0xe], cl
mov byte [edi + 0xd], bl
mov byte [edi + 7], al
test al, al
jne 0x103c0b94
mov dword [edi + 8], 0x2220201
mov eax, 0x50
mov dword [edi + 0x88], 0xffffffff
mov ecx, edi
mov word [edi + 0x74], ax
mov dword [edi + 0x8c], 0xffffffff
call fcn.103bf310
cmp dword [ebp - 0x2c], 0
jne 0x103c0bc4
mov byte [edi + 5], 2
jmp 0x103c0bcf
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x103c0bcf
mov byte [edi + 5], 4
mov eax, dword [ebp - 0x34]
mov dword [edi + 0xac], 0x103c68a0
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10436e26
mov esp, ebp
pop ebp
ret
mov esi, dword [edi + 0x3c]
mov eax, dword [esi]
test eax, eax
je 0x103c0c09
mov eax, dword [eax + 4]
push esi
call eax
add esp, 4
mov dword [esi], 0
push edi
call fcn.103b50c0
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10436e26
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
push edx
call fcn.103b50c0
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 7
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10436e26
mov esp, ebp
pop ebp
ret