Function at 0x108c38a
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x90
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x90], edi
mov esi, dword [eax + 4]
mov ebx, dword [0x109dc84]
sub eax, 4
mov edi, 0xfffffff
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 4]
and eax, edi
lea ecx, [ebx + eax - 1]
mov eax, ecx
xor edx, edx
div ebx
sub ecx, edx
mov eax, dword [0x109dc84]
mov dword [ebp - 0x4c], ecx
mov eax, dword [0x129bea8]
mov dword [ebp - 0x48], eax
mov eax, dword [0x109dc84]
mov eax, dword [0x129bea8]
test eax, eax
je 0x108c47d
and dword [ebp - 0x38], 0
mov eax, dword [0x129bea8]
dec eax
lea ecx, [eax + 1]
mov edx, ecx
xor eax, eax
test ecx, ecx
je 0x108c435
mov ebx, dword [0x1427a7c]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x1427a7c], ebx
shr ebx, 0x10
shl eax, 0x10
or eax, ebx
shr edx, 0x10
jne 0x108c410
xor edx, edx
div ecx
cmp dword [ebp - 0x48], 0
jbe 0x108c477
inc dword [ebp - 0x38]
mov ecx, 0xffffc428
lea ebx, [edx*4 + 0x1427d38]
mov eax, 0x3bd7
lock cmpxchg dword [ebx], ecx
cmp eax, 0x3bd7
je 0x108c640
lea eax, [edx + 1]
xor edx, edx
mov ecx, dword [0x129bea8]
div ecx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x48]
jb 0x108c43f
xor ebx, ebx
test ebx, ebx
jne 0x108c4f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
xor ebx, ebx
inc ebx
push 0x40
push 0x1000
push dword [ebp - 0x4c]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x108c654
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 0x11
jb 0x108c488
xor ebx, ebx
cmp dword [0x144656c], ebx
ja 0x108c4c1
test ebx, 3
je 0x108c4d5
test ebx, ebx
je 0x108c4d3
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
je 0x108c3e1
mov eax, ebx
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x108c4f6
mov byte [eax], 0
inc eax
dec ecx
jne 0x108c4ef
mov eax, 0x63db2363
mov eax, dword [esi]
mov ecx, dword [esi + 4]
and eax, 7
lea eax, [eax + esi + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], eax
and ecx, edi
lea edi, [eax + ecx]
mov eax, dword [0x109dc84]
mov esi, 0x1000000
sub eax, ecx
sub dword [ebp - 0x34], esi
lea edx, [eax + 1]
xor eax, eax
mov dword [ebp - 0x48], ecx
test edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], edx
je 0x108c55c
mov edx, dword [0x1427a7c]
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x1427a7c], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
shr dword [ebp - 0x2c], 0x10
jne 0x108c536
xor edx, edx
div dword [ebp - 0x20]
lea eax, [edx + ebx]
push eax
push ecx
push dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, 0x8767439
mov ebx, dword [edi]
lea eax, [ebp - 0x78]
mov edi, dword [edi + 4]
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], edi
mov byte [ebp - 0xd], 0
mov eax, 0x669bc664
mov eax, 0xfffffff
mov edx, 0xfffff000
mov ecx, dword [0x13ca1e8]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
and edi, eax
and ebx, eax
add esp, 0x10
mov eax, esi
add ebx, esi
sub eax, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x3c], eax
jne 0x108c65b
and dword [ebp - 0x18], 0
test edi, edi
jbe 0x108c8dd
mov ecx, 0x7fffffff
mov esi, 0xf7df258b
mov edi, 0x820da75
mov eax, dword [ebp - 0x18]
movzx edx, byte [eax + ebx]
sub edx, edi
add dword [ebp - 0x28], edx
add edx, dword [ebp - 0x24]
mov eax, edx
imul eax, eax, 0xa5eb
rol eax, 0xb
ror edx, 0xb
xor eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x28], eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jb 0x108c5d5
jmp 0x108c8dd
mov ebx, dword [0x109dc84]
imul ebx, edx
lea ebx, [ebx + section..data]
jmp 0x108c479
mov ebx, eax
jmp 0x108c4b1
mov eax, edi
mov edi, dword [0x100003c]
lea edi, [edi + 0x10000a0]
mov ecx, ebx
add eax, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [edi]
add eax, esi
sub ecx, esi
mov esi, dword [edi + 4]
mov dword [ebp - 0x20], esi
mov edi, ecx
mov esi, ecx
and esi, edx
sub edi, esi
mov dword [ebp - 0x44], edi
mov edi, dword [ebp - 0x1c]
add ecx, edi
mov edi, ecx
and edi, edx
mov edx, dword [ebp - 0x20]
sub ecx, edi
add edx, eax
cmp eax, edx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edi
mov ecx, eax
mov dword [ebp - 0x5c], edx
jmp 0x108c6af
cmp dword [ecx], esi
jae 0x108c6b4
add ecx, dword [ecx + 4]
cmp ecx, edx
mov dword [ebp - 0x58], ecx
jne 0x108c6a6
and dword [ebp - 0x54], 0
cmp ecx, edx
je 0x108c6e5
cmp dword [ecx], esi
jne 0x108c6e5
mov eax, dword [ecx + 4]
sub eax, 8
shr eax, 1
je 0x108c6e5
mov edx, dword [ebp - 0x54]
movzx edx, word [ecx + edx*2 + 8]
and edx, 0xfff
cmp edx, dword [ebp - 0x44]
jae 0x108c6e5
inc dword [ebp - 0x54]
cmp dword [ebp - 0x54], eax
jne 0x108c6ca
mov ecx, 0x7fffffff
mov esi, 0xf7df258b
mov edi, 0x820da75
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x5c]
je 0x108c869
mov eax, dword [ebp - 0x64]
cmp dword [edx], eax
ja 0x108c869
mov edx, dword [edx + 4]
add edx, 0xfffffff8
shr edx, 1
cmp dword [ebp - 0x54], edx
mov edx, dword [ebp - 0x58]
jne 0x108c73b
add edx, dword [edx + 4]
cmp edx, dword [ebp - 0x5c]
mov dword [ebp - 0x58], edx
je 0x108c869
mov eax, dword [ebp - 0x64]
cmp dword [edx], eax
ja 0x108c869
and dword [ebp - 0x54], 0
jmp 0x108c70b
mov eax, dword [ebp - 0x64]
cmp dword [edx], eax
jne 0x108c75b
mov eax, dword [ebp - 0x54]
movzx eax, word [edx + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x60]
jae 0x108c869
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
inc dword [ebp - 0x54]
test word [edx + eax*2 + 8], 0xf000
je 0x108c6f7
movzx eax, word [edx + eax*2 + 8]
mov edx, dword [edx]
and dword [ebp - 0x18], 0
and eax, 0xfff
lea eax, [eax + edx + 0x1000000]
mov dword [ebp - 0x1c], eax
sub dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], eax
je 0x108c7f2
mov eax, dword [ebp - 0x18]
movzx edx, byte [eax + ebx]
sub edx, edi
add dword [ebp - 0x28], edx
add edx, dword [ebp - 0x24]
mov eax, edx
imul eax, eax, 0xa5eb
rol eax, 0xb
ror edx, 0xb
xor eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x28], eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jb 0x108c78c
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
sub eax, dword [ebp - 0x3c]
xor ebx, ebx
mov dword [ebp - 0x6c], eax
movzx edx, byte [ebp + ebx - 0x6c]
sub edx, edi
add dword [ebp - 0x28], edx
add edx, dword [ebp - 0x24]
mov eax, edx
imul eax, eax, 0xa5eb
rol eax, 0xb
ror edx, 0xb
xor eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x28], eax
inc ebx
mov dword [ebp - 0x24], eax
cmp ebx, 4
jb 0x108c7ff
mov ebx, dword [ebp - 0x2c]
add ebx, 4
jmp 0x108c6f4
mov eax, dword [ebp - 0x30]
and dword [ebp - 0x18], 0
sub eax, ebx
mov dword [ebp - 0x20], eax
je 0x108c8dd
mov eax, dword [ebp - 0x18]
movzx edx, byte [eax + ebx]
sub edx, edi
add dword [ebp - 0x28], edx
add edx, dword [ebp - 0x24]
mov eax, edx
imul eax, eax, 0xa5eb
rol eax, 0xb
ror edx, 0xb
xor eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
mov edx, esi
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x28], eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
jb 0x108c877
xor edi, edi
xor eax, eax
mov ecx, eax
and ecx, 7
mov cl, byte [ebp + ecx - 0x28]
mov byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 8
jb 0x108c8e1
mov eax, 0xdfb054f6
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
and edx, 7
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
je 0x108cabe
cmp edx, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
not eax
mov dword [ebp - 0x14], edi
jle 0x108c94c
push 0x38
pop edi
cmp dword [ebp - 0x14], 4
movzx ebx, byte [esi]
jge 0x108c939
lea ecx, [edi - 0x20]
shl ebx, cl
or dword [ebp - 0x1c], ebx
jmp 0x108c940
mov ecx, edi
shl ebx, cl
or dword [ebp - 0x18], ebx
inc esi
inc dword [ebp - 0x14]
sub edi, 8
cmp dword [ebp - 0x14], edx
jl 0x108c926
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 8]
ror ebx, 1
movzx edx, word [ebp - 6]
xor ebx, edx
mov edx, dword [ebp - 0xc]
movzx ecx, di
imul ebx, ecx
xor eax, ebx
mov ebx, eax
xor edx, eax
rol edx, 4
rol ebx, 1
mov dword [ebp - 0x14], eax
mov eax, ecx
imul eax, edx
sub eax, ebx
xor eax, dword [ebp - 0x34]
lea edx, [edi + eax]
mov ebx, eax
rol edx, 7
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x3c], edi
imul edi, edx
ror ebx, 2
add ebx, edi
mov edx, dword [ebp - 0x3c]
xor dword [ebp - 0x14], ebx
xor edx, dword [ebp - 0x14]
rol edx, 7
mov ebx, dword [ebp - 0x14]
movzx edi, word [ebp - 0xc]
imul edi, edx
ror ebx, 8
xor ebx, edi
xor eax, ebx
mov ebx, eax
movzx edi, word [ebp - 6]
mov edx, eax
sub edx, dword [ebp - 0xc]
rol edx, 1
imul edi, edx
rol ebx, 8
sub edi, ebx
xor dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
sub edx, ecx
xor edx, dword [ebp - 0xc]
xor eax, edx
mov edx, dword [ebp - 8]
sub edx, eax
mov ebx, eax
ror edx, 0xf
imul edi, edx
mov edx, dword [ebp - 8]
rol ebx, 0xc
xor ebx, edi
xor dword [ebp - 0x14], ebx
movzx edi, word [ebp - 0xc]
sub edx, dword [ebp - 0x14]
rol edx, 0xf
imul edi, edx
mov ebx, dword [ebp - 0x14]
rol ebx, 2
add ebx, edi
xor eax, ebx
mov edx, eax
mov ebx, eax
sub edx, ecx
movzx edi, word [ebp - 6]
imul edx, edi
shr ebx, 0xe
sub edx, ebx
mov ebx, dword [ebp - 0x14]
xor ebx, edx
mov edx, ebx
sub edx, edi
mov edi, ecx
rol edx, 3
imul edi, edx
mov edx, ebx
shr edx, 0xa
xor edi, edx
xor eax, edi
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
movzx edx, word [ebp - 0xc]
and dword [ebp - 0x14], 0
xor edi, ebx
xor edi, eax
mov ebx, edi
xor ecx, edi
imul ecx, edx
xor edi, dword [ebp - 0x18]
ror ebx, 9
xor ebx, ecx
xor ebx, dword [ebp - 0x1c]
xor eax, ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
test ebx, ebx
mov ecx, edi
jle 0x108ca94
cmp dword [ebp - 0x14], 4
jge 0x108ca7b
rol dword [ebp - 0x30], 8
mov ebx, dword [ebp - 0x40]
mov dl, byte [ebp - 0x30]
inc dword [ebp - 0x40]
xor byte [ebp - 0xd], dl
mov byte [ebx], dl
jmp 0x108ca89
mov edx, dword [ebp - 0x40]
inc dword [ebp - 0x40]
rol ecx, 8
xor byte [ebp - 0xd], cl
mov byte [edx], cl
inc dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], ebx
jl 0x108ca61
add ebx, 0xfffffffc
test ebx, ebx
jle 0x108caab
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr edi, cl
shl edi, cl
mov edx, edi
jmp 0x108caca
xor edx, edx
test ebx, ebx
jge 0x108caca
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x108caca
mov dword [ebp - 0x1c], eax
not eax
mov dword [ebp - 0x18], eax
xor edx, edx
xor eax, eax
mov ecx, dword [ebp - 0x48]
shr ecx, 3
je 0x108cc8b
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x3c], edi
movzx edi, word [ebp - 6]
mov dword [ebp - 0x2c], edi
neg dword [ebp - 0x2c]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x70], edi
movzx edi, byte [esi + 2]
xor ecx, ecx
mov ch, byte [esi]
add esi, 8
mov cl, byte [esi - 7]
shl ecx, 8
or ecx, edi
shl ecx, 8
movzx edi, byte [esi - 5]
or ecx, edi
mov dword [ebp - 0x30], ecx
xor ecx, ecx
xor eax, dword [ebp - 0x30]
mov ch, byte [esi - 4]
movzx edi, byte [esi - 2]
mov cl, byte [esi - 3]
shl ecx, 8
or ecx, edi
movzx edi, byte [esi - 1]
shl ecx, 8
or ecx, edi
movzx edi, word [ebp - 8]
mov dword [ebp - 0x44], ecx
mov ecx, eax
ror ecx, 1
xor ecx, dword [ebp - 0x14]
imul ecx, edi
xor ecx, dword [ebp - 0x44]
xor edx, ecx
mov ecx, dword [ebp - 0xc]
xor ecx, edx
mov ebx, edx
rol ecx, 4
imul edi, ecx
mov ecx, dword [ebp - 8]
rol ebx, 1
sub edi, ebx
xor eax, edi
mov edi, eax
mov ebx, dword [ebp - 0x3c]
add ecx, eax
rol ecx, 7
imul ebx, ecx
mov ecx, dword [ebp - 0x3c]
ror edi, 2
add edi, ebx
xor edx, edi
mov ebx, edx
movzx edi, word [ebp - 0xc]
xor ecx, edx
rol ecx, 7
imul edi, ecx
ror ebx, 8
xor ebx, edi
xor eax, ebx
mov ebx, dword [ebp - 0x14]
mov edi, eax
mov ecx, eax
sub ecx, dword [ebp - 0xc]
rol ecx, 1
imul ebx, ecx
movzx ecx, word [ebp - 8]
rol edi, 8
sub ebx, edi
xor edx, ebx
mov edi, edx
sub edi, ecx
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
xor eax, edi
sub ecx, eax
ror ecx, 0xf
imul ebx, ecx
mov ecx, dword [ebp - 8]
mov edi, eax
rol edi, 0xc
xor edi, ebx
xor edx, edi
movzx edi, word [ebp - 0xc]
mov ebx, edx
sub ecx, edx
rol ecx, 0xf
imul edi, ecx
rol ebx, 2
add ebx, edi
xor eax, ebx
mov ebx, eax
movzx edi, word [ebp - 8]
mov ecx, eax
sub ecx, edi
imul ecx, dword [ebp - 0x14]
shr ebx, 0xe
sub ecx, ebx
xor edx, ecx
mov ebx, edi
mov ecx, dword [ebp - 0x2c]
add ecx, edx
rol ecx, 3
imul ebx, ecx
mov ecx, edx
shr ecx, 0xa
xor ebx, ecx
xor eax, ebx
movzx ecx, word [ebp - 0xc]
xor edx, eax
xor edx, dword [ebp - 0x70]
mov ebx, edx
xor edi, edx
imul edi, ecx
xor edx, dword [ebp - 0x18]
mov cl, byte [ebp - 0xd]
ror ebx, 9
xor ebx, edi
mov edi, dword [ebp - 0x40]
xor ebx, dword [ebp - 0x1c]
xor eax, ebx
xor cl, al
xor cl, dl
mov byte [edi + 3], al
mov byte [edi + 7], dl
ror eax, 8
mov byte [edi + 2], al
xor cl, al
ror edx, 8
mov byte [edi + 6], dl
xor cl, dl
ror eax, 8
xor cl, al
ror edx, 8
xor cl, dl
mov byte [edi + 1], al
ror eax, 8
mov byte [edi + 5], dl
ror edx, 8
mov bl, dl
xor bl, al
xor cl, bl
mov ebx, dword [ebp - 0x30]
mov byte [edi], al
mov byte [edi + 4], dl
mov dword [ebp - 0x1c], ebx
add edi, 8
mov ebx, dword [ebp - 0x44]
dec dword [ebp - 0x20]
mov byte [ebp - 0xd], cl
mov dword [ebp - 0x18], ebx
ror eax, 8
mov dword [ebp - 0x40], edi
ror edx, 8
jne 0x108caf6
jmp 0x108cc8e
mov cl, byte [ebp - 0xd]
mov eax, dword [ebp - 0x50]
cmp cl, byte [eax + 8]
je 0x108cd22
call fcn.012a18fc
mov edx, dword [ebp - 0x68]
mov edi, eax
lea ecx, [edx + 0xc]
mov eax, 0xfffff000
mov dword [edx + 8], 0x103a6aa
mov edx, 0xffff
and ecx, 0xfffffffc
and edi, eax
lea esi, [ecx + 0xfff]
and esi, eax
xor eax, eax
mov ebx, dword [0x1427a7c]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x1427a7c], ebx
shr ebx, 0x10
shl eax, 0x10
or eax, ebx
shr edx, 0x10
jne 0x108ccc7
xor edx, edx
mov ebx, 0xffff
div ebx
mov dword [ebp - 0x84], edi
inc edx
mov dword [ebp - 0x7c], edx
cmp ecx, esi
mov eax, ecx
mov dword [ebp - 0x50], 0
jae 0x108cd18
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
add eax, 4
cmp eax, esi
jb 0x108cd0c
mov eax, 0x103a6aa
jmp 0x108cdf3
mov edx, dword [0x13ca1e8]
mov ecx, 0x1000000
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
sub ecx, edx
mov dword [ebp - 0x20], ecx
jne 0x108cd45
test eax, eax
je 0x108cde6
mov ecx, dword [0x1236cc0]
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x48]
sub esi, dword [ebp - 0x4c]
add eax, ebx
xor edi, edi
dec ecx
mov dword [ebp - 0x50], eax
js 0x108cd88
lea eax, [edi + ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x1236cc4]
and edx, 0xfffffff
cmp ebx, edx
jae 0x108cd7f
lea ecx, [eax - 1]
jmp 0x108cd84
jbe 0x108cd8c
lea edi, [eax + 1]
cmp ecx, edi
jge 0x108cd61
mov ebx, edi
jmp 0x108cdde
mov ebx, eax
jmp 0x108cdde
mov eax, dword [ebx*4 + 0x1236cc4]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x50]
jae 0x108cde6
lea edi, [ecx + esi + 0x1000000]
mov ecx, eax
shl ecx, 2
sar ecx, 0x1e
sar eax, 0x1e
and ecx, 3
and eax, 3
xor edx, edx
dec ecx
je 0x108cdd1
dec ecx
je 0x108cdcc
dec ecx
jne 0x108cdd7
mov edx, dword [ebp - 0x20]
jmp 0x108cdd7
mov edx, dword [ebp - 0x44]
jmp 0x108cdd7
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x44]
dec eax
dec eax
jne 0x108cddd
add dword [edi], edx
inc ebx
cmp ebx, dword [0x1236cc0]
jb 0x108cd90
mov eax, dword [0x109dc84]
mov eax, 0x5b3b4aac
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 8], eax
mov edi, dword [ebp - 0x90]
mov esi, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x7c]
mov esp, ebp
pop ebp
popfd
ret