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

Disassembly:
push edi
pushfd
push ebp
mov ebp, esp
sub esp, 0x94
mov dword [ebp - 0x90], eax
lea eax, [ebp + 4]
sub eax, 4
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x80], ebx
lea ebx, [eax + 0xc]
mov ecx, 0xfffffff
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x70], eax
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [eax]
and eax, ecx
and esi, ecx
xor edx, edx
mov ecx, dword [0x10fb370]
mov dword [ebp - 0x34], ecx
lea ecx, [ecx + eax - 1]
mov eax, ecx
div dword [ebp - 0x34]
mov edi, 0x1000000
mov eax, dword [0x10fb370]
mov dword [ebp - 0x50], ebx
add esi, edi
sub ecx, edx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x30], ecx
mov eax, dword [0x1007420]
mov dword [ebp - 0x20], eax
mov eax, dword [0x10fb370]
mov eax, dword [0x1007420]
test eax, eax
je 0x10ef9aa
and dword [ebp - 0x38], 0
mov eax, dword [0x1007420]
dec eax
lea ecx, [eax + 1]
mov dword [ebp - 0x1c], ecx
xor eax, eax
test ecx, ecx
je 0x10ef953
mov edx, dword [0x138b4cc]
shr dword [ebp - 0x1c], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x138b4cc], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0x1c], 0
jne 0x10ef929
xor edx, edx
div ecx
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], edx
jbe 0x10ef99c
mov eax, 0xef0b
inc dword [ebp - 0x38]
lea edx, [edx*4 + 0x1388f9c]
mov ecx, 0xffff10f4
lock cmpxchg dword [edx], ecx
cmp eax, 0xef0b
je 0x10efb3a
mov ecx, dword [0x1007420]
mov eax, dword [ebp - 0x1c]
inc eax
xor edx, edx
div ecx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], edx
cmp eax, dword [ebp - 0x20]
jb 0x10ef960
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jne 0x10efa30
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x34], eax
inc dword [ebp - 0x1c]
push 0x40
push 0x1000
push dword [ebp - 0x30]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10efb51
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x1c], 0x11
jb 0x10ef9b7
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp dword [0x138b2f8], eax
ja 0x10ef9f4
test al, 3
je 0x10efa0c
test eax, eax
je 0x10efa08
push 0x8000
push 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
and dword [ebp - 0x14], 0
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x14], 0
je 0x10ef8f9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x10efa30
mov byte [eax], 0
inc eax
dec ecx
jne 0x10efa29
mov eax, 0x91e698a0
add dword [ebx], 8
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
and eax, 0xfffffff
lea ecx, [eax + esi]
mov dword [ebp - 0x34], ecx
mov ecx, dword [0x10fb370]
mov dword [ebp - 0x2c], esi
sub ecx, eax
sub dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], eax
inc ecx
xor eax, eax
mov edx, ecx
test ecx, ecx
je 0x10efa89
mov esi, dword [0x138b4cc]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov dword [0x138b4cc], esi
shr esi, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, esi
test edx, edx
jne 0x10efa62
xor edx, edx
div ecx
mov eax, dword [ebp - 0x14]
add eax, edx
push eax
push dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x2c]
mov eax, 0x76d2c462
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
mov ebx, dword [eax + 4]
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0xd], 0
mov eax, 0x6dba38ba
mov eax, 0xfffffff
mov ecx, dword [0x102c94c]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
and ebx, eax
mov edx, ebx
and esi, eax
add esi, edi
mov ebx, esi
add esp, 0x10
mov dword [ebp - 0x3c], edx
mov eax, edi
mov dword [ebp - 0x18], ebx
sub eax, ecx
mov dword [ebp - 0x30], eax
jne 0x10efb59
and dword [ebp - 0x18], 0
test edx, edx
jbe 0x10efd38
mov esi, 0x69eb8044
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + ebx]
sub ecx, esi
add dword [ebp - 0x28], ecx
add ecx, dword [ebp - 0x24]
mov eax, ecx
imul eax, eax, 0x7680
rol eax, 0xc
ror ecx, 0xc
xor eax, ecx
imul eax, eax, 0x96147fbc
imul eax, eax, 0x96147fbc
add dword [ebp - 0x28], eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x18], edx
jb 0x10efafc
jmp 0x10efd38
mov eax, dword [0x10fb370]
imul eax, dword [ebp - 0x1c]
lea eax, [eax + section..data]
mov dword [ebp - 0x14], eax
jmp 0x10ef9a0
mov dword [ebp - 0x14], eax
jmp 0x10ef9e5
lea eax, [edx + ebx]
mov edx, dword [0x100003c]
lea edx, [edx + 0x10000a0]
mov dword [ebp - 0x40], eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x54], edx
mov edx, 0xfffff000
mov ecx, ebx
sub ecx, edi
mov ebx, ecx
mov esi, ecx
and ebx, edx
sub esi, ebx
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x3c]
add ecx, esi
mov esi, ecx
and esi, edx
sub ecx, esi
add eax, edi
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x6c], esi
mov edx, eax
add ecx, eax
mov dword [ebp - 0x64], ecx
cmp eax, ecx
je 0x10efbb4
cmp dword [edx], ebx
jae 0x10efbb4
add edx, dword [edx + 4]
cmp edx, dword [ebp - 0x64]
jne 0x10efba8
and dword [ebp - 0x5c], 0
cmp edx, dword [ebp - 0x64]
je 0x10efbe6
cmp dword [edx], ebx
jne 0x10efbe6
mov eax, dword [edx + 4]
sub eax, 8
shr eax, 1
je 0x10efbe6
lea ecx, [edx + 8]
movzx esi, word [ecx]
and esi, 0xfff
cmp esi, dword [ebp - 0x20]
jae 0x10efbe6
inc dword [ebp - 0x5c]
inc ecx
inc ecx
cmp dword [ebp - 0x5c], eax
jne 0x10efbce
mov esi, 0x69eb8044
mov ecx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x64]
je 0x10efcf8
cmp dword [edx], ecx
ja 0x10efcf8
mov eax, dword [edx + 4]
lea ebx, [eax - 8]
shr ebx, 1
cmp dword [ebp - 0x5c], ebx
jne 0x10efc25
add edx, eax
cmp edx, dword [ebp - 0x64]
je 0x10efcf8
cmp dword [edx], ecx
ja 0x10efcf8
and dword [ebp - 0x5c], 0
jmp 0x10efbff
cmp dword [edx], ecx
jne 0x10efc3f
mov eax, dword [ebp - 0x5c]
movzx eax, word [edx + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x68]
jae 0x10efcf8
mov ebx, 0xf000
mov eax, dword [ebp - 0x5c]
inc dword [ebp - 0x5c]
test word [edx + eax*2 + 8], bx
je 0x10efbee
mov ecx, dword [edx]
movzx eax, word [edx + eax*2 + 8]
and eax, 0xfff
lea eax, [eax + ecx + 0x1000000]
xor ecx, ecx
mov dword [ebp - 0x20], eax
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
je 0x10efca8
mov eax, dword [ebp - 0x18]
movzx ebx, byte [eax + ecx]
sub ebx, esi
add dword [ebp - 0x28], ebx
add ebx, dword [ebp - 0x24]
mov eax, ebx
imul eax, eax, 0x7680
rol eax, 0xc
ror ebx, 0xc
xor eax, ebx
imul eax, eax, 0x96147fbc
imul eax, eax, 0x96147fbc
add dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
inc ecx
cmp ecx, dword [ebp - 0x3c]
jb 0x10efc71
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
sub eax, dword [ebp - 0x30]
xor ecx, ecx
mov dword [ebp - 0x74], eax
movzx ebx, byte [ebp + ecx - 0x74]
sub ebx, esi
add dword [ebp - 0x28], ebx
add ebx, dword [ebp - 0x24]
mov eax, ebx
imul eax, eax, 0x7680
rol eax, 0xc
ror ebx, 0xc
xor eax, ebx
imul eax, eax, 0x96147fbc
imul eax, eax, 0x96147fbc
add dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
inc ecx
cmp ecx, 4
jb 0x10efcb5
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x10efbeb
mov ebx, dword [ebp - 0x40]
xor edx, edx
sub ebx, dword [ebp - 0x18]
je 0x10efd38
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + edx]
sub ecx, esi
add dword [ebp - 0x28], ecx
add ecx, dword [ebp - 0x24]
mov eax, ecx
imul eax, eax, 0x7680
rol eax, 0xc
ror ecx, 0xc
xor eax, ecx
imul eax, eax, 0x96147fbc
imul eax, eax, 0x96147fbc
add dword [ebp - 0x28], eax
inc edx
cmp edx, ebx
mov dword [ebp - 0x24], eax
jb 0x10efd02
xor ebx, ebx
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 0x10efd3c
mov eax, 0xc496868
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
and eax, 7
mov dword [ebp - 0x20], eax
je 0x10f0192
cmp eax, ebx
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
not edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x14], ebx
jle 0x10efda7
push 0x38
pop edx
cmp dword [ebp - 0x14], 4
movzx ebx, byte [esi]
jge 0x10efd94
lea ecx, [edx - 0x20]
shl ebx, cl
or dword [ebp - 0x40], ebx
jmp 0x10efd9b
mov ecx, edx
shl ebx, cl
or dword [ebp - 0x18], ebx
inc esi
inc dword [ebp - 0x14]
sub edx, 8
cmp dword [ebp - 0x14], eax
jl 0x10efd81
movzx eax, word [ebp - 6]
mov edx, dword [ebp - 0x2c]
movzx ecx, word [ebp - 8]
sub edx, ecx
imul edx, eax
mov eax, dword [ebp - 0x2c]
shr eax, 0xa
sub edx, eax
xor edi, edx
movzx edx, word [ebp - 0xc]
mov eax, edx
mov dword [ebp - 0x30], ecx
xor eax, edi
mov ebx, edi
imul eax, ecx
ror ebx, 7
movzx ecx, word [ebp - 0xa]
sub eax, ebx
xor eax, dword [ebp - 0x2c]
mov ebx, eax
mov dword [ebp - 0x14], ecx
sub ebx, ecx
sub ebx, dword [ebp - 8]
xor edi, ebx
mov ebx, edi
xor ecx, edi
rol ecx, 2
imul edx, ecx
ror ebx, 6
mov ecx, dword [ebp - 0xc]
xor ebx, edx
xor eax, ebx
xor ecx, eax
rol ecx, 6
movzx edx, word [ebp - 6]
mov ebx, edx
imul ebx, ecx
mov ecx, eax
shr ecx, 1
sub ebx, ecx
mov ecx, edx
xor edi, ebx
mov ebx, dword [ebp - 0x30]
xor ecx, edi
rol ecx, 1
imul ebx, ecx
mov edx, edi
ror edx, 6
sub ebx, edx
movzx edx, word [ebp - 0xc]
xor eax, ebx
mov ecx, eax
not ecx
ror ecx, 2
add ecx, dword [ebp - 0x14]
imul ecx, edx
xor edi, ecx
mov ebx, edi
mov ecx, edi
sub ecx, dword [ebp - 8]
rol ecx, 3
imul edx, ecx
ror ebx, 0xd
movzx ecx, word [ebp - 0xc]
add ebx, edx
xor eax, ebx
mov ebx, ecx
xor ebx, eax
movzx ecx, word [ebp - 6]
imul ebx, ecx
mov edx, eax
ror edx, 0xc
add edx, ebx
mov ecx, dword [ebp - 0x30]
xor edi, edx
movzx edx, word [ebp - 0xc]
xor edx, edi
rol edx, 6
imul ecx, edx
mov edx, edi
shr edx, 3
add ecx, edx
xor eax, ecx
mov edx, dword [ebp - 0x14]
mov ebx, eax
mov ecx, dword [ebp - 8]
add ecx, eax
and dword [ebp - 0x14], 0
ror ecx, 0xe
imul edx, ecx
movzx ecx, word [ebp - 0xc]
rol ebx, 0xe
add ebx, edx
xor edi, ebx
mov ebx, dword [ebp - 0x20]
mov edx, edi
xor edi, dword [ebp - 0x18]
sub edx, ecx
xor edx, dword [ebp - 8]
xor edx, dword [ebp - 0x40]
xor eax, edx
mov dword [ebp - 0x48], eax
test ebx, ebx
mov ecx, edi
jle 0x10efeec
cmp dword [ebp - 0x14], 4
jge 0x10efed3
rol dword [ebp - 0x48], 8
mov dl, byte [ebp - 0x48]
mov ebx, dword [ebp - 0x44]
inc dword [ebp - 0x44]
xor byte [ebp - 0xd], dl
mov byte [ebx], dl
jmp 0x10efee1
mov edx, dword [ebp - 0x44]
inc dword [ebp - 0x44]
rol ecx, 8
xor byte [ebp - 0xd], cl
mov byte [edx], cl
inc dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
cmp dword [ebp - 0x14], ebx
jl 0x10efeb9
add ebx, 0xfffffffc
test ebx, ebx
jle 0x10f0178
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr edi, cl
shl edi, cl
mov edx, edi
mov edi, 0x1000000
mov ecx, dword [ebp - 0x38]
shr ecx, 3
test ecx, ecx
jbe 0x10f00dc
movzx edi, word [ebp - 6]
mov dword [ebp - 0x20], edi
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x14], edi
movzx edi, word [ebp - 0xc]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x3c], ecx
movzx ecx, byte [esi]
movzx ebx, byte [esi + 5]
shl ecx, 8
movzx edi, byte [esi + 1]
or edi, ecx
shl edi, 8
movzx ecx, byte [esi + 2]
or edi, ecx
shl edi, 8
movzx ecx, byte [esi + 3]
or edi, ecx
movzx ecx, byte [esi + 4]
shl ecx, 8
or ecx, ebx
xor eax, edi
movzx ebx, byte [esi + 6]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 7]
shl ecx, 8
mov dword [ebp - 0x48], edi
movzx edi, word [ebp - 8]
or ecx, ebx
mov dword [ebp - 0x30], edi
mov ebx, eax
sub ebx, edi
mov edi, eax
imul ebx, dword [ebp - 0x20]
shr edi, 0xa
sub ebx, edi
xor ebx, ecx
xor edx, ebx
mov edi, dword [ebp - 0x54]
xor edi, edx
imul edi, dword [ebp - 0x30]
add esi, 8
mov dword [ebp - 0x4c], ecx
mov ecx, edx
ror ecx, 7
sub edi, ecx
mov ecx, dword [ebp - 0x14]
xor eax, edi
mov edi, eax
sub edi, ecx
sub edi, dword [ebp - 8]
xor edx, edi
movzx edi, word [ebp - 0xc]
mov ebx, edx
xor ecx, edx
rol ecx, 2
imul edi, ecx
mov ecx, dword [ebp - 0xc]
ror ebx, 6
xor ebx, edi
xor eax, ebx
xor ecx, eax
mov edi, dword [ebp - 0x20]
rol ecx, 6
imul edi, ecx
mov ecx, eax
shr ecx, 1
sub edi, ecx
mov ecx, dword [ebp - 0x20]
xor edx, edi
mov ebx, edx
movzx edi, word [ebp - 8]
xor ecx, edx
rol ecx, 1
imul edi, ecx
ror ebx, 6
sub edi, ebx
xor eax, edi
mov ecx, eax
not ecx
movzx edi, word [ebp - 0xc]
ror ecx, 2
add ecx, dword [ebp - 0x14]
imul ecx, edi
xor edx, ecx
mov ecx, edx
mov ebx, edx
sub ecx, dword [ebp - 8]
rol ecx, 3
imul edi, ecx
movzx ecx, word [ebp - 0xc]
ror ebx, 0xd
add ebx, edi
xor eax, ebx
mov ebx, dword [ebp - 8]
xor ecx, eax
imul ecx, dword [ebp - 0x20]
mov edi, eax
ror edi, 0xc
add edi, ecx
movzx ecx, word [ebp - 0xc]
xor edx, edi
movzx edi, bx
xor ecx, edx
rol ecx, 6
imul edi, ecx
mov ecx, edx
shr ecx, 3
add edi, ecx
xor eax, edi
lea ecx, [ebx + eax]
mov ebx, dword [ebp - 0x14]
mov edi, eax
ror ecx, 0xe
imul ebx, ecx
movzx ecx, word [ebp - 0xc]
rol edi, 0xe
add edi, ebx
xor edx, edi
mov edi, edx
xor edx, dword [ebp - 0x18]
sub edi, ecx
xor edi, dword [ebp - 8]
mov dword [ebp - 0x54], ecx
mov cl, byte [ebp - 0xd]
xor edi, dword [ebp - 0x40]
xor eax, edi
mov edi, dword [ebp - 0x44]
xor cl, al
xor cl, dl
mov byte [edi + 3], al
mov byte [edi + 7], dl
ror eax, 8
xor cl, al
mov byte [edi + 2], al
ror edx, 8
xor cl, dl
mov byte [edi + 6], dl
ror eax, 8
xor cl, al
mov byte [edi + 1], al
ror edx, 8
mov byte [edi + 5], dl
xor cl, dl
ror eax, 8
ror edx, 8
mov bl, dl
xor bl, al
xor cl, bl
mov byte [ebp - 0xd], cl
mov ecx, dword [ebp - 0x48]
mov byte [edi], al
mov byte [edi + 4], dl
add edi, 8
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x4c]
dec dword [ebp - 0x3c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x44], edi
ror eax, 8
ror edx, 8
jne 0x10eff30
mov edi, 0x1000000
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x50]
mov al, byte [eax + 8]
xor al, byte [ebp - 0xd]
je 0x10f01a6
call fcn.010bfbea
and ecx, 0xfffffffc
mov edi, ecx
mov edx, 0xffff
mov esi, eax
mov eax, 0xfffff000
lea ecx, [edi + 0xfff]
and esi, eax
and ecx, eax
mov eax, dword [ebp - 0x70]
mov dword [eax + 8], 0x12e07d9
xor eax, eax
mov ebx, dword [0x138b4cc]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x138b4cc], ebx
shr ebx, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, ebx
test edx, edx
jne 0x10f011a
mov ebx, 0xffff
div ebx
mov dword [ebp - 0x94], esi
mov eax, edi
inc edx
cmp edi, ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x4c], 0
jae 0x10f016e
mov edx, dword [ebp - 0x4c]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jb 0x10f0162
mov eax, 0x12e07d9
jmp 0x10f0280
xor edx, edx
test ebx, ebx
jge 0x10eff05
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x10eff05
xor edx, edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
not eax
mov dword [ebp - 0x18], eax
xor eax, eax
jmp 0x10eff0a
mov eax, dword [0x102c94c]
mov ebx, dword [ebp - 0x58]
sub ebx, dword [ebp - 0x1c]
sub edi, eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x50], edi
jne 0x10f01c3
test ebx, ebx
je 0x10f0273
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
sub esi, dword [ebp - 0x58]
add ecx, eax
xor edi, edi
mov dword [ebp - 0x4c], ecx
mov ecx, dword [0x1069ab8]
dec ecx
js 0x10f020a
lea eax, [edi + ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x1069abc]
and edx, 0xfffffff
cmp dword [ebp - 0x2c], edx
jae 0x10f01fe
lea ecx, [eax - 1]
jmp 0x10f0203
jbe 0x10f020f
lea edi, [eax + 1]
cmp ecx, edi
jge 0x10f01df
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x18], edi
jmp 0x10f0268
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
jmp 0x10f0268
mov eax, dword [ebp - 0x18]
mov eax, dword [eax*4 + 0x1069abc]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x4c]
jae 0x10f0273
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 0x10f025a
dec ecx
je 0x10f0256
dec ecx
jne 0x10f025f
mov edx, dword [ebp - 0x50]
jmp 0x10f025f
mov edx, ebx
jmp 0x10f025f
mov edx, dword [ebp - 0x50]
sub edx, ebx
dec eax
dec eax
jne 0x10f0265
add dword [edi], edx
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x1069ab8]
jb 0x10f0217
mov eax, dword [0x10fb370]
mov eax, 0xf48095f1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x94]
mov esi, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x80]
mov esp, ebp
pop ebp
popfd
ret