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

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov eax, ecx
not eax
xor ebp, ebp
and eax, 1
push esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 4]
cmp eax, 0x28
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], 0x400
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebp
jle 0x100cebdc
lea edi, [eax + 7]
and edi, 0xfffffff8
mov dword [esp + 0x18], edi
jmp 0x100cebe8
mov dword [esp + 0x18], 0x28
mov edi, dword [esp + 0x18]
test cl, 2
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov dword [eax], ebp
je 0x100cec37
cmp ebx, ebp
mov dword [esp + 0x24], 1
je 0x100ced26
cmp byte [ebx], 0
je 0x100cec37
push ebp
call fcn.1009e270
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
je 0x100ceefb
mov ecx, eax
call fcn.10093c30
mov ebp, eax
mov dword [esp + 0x40], 0
jmp 0x100ced26
cmp ebx, ebp
je 0x100ced26
cmp byte [ebx], 0
je 0x100ced26
mov ebp, dword [esi + 8]
inc ebp
lea eax, [ebp + ebp]
push eax
call fcn.1009dcf0
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x14], edi
je 0x100ceefb
push edi
push ebp
push ebx
push esi
mov byte [edi], 0
call dword [esi + 0x24]
add esp, 0x10
mov ecx, edi
mov dword [esp + 0x10], eax
call fcn.10093c30
mov ecx, ebx
mov ebp, eax
call fcn.10093c30
mov cl, byte [eax + ebx + 1]
test cl, cl
lea ebx, [eax + ebx + 1]
mov dword [esp + 0x28], ebx
mov eax, ebx
je 0x100cecde
lea ebx, [ebx]
cmp byte [eax], 0
mov ecx, eax
je 0x100cecaf
mov dl, byte [ecx + 1]
inc ecx
test dl, dl
jne 0x100ceca7
sub ecx, eax
and ecx, 0x3fffffff
lea ecx, [eax + ecx + 1]
test ecx, ecx
mov eax, ecx
je 0x100cecd5
cmp byte [ecx], 0
je 0x100cecce
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x100cecc6
sub eax, ecx
and eax, 0x3fffffff
lea eax, [ecx + eax + 1]
cmp byte [eax], 0
jne 0x100ceca0
sub eax, ebx
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x100ced0d
mov eax, dword [esi + 8]
lea ecx, [ebp + 8]
cmp ecx, eax
jle 0x100ced22
mov eax, 0xa30c
call fcn.100af3e0
test eax, eax
mov dword [esp + 0x10], eax
je 0x100ced22
mov edi, dword [esp + 0x14]
push edi
call fcn.10093990
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x1c]
add edx, 7
and edx, 0xfffffff8
add edx, ebx
lea eax, [ebp + ebp*2]
lea ecx, [edx + edi*2]
lea edi, [eax + ecx + 0x101]
push edi
call fcn.1009dcf0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100ceeee
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
lea edi, [ebx + 0xc0]
mov dword [ebx + 0xb4], edi
add edi, 0x30
mov dword [ebx + 0x3c], edi
mov ecx, dword [esi + 4]
add ecx, 7
and ecx, 0xfffffff8
add edi, ecx
mov dword [ebx + 0x44], edi
add edi, eax
mov dword [ebx + 0x40], edi
add edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [ebx + 0x90], edi
je 0x100cee76
mov edx, dword [esp + 0x1c]
lea ecx, [edi + edx]
lea edx, [ecx + ebp + 1]
mov ecx, ebp
mov esi, eax
mov eax, ecx
shr ecx, 2
mov dword [ebx + 0x94], edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x100cedee
mov edx, dword [ebx + 0x90]
mov esi, dword [esp + 0x28]
mov eax, ecx
shr ecx, 2
lea edi, [edx + ebp + 1]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx + 0x94]
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x94]
mov edx, dword [str._journal]
add ecx, ebp
mov dword [ecx], edx
mov edx, dword [0x10189240]
mov dword [ecx + 4], edx
mov dx, word [0x10189244]
mov word [ecx + 8], dx
mov ecx, dword [ebx + 0x94]
lea edi, [ecx + ebp + 9]
mov dword [ebx + 0xbc], edi
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0xbc]
mov edx, dword [str._wal]
add ecx, ebp
mov dword [ecx], edx
mov dl, byte [0x10189238]
push eax
mov byte [ecx + 4], dl
call fcn.10093990
mov esi, dword [esp + 0x3c]
add esp, 4
mov ecx, dword [esp + 0x40]
test ecx, ecx
mov eax, dword [esp + 0x48]
mov dword [ebx], esi
mov dword [ebx + 0x78], eax
je 0x100cef0e
cmp byte [ecx], 0
je 0x100cef0e
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x90]
lea edi, [esp + 0x38]
push edi
and eax, 0x87f7f
push eax
push ecx
push edx
push esi
mov dword [esp + 0x4c], 0
call dword [esi + 0x18]
mov ecx, dword [esp + 0x4c]
and ecx, 1
mov eax, dword [esp + 0x14]
push eax
call fcn.10093990
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x24
ret
and eax, 1
mov dword [esp + 0x2c], 1
mov byte [ebx + 0xf], 1
mov byte [ebx + 0x10], 4
mov dword [esp + 0x28], eax