Function at 0x135ebf1
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
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x88], edx
mov ecx, 0xfffffff
lea eax, [ebp + 4]
mov dword [ebp - 0x84], ebx
sub eax, 4
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x5c], eax
lea edi, [eax + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
and eax, ecx
and esi, ecx
xor edx, edx
mov ecx, dword [0x109dc84]
mov dword [ebp - 0x34], ecx
lea ecx, [ecx + eax - 1]
mov eax, ecx
div dword [ebp - 0x34]
mov eax, dword [0x109dc84]
mov ebx, 0x1000000
mov dword [ebp - 0x50], edi
add esi, ebx
mov dword [ebp - 0x58], esi
sub ecx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [0x129bea8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x109dc84]
mov eax, dword [0x129bea8]
test eax, eax
je 0x135ed14
and dword [ebp - 0x30], 0
mov eax, dword [0x129bea8]
dec eax
lea ecx, [eax + 1]
mov dword [ebp - 0x2c], ecx
xor eax, eax
test ecx, ecx
je 0x135ecbd
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 0x135ec97
xor edx, edx
div ecx
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x44], edx
jbe 0x135ed06
mov ecx, 0xffffc428
inc dword [ebp - 0x30]
mov eax, 0x3bd7
lea edx, [edx*4 + 0x1427d38]
lock cmpxchg dword [edx], ecx
cmp eax, 0x3bd7
je 0x135ee9c
mov eax, dword [ebp - 0x44]
mov ecx, dword [0x129bea8]
inc eax
xor edx, edx
div ecx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], edx
jb 0x135ecca
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jne 0x135ed9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x30], 0
mov dword [ebp - 0x34], eax
inc dword [ebp - 0x30]
push 0x40
push 0x1000
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x135eeb3
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x30], 0x11
jb 0x135ed21
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp dword [0x144656c], eax
ja 0x135ed5e
test al, 3
je 0x135ed76
test eax, eax
je 0x135ed72
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 0x135ec67
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x135ed9a
mov byte [eax], 0
inc eax
dec ecx
jne 0x135ed93
mov eax, 0x5571065d
add dword [edi], 8
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
and eax, 0xfffffff
lea ecx, [eax + esi]
mov dword [ebp - 0x34], ecx
mov ecx, dword [0x109dc84]
mov dword [ebp - 0x4c], esi
sub ecx, eax
sub dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], eax
inc ecx
xor eax, eax
test ecx, ecx
mov edx, ecx
je 0x135edf1
mov esi, dword [0x1427a7c]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov dword [0x1427a7c], esi
shr esi, 0x10
shl eax, 0x10
or eax, esi
shr edx, 0x10
jne 0x135edcc
xor edx, edx
div ecx
mov eax, dword [ebp - 0x14]
add eax, edx
push eax
push dword [ebp - 0x44]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x4c]
mov eax, 0xf3612d2c
mov eax, dword [ebp - 0x34]
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, 0xeb6173ae
mov eax, 0xfffffff
mov ecx, dword [0x13ca1e8]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
and esi, eax
and edi, eax
add esp, 0x10
add esi, ebx
mov eax, ebx
sub eax, ecx
mov dword [ebp - 0x40], eax
jne 0x135eebb
and dword [ebp - 0x18], 0
test edi, edi
jbe 0x135f0bc
mov eax, dword [ebp - 0x18]
mov ecx, 0xdf2e6555
movzx eax, byte [eax + esi]
sub eax, 0x20d19aab
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
mul ecx
add eax, edx
mov ecx, eax
imul ecx, ecx, 0x7b1f
rol ecx, 5
ror eax, 5
xor ecx, eax
imul ecx, ecx, 0xdf2e6555
ror ecx, 0x1f
add dword [ebp - 0x28], ecx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
mov dword [ebp - 0x24], ecx
jb 0x135ee55
jmp 0x135f0bc
mov eax, dword [0x109dc84]
imul eax, dword [ebp - 0x44]
lea eax, [eax + section..data]
mov dword [ebp - 0x14], eax
jmp 0x135ed0a
mov dword [ebp - 0x14], eax
jmp 0x135ed4f
mov ecx, esi
lea eax, [edi + esi]
sub ecx, ebx
mov edx, dword [0x100003c]
lea edx, [edx + 0x10000a0]
mov dword [ebp - 0x38], eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x1c], edx
mov edx, ecx
and edx, 0xfffff000
mov dword [ebp - 0x18], edx
mov edx, ecx
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x54], edx
add ecx, edi
mov edx, ecx
and edx, 0xfffff000
sub ecx, edx
mov dword [ebp - 0x6c], ecx
add eax, ebx
mov ecx, dword [ebp - 0x1c]
mov edi, eax
mov dword [ebp - 0x70], edx
add ecx, eax
mov dword [ebp - 0x68], ecx
cmp eax, ecx
je 0x135ef1c
mov eax, dword [ebp - 0x18]
cmp dword [edi], eax
jae 0x135ef1c
add edi, dword [edi + 4]
cmp edi, ecx
jne 0x135ef0e
and dword [ebp - 0x60], 0
cmp edi, ecx
je 0x135ef55
mov eax, dword [ebp - 0x18]
cmp dword [edi], eax
jne 0x135ef55
mov eax, dword [edi + 4]
sub eax, 8
shr eax, 1
mov dword [ebp - 0x1c], eax
je 0x135ef55
mov eax, dword [ebp - 0x60]
movzx eax, word [edi + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x54]
jae 0x135ef55
inc dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x1c]
jne 0x135ef38
mov ecx, dword [ebp - 0x60]
cmp edi, dword [ebp - 0x68]
je 0x135f073
cmp dword [edi], edx
ja 0x135f073
mov eax, dword [edi + 4]
add eax, 0xfffffff8
shr eax, 1
cmp ecx, eax
jne 0x135ef8d
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x68]
je 0x135f073
cmp dword [edi], edx
ja 0x135f073
xor ecx, ecx
jmp 0x135ef69
cmp dword [edi], edx
jne 0x135efa4
movzx eax, word [edi + ecx*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x6c]
jae 0x135f073
mov eax, ecx
inc ecx
test word [edi + eax*2 + 8], 0xf000
mov dword [ebp - 0x60], ecx
je 0x135ef58
movzx eax, word [edi + eax*2 + 8]
mov ecx, dword [edi]
and dword [ebp - 0x18], 0
and eax, 0xfff
lea eax, [eax + ecx + 0x1000000]
mov dword [ebp - 0x20], eax
sub dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], eax
je 0x135f01a
mov ecx, 0xdf2e6555
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + esi]
sub eax, 0x20d19aab
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
mul ecx
add eax, edx
mov ecx, eax
imul ecx, ecx, 0x7b1f
rol ecx, 5
ror eax, 5
xor ecx, eax
imul ecx, ecx, 0xdf2e6555
ror ecx, 0x1f
add dword [ebp - 0x28], ecx
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
jb 0x135efd5
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
sub eax, dword [ebp - 0x40]
xor esi, esi
mov dword [ebp - 0x74], eax
movzx eax, byte [ebp + esi - 0x74]
mov ecx, 0xdf2e6555
sub eax, 0x20d19aab
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
mul ecx
add eax, edx
mov ecx, eax
imul ecx, ecx, 0x7b1f
rol ecx, 5
ror eax, 5
xor ecx, eax
imul ecx, ecx, 0xdf2e6555
ror ecx, 0x1f
add dword [ebp - 0x28], ecx
inc esi
cmp esi, 4
mov dword [ebp - 0x24], ecx
jb 0x135f027
mov esi, dword [ebp - 0x2c]
add esi, 4
mov edx, dword [ebp - 0x70]
jmp 0x135ef55
mov eax, dword [ebp - 0x38]
xor edi, edi
sub eax, esi
mov dword [ebp - 0x1c], eax
je 0x135f0bc
mov ecx, 0xdf2e6555
movzx eax, byte [esi + edi]
sub eax, 0x20d19aab
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
mul ecx
add eax, edx
mov ecx, eax
imul ecx, ecx, 0x7b1f
rol ecx, 5
ror eax, 5
xor ecx, eax
imul ecx, ecx, 0xdf2e6555
ror ecx, 0x1f
add dword [ebp - 0x28], ecx
inc edi
cmp edi, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
jb 0x135f07f
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 0x135f0be
mov eax, 0xd77dabd8
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
and eax, 7
mov dword [ebp - 0x2c], eax
je 0x135f523
mov edi, dword [ebp - 0x4c]
not edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x14], ecx
cmp eax, ecx
jle 0x135f12b
push 0x38
pop edx
cmp dword [ebp - 0x14], 4
movzx ebx, byte [esi]
jge 0x135f118
lea ecx, [edx - 0x20]
shl ebx, cl
or dword [ebp - 0x40], ebx
jmp 0x135f11f
mov ecx, edx
shl ebx, cl
or dword [ebp - 0x20], ebx
inc esi
inc dword [ebp - 0x14]
sub edx, 8
cmp dword [ebp - 0x14], eax
jl 0x135f105
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ebp - 0xc]
xor ecx, edi
sub eax, ecx
xor eax, dword [ebp - 0x4c]
mov ebx, eax
movzx ecx, word [ebp - 6]
mov dword [ebp - 0x38], edx
xor edx, eax
mov dword [ebp - 0x14], ecx
imul edx, ecx
ror ebx, 9
add ebx, edx
xor edi, ebx
mov ebx, edi
xor ecx, edi
movzx edx, word [ebp - 8]
imul ecx, edx
ror ebx, 5
xor ebx, ecx
movzx ecx, word [ebp - 0xa]
xor eax, ebx
mov ebx, dword [ebp - 0x14]
mov edx, eax
sub edx, ecx
xor edx, dword [ebp - 8]
xor edi, edx
mov edx, edi
ror edx, 7
sub edx, dword [ebp - 0x38]
imul edx, ecx
xor eax, edx
mov ecx, eax
mov edx, eax
sub ecx, dword [ebp - 0xc]
ror ecx, 7
imul ebx, ecx
movzx ecx, word [ebp - 0xa]
rol edx, 4
sub ebx, edx
xor edi, ebx
movzx edx, word [ebp - 8]
mov ebx, edi
xor ecx, edi
rol ecx, 6
imul edx, ecx
mov ecx, dword [ebp - 8]
ror ebx, 0xf
sub edx, ebx
xor eax, edx
sub ecx, eax
mov ebx, eax
movzx edx, word [ebp - 0xa]
ror ecx, 4
imul edx, ecx
mov ecx, dword [ebp - 8]
ror ebx, 2
add ebx, edx
xor edi, ebx
xor ecx, edi
mov ebx, dword [ebp - 0x38]
mov edx, edi
ror ecx, 7
imul ebx, ecx
ror edx, 0x10
xor edx, ebx
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
xor eax, edx
mov edx, eax
sub ecx, eax
ror ecx, 6
imul ebx, ecx
rol edx, 0xe
sub ebx, edx
xor edi, ebx
movzx ebx, word [ebp - 8]
movzx edx, word [ebp - 0xa]
mov ecx, edi
sub ecx, ebx
sub ecx, dword [ebp - 0xc]
xor eax, ecx
mov ecx, dword [ebp - 0x14]
xor ecx, eax
imul ecx, edx
mov edx, eax
and dword [ebp - 0x14], 0
shr edx, 0xb
xor ecx, edx
xor edi, ecx
mov edx, edi
mov ecx, dword [ebp - 0x38]
sub edx, ebx
rol edx, 4
mov ebx, dword [ebp - 0x2c]
imul ecx, edx
mov edx, edi
xor edi, dword [ebp - 0x20]
shr edx, 3
xor ecx, edx
xor ecx, dword [ebp - 0x40]
xor eax, ecx
mov ecx, edi
mov dword [ebp - 0x48], eax
test ebx, ebx
jle 0x135f277
cmp dword [ebp - 0x14], 4
jge 0x135f25e
rol dword [ebp - 0x48], 8
mov ebx, dword [ebp - 0x3c]
mov dl, byte [ebp - 0x48]
inc dword [ebp - 0x3c]
xor byte [ebp - 0xd], dl
mov byte [ebx], dl
jmp 0x135f26c
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 - 0x2c]
cmp dword [ebp - 0x14], ebx
jl 0x135f244
add ebx, 0xfffffffc
test ebx, ebx
jle 0x135f509
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr edi, cl
shl edi, cl
mov edx, edi
mov ebx, 0x1000000
mov edi, dword [ebp - 0x44]
shr edi, 3
je 0x135f470
movzx ecx, word [ebp - 6]
mov dword [ebp - 0x14], ecx
movzx ecx, word [ebp - 0xa]
mov dword [ebp - 0x18], ecx
movzx ecx, word [ebp - 8]
mov dword [ebp - 0x2c], ecx
movzx ecx, word [ebp - 0xc]
neg dword [ebp - 0x2c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], edi
mov ebx, dword [ebp - 0x14]
movzx ecx, byte [esi + 1]
mov ch, byte [esi]
movzx edi, byte [esi + 2]
add esi, 8
shl ecx, 8
or ecx, edi
shl ecx, 8
movzx edi, byte [esi - 5]
or ecx, edi
mov dword [ebp - 0x48], ecx
xor ecx, ecx
movzx edi, byte [esi - 2]
mov ch, byte [esi - 4]
mov cl, byte [esi - 3]
shl ecx, 8
or ecx, edi
movzx edi, byte [esi - 1]
shl ecx, 8
or ecx, edi
mov edi, dword [ebp - 8]
xor edx, ecx
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, edx
sub edi, ecx
xor edi, dword [ebp - 0x48]
xor eax, edi
mov edi, dword [ebp - 0x38]
xor edi, eax
mov ecx, eax
imul edi, dword [ebp - 0x14]
ror ecx, 9
add ecx, edi
xor edx, ecx
xor ebx, edx
movzx ecx, word [ebp - 8]
imul ebx, ecx
mov edi, edx
ror edi, 5
xor edi, ebx
xor eax, edi
mov ecx, eax
mov ebx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
xor ecx, dword [ebp - 8]
xor edx, ecx
movzx ecx, word [ebp - 0xc]
mov edi, edx
ror edi, 7
sub edi, ecx
imul edi, dword [ebp - 0x18]
xor eax, edi
mov edi, eax
mov ecx, eax
sub ecx, dword [ebp - 0xc]
ror ecx, 7
imul ebx, ecx
rol edi, 4
sub ebx, edi
xor edx, ebx
mov ebx, edx
mov ecx, dword [ebp - 0x18]
movzx edi, word [ebp - 8]
xor ecx, edx
rol ecx, 6
imul edi, ecx
ror ebx, 0xf
mov ecx, dword [ebp - 8]
sub edi, ebx
mov ebx, dword [ebp - 0x18]
xor eax, edi
mov edi, eax
sub ecx, eax
ror ecx, 4
imul ebx, ecx
ror edi, 2
add edi, ebx
mov ecx, dword [ebp - 8]
xor edx, edi
xor ecx, edx
ror ecx, 7
mov ebx, edx
movzx edi, word [ebp - 0xc]
imul edi, ecx
mov ecx, dword [ebp - 0xc]
ror ebx, 0x10
xor ebx, edi
xor eax, ebx
sub ecx, eax
ror ecx, 6
mov ebx, dword [ebp - 0x14]
imul ebx, ecx
movzx ecx, word [ebp - 8]
mov edi, eax
rol edi, 0xe
sub ebx, edi
xor edx, ebx
mov edi, edx
sub edi, ecx
mov ecx, dword [ebp - 0x14]
sub edi, dword [ebp - 0xc]
xor eax, edi
xor ecx, eax
imul ecx, dword [ebp - 0x18]
mov edi, eax
shr edi, 0xb
xor ecx, edi
xor edx, ecx
movzx edi, word [ebp - 0xc]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x38], edi
add ecx, edx
rol ecx, 4
imul edi, ecx
mov ecx, edx
xor edx, dword [ebp - 0x20]
shr ecx, 3
xor edi, ecx
xor edi, dword [ebp - 0x40]
xor eax, edi
mov cl, byte [ebp - 0xd]
xor cl, al
xor cl, dl
mov edi, dword [ebp - 0x3c]
mov byte [edi + 3], al
ror eax, 8
xor cl, al
mov byte [edi + 7], dl
mov byte [edi + 2], al
ror edx, 8
xor cl, dl
ror eax, 8
xor cl, al
mov byte [edi + 6], dl
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
mov dword [ebp - 0x40], ecx
add edi, 8
mov ecx, dword [ebp - 0x54]
dec dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x3c], edi
ror eax, 8
ror edx, 8
jne 0x135f2c3
mov ebx, 0x1000000
mov ecx, dword [ebp - 0x34]
mov al, byte [ebp - 0xd]
cmp al, byte [ecx + 8]
je 0x135f537
call fcn.012a18fc
mov ecx, dword [ebp - 0x50]
and ecx, 0xfffffffc
mov esi, eax
mov eax, 0xfffff000
mov edi, ecx
and esi, eax
mov edx, 0xffff
lea ecx, [edi + 0xfff]
and ecx, eax
mov eax, dword [ebp - 0x5c]
mov dword [eax + 8], 0x103a6aa
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 0x135f4ae
xor edx, edx
mov ebx, 0xffff
div ebx
mov dword [ebp - 0x88], esi
inc edx
mov eax, edi
cmp edi, ecx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x50], 0
jae 0x135f4ff
mov edx, dword [ebp - 0x50]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jb 0x135f4f3
mov eax, 0x103a6aa
jmp 0x135f603
xor edx, edx
test ebx, ebx
jge 0x135f290
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x135f290
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [ebp - 0x40], eax
not eax
mov dword [ebp - 0x20], eax
xor eax, eax
jmp 0x135f295
mov ecx, dword [0x13ca1e8]
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
sub ebx, ecx
mov dword [ebp - 0x34], ebx
jne 0x135f555
test eax, eax
je 0x135f5f6
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x30]
sub esi, dword [ebp - 0x58]
add eax, edi
mov ecx, dword [0x1236cc0]
mov dword [ebp - 0x50], eax
xor ebx, ebx
dec ecx
js 0x135f598
lea eax, [ecx + ebx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x1236cc4]
and edx, 0xfffffff
cmp edi, edx
jae 0x135f58f
lea ecx, [eax - 1]
jmp 0x135f594
jbe 0x135f59c
lea ebx, [eax + 1]
cmp ecx, ebx
jge 0x135f571
mov edi, ebx
jmp 0x135f5ee
mov edi, eax
jmp 0x135f5ee
mov eax, dword [edi*4 + 0x1236cc4]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x50]
jae 0x135f5f6
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 0x135f5e1
dec ecx
je 0x135f5dc
dec ecx
jne 0x135f5e7
mov edx, dword [ebp - 0x34]
jmp 0x135f5e7
mov edx, dword [ebp - 0x1c]
jmp 0x135f5e7
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x1c]
dec eax
dec eax
jne 0x135f5ed
add dword [ebx], edx
inc edi
cmp edi, dword [0x1236cc0]
jb 0x135f5a0
mov eax, dword [0x109dc84]
mov eax, 0x51c73f55
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0x94]
mov esi, dword [ebp - 0x8c]
mov esp, ebp
pop ebp
popfd
ret