Function at 0x12b348a
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 ecx, 0xfffffff
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x70], eax
lea edi, [eax + 0xc]
mov eax, dword [edi]
mov esi, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [eax + 4]
and eax, ecx
and esi, ecx
xor edx, edx
mov ecx, dword [0x10fb370]
mov dword [ebp - 0x30], ecx
lea ecx, [ecx + eax - 1]
mov eax, ecx
div dword [ebp - 0x30]
mov ebx, 0x1000000
mov eax, dword [0x10fb370]
mov dword [ebp - 0x50], edi
add esi, ebx
sub ecx, edx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x18], ecx
mov eax, dword [0x1007420]
mov dword [ebp - 0x28], eax
mov eax, dword [0x10fb370]
mov eax, dword [0x1007420]
test eax, eax
je 0x12b35b1
and dword [ebp - 0x48], 0
mov eax, dword [0x1007420]
dec eax
lea ecx, [eax + 1]
mov dword [ebp - 0x1c], ecx
xor eax, eax
test ecx, ecx
je 0x12b355a
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 0x12b3530
xor edx, edx
div ecx
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], edx
jbe 0x12b35a3
inc dword [ebp - 0x48]
lea edx, [edx*4 + 0x1388f9c]
mov ecx, 0xffff10f4
mov eax, 0xef0b
lock cmpxchg dword [edx], ecx
cmp eax, 0xef0b
je 0x12b3743
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x1007420]
inc eax
xor edx, edx
div ecx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], edx
cmp eax, dword [ebp - 0x28]
jb 0x12b3567
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jne 0x12b3637
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x1c]
push 0x40
push 0x1000
push dword [ebp - 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x12b375a
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x1c], 0x11
jb 0x12b35be
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp dword [0x138b2f8], eax
ja 0x12b35fb
test al, 3
je 0x12b3613
test eax, eax
je 0x12b360f
push 0x8000
push 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
and dword [ebp - 0x14], 0
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x14], 0
je 0x12b3500
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
test ecx, ecx
je 0x12b3637
mov byte [eax], 0
inc eax
dec ecx
jne 0x12b3630
mov eax, 0x4b291e8f
add dword [edi], 8
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
and eax, 0xfffffff
lea ecx, [eax + esi]
mov dword [ebp - 0x30], ecx
mov ecx, dword [0x10fb370]
sub ecx, eax
mov dword [ebp - 0x38], esi
sub dword [ebp - 0x38], ebx
inc ecx
mov dword [ebp - 0x48], eax
xor eax, eax
mov edx, ecx
test ecx, ecx
je 0x12b3691
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 0x12b366a
xor edx, edx
div ecx
mov eax, dword [ebp - 0x14]
add eax, edx
push eax
push dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x38]
mov eax, 0xb201993d
mov eax, dword [ebp - 0x30]
mov edi, dword [eax + 4]
mov esi, dword [eax]
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], edi
mov byte [ebp - 0xd], 0
mov eax, 0xee0d6fd8
mov ecx, dword [0x102c94c]
mov eax, 0xfffffff
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
and esi, eax
and edi, eax
add esp, 0x10
mov eax, ebx
add esi, ebx
sub eax, ecx
mov dword [ebp - 0x40], eax
jne 0x12b3762
xor edx, edx
test edi, edi
jbe 0x12b3994
movzx ecx, byte [edx + esi]
sub ecx, 0x1279a1d2
add dword [ebp - 0x24], ecx
add ecx, dword [ebp - 0x20]
mov eax, ecx
imul eax, eax, 0x2a75
rol eax, 0xe
ror ecx, 0xe
xor eax, ecx
mov ecx, eax
imul ecx, ecx, 0x2a75
rol ecx, 0xe
ror eax, 0xe
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x2a75
rol eax, 0xe
ror ecx, 0xe
xor eax, ecx
add dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
inc edx
cmp edx, edi
jb 0x12b36f3
jmp 0x12b3994
mov eax, dword [0x10fb370]
imul eax, dword [ebp - 0x1c]
lea eax, [eax + section..data]
mov dword [ebp - 0x14], eax
jmp 0x12b35a7
mov dword [ebp - 0x14], eax
jmp 0x12b35ec
lea eax, [edi + esi]
mov edx, dword [0x100003c]
mov dword [ebp - 0x44], eax
lea edx, [edx + 0x10000a0]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x34], edx
mov ecx, esi
sub ecx, ebx
mov edx, ecx
and edx, 0xfffff000
mov dword [ebp - 0x18], edx
mov edx, ecx
sub edx, dword [ebp - 0x18]
add ecx, edi
mov edi, ecx
and edi, 0xfffff000
sub ecx, edi
add eax, ebx
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x54], edx
mov edx, eax
add ecx, eax
mov dword [ebp - 0x64], ecx
cmp eax, ecx
je 0x12b37c1
mov eax, dword [ebp - 0x18]
cmp dword [edx], eax
jae 0x12b37c1
add edx, dword [edx + 4]
cmp edx, dword [ebp - 0x64]
jne 0x12b37b2
and dword [ebp - 0x5c], 0
cmp edx, dword [ebp - 0x64]
je 0x12b3940
mov eax, dword [ebp - 0x18]
cmp dword [edx], eax
jne 0x12b3802
mov eax, dword [edx + 4]
sub eax, 8
shr eax, 1
je 0x12b3802
lea ecx, [edx + 8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
movzx ecx, word [ecx]
and ecx, 0xfff
cmp ecx, dword [ebp - 0x54]
jae 0x12b3802
inc dword [ebp - 0x5c]
add dword [ebp - 0x18], 2
cmp dword [ebp - 0x5c], eax
jne 0x12b37e5
cmp edx, dword [ebp - 0x64]
je 0x12b3940
cmp dword [edx], edi
ja 0x12b3940
mov eax, dword [edx + 4]
lea ecx, [eax - 8]
mov eax, dword [ebp - 0x5c]
shr ecx, 1
cmp eax, ecx
jne 0x12b383c
add edx, dword [edx + 4]
cmp edx, dword [ebp - 0x64]
je 0x12b3940
cmp dword [edx], edi
ja 0x12b3940
and dword [ebp - 0x5c], 0
jmp 0x12b3813
cmp dword [edx], edi
jne 0x12b3853
movzx eax, word [edx + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x68]
jae 0x12b3940
mov eax, dword [ebp - 0x5c]
mov ecx, 0xf000
inc dword [ebp - 0x5c]
test word [edx + eax*2 + 8], cx
je 0x12b3802
mov ecx, dword [edx]
movzx eax, word [edx + eax*2 + 8]
and dword [ebp - 0x2c], 0
and eax, 0xfff
lea eax, [eax + ecx + 0x1000000]
mov dword [ebp - 0x18], eax
sub dword [ebp - 0x18], esi
mov dword [ebp - 0x28], eax
je 0x12b38db
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [esi + eax]
sub ecx, 0x1279a1d2
add dword [ebp - 0x24], ecx
add ecx, dword [ebp - 0x20]
mov eax, ecx
imul eax, eax, 0x2a75
rol eax, 0xe
ror ecx, 0xe
xor eax, ecx
mov ecx, eax
imul ecx, ecx, 0x2a75
rol ecx, 0xe
ror eax, 0xe
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x2a75
rol eax, 0xe
ror ecx, 0xe
xor eax, ecx
add dword [ebp - 0x24], eax
inc dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x18]
jb 0x12b3887
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x74], eax
xor esi, esi
movzx ecx, byte [ebp + esi - 0x74]
sub ecx, 0x1279a1d2
add dword [ebp - 0x24], ecx
add ecx, dword [ebp - 0x20]
mov eax, ecx
imul eax, eax, 0x2a75
rol eax, 0xe
ror ecx, 0xe
xor eax, ecx
mov ecx, eax
imul ecx, ecx, 0x2a75
rol ecx, 0xe
ror eax, 0xe
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x2a75
rol eax, 0xe
ror ecx, 0xe
xor eax, ecx
add dword [ebp - 0x24], eax
inc esi
mov dword [ebp - 0x20], eax
cmp esi, 4
jb 0x12b38e8
mov esi, dword [ebp - 0x28]
add esi, 4
jmp 0x12b3802
xor edx, edx
mov edi, dword [ebp - 0x44]
sub edi, esi
je 0x12b3994
movzx ecx, byte [edx + esi]
sub ecx, 0x1279a1d2
add dword [ebp - 0x24], ecx
add ecx, dword [ebp - 0x20]
mov eax, ecx
imul eax, eax, 0x2a75
rol eax, 0xe
ror ecx, 0xe
xor eax, ecx
mov ecx, eax
imul ecx, ecx, 0x2a75
rol ecx, 0xe
ror eax, 0xe
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x2a75
rol eax, 0xe
ror ecx, 0xe
xor eax, ecx
add dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
inc edx
cmp edx, edi
jb 0x12b3949
xor eax, eax
mov ecx, eax
and ecx, 7
mov cl, byte [ebp + ecx - 0x24]
mov byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 8
jb 0x12b3996
mov eax, 0xe77b4336
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x48]
and eax, 7
mov dword [ebp - 0x18], eax
je 0x12b3df4
mov edi, dword [ebp - 0x38]
not edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x40], ecx
cmp eax, ecx
mov dword [ebp - 0x14], ecx
jle 0x12b3a03
push 0x38
pop edx
movzx ebx, byte [esi]
cmp dword [ebp - 0x14], 4
jge 0x12b39f0
lea ecx, [edx - 0x20]
shl ebx, cl
or dword [ebp - 0x40], ebx
jmp 0x12b39f7
mov ecx, edx
shl ebx, cl
or dword [ebp - 0x2c], ebx
inc esi
inc dword [ebp - 0x14]
sub edx, 8
cmp dword [ebp - 0x14], eax
jl 0x12b39dd
movzx eax, word [ebp - 6]
mov ebx, dword [ebp - 0x38]
movzx edx, word [ebp - 8]
mov ecx, edx
xor ecx, dword [ebp - 0x38]
rol ecx, 3
imul eax, ecx
rol ebx, 8
sub eax, ebx
xor edi, eax
movzx eax, word [ebp - 6]
xor eax, edi
mov dword [ebp - 0x4c], edx
imul eax, edx
mov ecx, edi
movzx edx, word [ebp - 0xa]
mov dword [ebp - 0x14], edx
shr ecx, 7
add eax, ecx
mov ecx, dword [ebp - 8]
xor eax, dword [ebp - 0x38]
mov ebx, eax
add ecx, eax
ror ecx, 1
imul edx, ecx
rol ebx, 7
movzx ecx, word [ebp - 0xc]
add ebx, edx
xor edi, ebx
mov ebx, dword [ebp - 0x4c]
mov edx, edi
ror edx, 8
sub edx, ecx
imul edx, dword [ebp - 0x4c]
xor eax, edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 8]
xor ecx, eax
sub edx, ecx
xor edi, edx
mov ecx, dword [ebp - 0xc]
mov edx, edi
sub ecx, edi
rol ecx, 3
imul ebx, ecx
ror edx, 0xf
xor edx, ebx
xor eax, edx
mov ecx, eax
sub ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 8]
xor edi, ecx
mov edx, edi
movzx ecx, word [ebp - 6]
xor ecx, edi
imul ecx, dword [ebp - 0x28]
ror edx, 9
xor edx, ecx
mov ecx, dword [ebp - 0x14]
xor eax, edx
xor ecx, eax
movzx edx, word [ebp - 6]
mov ebx, eax
rol ecx, 3
imul edx, ecx
mov ecx, dword [ebp - 0x28]
rol ebx, 0xb
xor ebx, edx
mov edx, ecx
xor edi, ebx
xor edx, edi
imul edx, dword [ebp - 0x4c]
mov ebx, edi
shr ebx, 7
xor edx, ebx
xor eax, edx
movzx edx, word [ebp - 6]
mov ebx, eax
sub ebx, edx
mov edx, dword [ebp - 0x14]
rol ebx, 6
imul edx, ebx
mov ebx, eax
and dword [ebp - 0x14], 0
shr ebx, 9
xor edx, ebx
xor edi, edx
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x4c]
xor edx, edi
rol edx, 4
imul ecx, edx
mov edx, edi
xor edi, dword [ebp - 0x2c]
shr edx, 7
add ecx, edx
xor ecx, dword [ebp - 0x40]
xor eax, ecx
test ebx, ebx
mov dword [ebp - 0x44], eax
mov ecx, edi
jle 0x12b3b47
cmp dword [ebp - 0x14], 4
jge 0x12b3b2e
rol dword [ebp - 0x44], 8
mov ebx, dword [ebp - 0x3c]
mov dl, byte [ebp - 0x44]
inc dword [ebp - 0x3c]
xor byte [ebp - 0xd], dl
mov byte [ebx], dl
jmp 0x12b3b3c
mov edx, dword [ebp - 0x3c]
inc dword [ebp - 0x3c]
rol ecx, 8
xor byte [ebp - 0xd], cl
mov byte [edx], cl
inc dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], ebx
jl 0x12b3b14
add ebx, 0xfffffffc
test ebx, ebx
jle 0x12b3dda
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr edi, cl
shl edi, cl
mov edx, edi
mov ebx, 0x1000000
mov ecx, dword [ebp - 0x48]
shr ecx, 3
test ecx, ecx
jbe 0x12b3d3e
movzx edi, word [ebp - 6]
mov dword [ebp - 0x28], edi
neg dword [ebp - 0x28]
mov dword [ebp - 0x18], edi
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x14], edi
movzx edi, word [ebp - 8]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x34], ecx
movzx edi, byte [esi]
shl edi, 8
movzx ebx, byte [esi + 5]
movzx ecx, byte [esi + 1]
or ecx, edi
shl ecx, 8
movzx edi, byte [esi + 2]
or ecx, edi
movzx edi, byte [esi + 3]
shl ecx, 8
or ecx, edi
movzx edi, byte [esi + 4]
shl edi, 8
or edi, ebx
movzx ebx, byte [esi + 6]
xor eax, ecx
shl edi, 8
or edi, ebx
movzx ebx, byte [esi + 7]
shl edi, 8
or edi, ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x4c]
xor ecx, eax
add esi, 8
rol ecx, 3
imul ebx, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x54], edi
mov edi, eax
rol edi, 8
sub ebx, edi
movzx edi, cx
xor ebx, dword [ebp - 0x54]
xor edx, ebx
mov ebx, dword [ebp - 0x18]
xor ebx, edx
imul ebx, edi
mov edi, edx
shr edi, 7
add ebx, edi
xor eax, ebx
mov ebx, dword [ebp - 0x14]
mov edi, eax
add ecx, eax
ror ecx, 1
imul ebx, ecx
movzx ecx, word [ebp - 0xc]
rol edi, 7
add edi, ebx
xor edx, edi
movzx edi, word [ebp - 8]
mov ebx, edx
ror ebx, 8
sub ebx, ecx
mov ecx, dword [ebp - 8]
imul ebx, edi
xor eax, ebx
mov ebx, dword [ebp - 0xc]
xor ecx, eax
sub ebx, ecx
xor edx, ebx
mov ecx, dword [ebp - 0xc]
sub ecx, edx
mov ebx, edx
rol ecx, 3
imul edi, ecx
ror ebx, 0xf
xor ebx, edi
xor eax, ebx
mov ebx, dword [ebp - 0x18]
mov ecx, eax
sub ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 8]
xor edx, ecx
mov edi, edx
movzx ecx, word [ebp - 0xc]
xor ebx, edx
ror edi, 9
imul ebx, ecx
xor edi, ebx
mov ebx, dword [ebp - 0x18]
xor eax, edi
mov ecx, dword [ebp - 0x14]
xor ecx, eax
mov edi, eax
rol ecx, 3
imul ebx, ecx
rol edi, 0xb
movzx ecx, word [ebp - 0xc]
xor edi, ebx
xor edx, edi
mov ebx, edx
xor ecx, edx
movzx edi, word [ebp - 8]
imul ecx, edi
shr ebx, 7
xor ecx, ebx
xor eax, ecx
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
add ecx, eax
mov dword [ebp - 0x4c], edi
rol ecx, 6
imul ebx, ecx
mov ecx, eax
shr ecx, 9
xor ebx, ecx
mov ecx, edi
xor edx, ebx
movzx edi, word [ebp - 0xc]
xor ecx, edx
rol ecx, 4
imul edi, ecx
mov ecx, edx
xor edx, dword [ebp - 0x2c]
shr ecx, 7
add edi, ecx
xor edi, dword [ebp - 0x40]
mov cl, byte [ebp - 0xd]
xor eax, edi
xor cl, al
xor cl, dl
mov edi, dword [ebp - 0x3c]
mov byte [edi + 3], al
mov byte [edi + 7], dl
ror eax, 8
xor cl, al
ror edx, 8
xor cl, dl
mov byte [edi + 2], al
ror eax, 8
xor cl, al
mov byte [edi + 6], dl
ror edx, 8
xor cl, dl
mov byte [edi + 1], al
mov byte [edi + 5], 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 - 0x44]
mov byte [edi], al
mov byte [edi + 4], dl
mov dword [ebp - 0x40], ecx
add edi, 8
mov ecx, dword [ebp - 0x54]
dec dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x3c], edi
ror eax, 8
ror edx, 8
jne 0x12b3b91
mov ebx, 0x1000000
mov eax, dword [ebp - 0x30]
mov al, byte [eax + 8]
xor al, byte [ebp - 0xd]
je 0x12b3e08
call fcn.010bfbea
mov edx, 0xfffff000
mov esi, eax
mov eax, dword [ebp - 0x50]
and eax, 0xfffffffc
and esi, edx
mov edi, eax
lea ecx, [edi + 0xfff]
and ecx, edx
mov eax, dword [ebp - 0x70]
mov dword [eax + 8], 0x12e07d9
mov edx, 0xffff
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 0x12b3d7c
mov ebx, 0xffff
div ebx
inc edx
mov eax, edi
cmp edi, ecx
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x50], 0
jae 0x12b3dd0
mov edx, dword [ebp - 0x50]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jb 0x12b3dc4
mov eax, 0x12e07d9
jmp 0x12b3ed4
xor edx, edx
test ebx, ebx
jge 0x12b3b60
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x12b3b60
xor edx, edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
not eax
mov dword [ebp - 0x2c], eax
xor eax, eax
jmp 0x12b3b65
mov eax, dword [ebp - 0x58]
mov ecx, dword [0x102c94c]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
sub ebx, ecx
mov dword [ebp - 0x30], ebx
jne 0x12b3e26
test eax, eax
je 0x12b3ec7
mov esi, dword [ebp - 0x1c]
sub esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x38]
mov ecx, dword [0x1069ab8]
mov eax, dword [ebp - 0x48]
add eax, edi
mov dword [ebp - 0x50], eax
xor ebx, ebx
dec ecx
js 0x12b3e69
lea eax, [ecx + ebx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x1069abc]
and edx, 0xfffffff
cmp edi, edx
jae 0x12b3e60
lea ecx, [eax - 1]
jmp 0x12b3e65
jbe 0x12b3e6d
lea ebx, [eax + 1]
cmp ecx, ebx
jge 0x12b3e42
mov edi, ebx
jmp 0x12b3ebf
mov edi, eax
jmp 0x12b3ebf
mov eax, dword [edi*4 + 0x1069abc]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x50]
jae 0x12b3ec7
lea ebx, [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 0x12b3eb2
dec ecx
je 0x12b3ead
dec ecx
jne 0x12b3eb8
mov edx, dword [ebp - 0x30]
jmp 0x12b3eb8
mov edx, dword [ebp - 0x34]
jmp 0x12b3eb8
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x34]
dec eax
dec eax
jne 0x12b3ebe
add dword [ebx], edx
inc edi
cmp edi, dword [0x1069ab8]
jb 0x12b3e71
mov eax, dword [0x10fb370]
mov eax, 0x8121a935
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x94]
mov edi, dword [ebp - 0x84]
mov esi, dword [ebp - 0x88]
mov esp, ebp
pop ebp
popfd
ret