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

Disassembly:
push edi
pushfd
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov ecx, 0xfffffff
lea eax, [ebp + 4]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], esi
sub eax, 4
mov dword [ebp - 0x7c], edi
lea edi, [eax + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [edi]
mov esi, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 4]
and eax, ecx
and esi, ecx
mov ecx, dword [0x10fb370]
xor edx, edx
mov dword [ebp - 0x34], ecx
lea ecx, [ecx + eax - 1]
mov eax, ecx
div dword [ebp - 0x34]
mov ebx, 0x1000000
mov eax, dword [0x10fb370]
mov dword [ebp - 0x48], edi
add esi, ebx
sub ecx, edx
mov dword [ebp - 0x60], 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 0x1228b58
and dword [ebp - 0x44], 0
mov eax, dword [0x1007420]
dec eax
lea ecx, [eax + 1]
mov dword [ebp - 0x20], ecx
xor eax, eax
test ecx, ecx
je 0x1228b01
mov edx, dword [0x138b4cc]
shr dword [ebp - 0x20], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x138b4cc], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0x20], 0
jne 0x1228ad7
xor edx, edx
div ecx
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x20], edx
jbe 0x1228b4a
lea edx, [edx*4 + 0x1388f9c]
mov ecx, 0xffff10f4
mov eax, 0xef0b
inc dword [ebp - 0x44]
lock cmpxchg dword [edx], ecx
cmp eax, 0xef0b
je 0x1228cfd
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x1007420]
inc eax
xor edx, edx
div ecx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], edx
cmp eax, dword [ebp - 0x28]
jb 0x1228b0e
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jne 0x1228bde
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x20], 0
mov dword [ebp - 0x34], eax
inc dword [ebp - 0x20]
push 0x40
push 0x1000
push dword [ebp - 0x18]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1228d14
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x20], 0x11
jb 0x1228b65
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp dword [0x138b2f8], eax
ja 0x1228ba2
test al, 3
je 0x1228bba
test eax, eax
je 0x1228bb6
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 0x1228aa7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1228bde
mov byte [eax], 0
inc eax
dec ecx
jne 0x1228bd7
mov eax, 0xec9f7375
add dword [edi], 8
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
and eax, 0xfffffff
lea ecx, [eax + esi]
mov dword [ebp - 0x34], ecx
mov ecx, dword [0x10fb370]
mov dword [ebp - 0x38], esi
sub ecx, eax
sub dword [ebp - 0x38], ebx
mov dword [ebp - 0x44], eax
inc ecx
mov edx, ecx
xor eax, eax
test ecx, ecx
je 0x1228c38
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 0x1228c11
xor edx, edx
div ecx
mov eax, dword [ebp - 0x14]
add eax, edx
push eax
push dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x38]
mov eax, 0x81d6a49
mov eax, dword [ebp - 0x34]
mov edi, dword [eax + 4]
mov esi, dword [eax]
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], edi
mov byte [ebp - 0xd], 0
mov eax, 0xf8bf8ff7
mov eax, 0xfffffff
mov ecx, dword [0x102c94c]
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
and esi, eax
and edi, eax
add esi, ebx
add esp, 0x10
mov dword [ebp - 0x1c], esi
mov eax, ebx
sub eax, ecx
mov dword [ebp - 0x40], eax
jne 0x1228d1c
and dword [ebp - 0x18], 0
test edi, edi
jbe 0x1228f4b
mov esi, 0x7cd8fefb
mov ecx, 0x7fffffff
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
movzx edx, byte [edx + eax]
add edx, esi
add dword [ebp - 0x30], edx
add edx, dword [ebp - 0x2c]
mov eax, edx
imul eax, eax, 0x42b2
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
add dword [ebp - 0x30], eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x18], edi
jb 0x1228cad
jmp 0x1228f4b
mov eax, dword [0x10fb370]
imul eax, dword [ebp - 0x20]
lea eax, [eax + section..data]
mov dword [ebp - 0x14], eax
jmp 0x1228b4e
mov dword [ebp - 0x14], eax
jmp 0x1228b93
mov ecx, esi
mov edx, dword [0x100003c]
lea eax, [edi + ecx]
lea edx, [edx + 0x10000a0]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx]
sub ecx, ebx
mov edx, dword [edx + 4]
mov dword [ebp - 0x24], edx
mov esi, ecx
mov edx, ecx
add ecx, edi
and esi, 0xfffff000
sub edx, esi
mov dword [ebp - 0x28], edx
mov edx, ecx
and edx, 0xfffff000
sub ecx, edx
mov dword [ebp - 0x58], ecx
add eax, ebx
mov ecx, dword [ebp - 0x24]
mov edi, eax
add ecx, eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x54], ecx
cmp eax, ecx
je 0x1228d77
cmp dword [edi], esi
jae 0x1228d77
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x54]
jne 0x1228d6b
and dword [ebp - 0x4c], 0
cmp edi, dword [ebp - 0x54]
je 0x1228da8
cmp dword [edi], esi
jne 0x1228da8
mov ecx, dword [edi + 4]
sub ecx, 8
shr ecx, 1
je 0x1228da8
lea esi, [edi + 8]
movzx eax, word [esi]
and eax, 0xfff
cmp eax, dword [ebp - 0x28]
jae 0x1228da8
inc dword [ebp - 0x4c]
inc esi
inc esi
cmp dword [ebp - 0x4c], ecx
jne 0x1228d91
mov esi, 0x7cd8fefb
mov ecx, 0x7fffffff
jmp 0x1228db7
mov edx, dword [ebp - 0x5c]
cmp edi, dword [ebp - 0x54]
je 0x1228ef8
cmp dword [edi], edx
ja 0x1228ef8
mov eax, dword [edi + 4]
add eax, 0xfffffff8
shr eax, 1
cmp dword [ebp - 0x4c], eax
jne 0x1228df2
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x54]
je 0x1228ef8
mov eax, dword [ebp - 0x5c]
cmp dword [edi], eax
ja 0x1228ef8
and dword [ebp - 0x4c], 0
jmp 0x1228dc8
mov eax, dword [ebp - 0x5c]
cmp dword [edi], eax
jne 0x1228e0f
mov eax, dword [ebp - 0x4c]
movzx eax, word [edi + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x58]
jae 0x1228ef8
mov eax, 0xf000
mov edx, dword [ebp - 0x4c]
inc dword [ebp - 0x4c]
test word [edi + edx*2 + 8], ax
je 0x1228db4
movzx eax, word [edi + edx*2 + 8]
mov edx, dword [edi]
and dword [ebp - 0x18], 0
and eax, 0xfff
lea eax, [eax + edx + 0x1000000]
mov dword [ebp - 0x28], eax
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
je 0x1228e91
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
movzx edx, byte [edx + eax]
add edx, esi
add dword [ebp - 0x30], edx
add edx, dword [ebp - 0x2c]
mov eax, edx
imul eax, eax, 0x42b2
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
add dword [ebp - 0x30], eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
jb 0x1228e43
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
sub eax, dword [ebp - 0x40]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x18]
movzx edx, byte [ebp + eax - 0x6c]
add edx, esi
add dword [ebp - 0x30], edx
add edx, dword [ebp - 0x2c]
mov eax, edx
imul eax, eax, 0x42b2
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
add dword [ebp - 0x30], eax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
mov dword [ebp - 0x2c], eax
jb 0x1228ea0
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [ebp - 0x1c], eax
jmp 0x1228db4
mov eax, dword [ebp - 0x3c]
xor edi, edi
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
je 0x1228f4b
mov eax, dword [ebp - 0x1c]
movzx edx, byte [eax + edi]
add edx, esi
add dword [ebp - 0x30], edx
add edx, dword [ebp - 0x2c]
mov eax, edx
imul eax, eax, 0x42b2
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
add dword [ebp - 0x30], eax
inc edi
mov dword [ebp - 0x2c], eax
cmp edi, dword [ebp - 0x24]
jb 0x1228f05
xor eax, eax
mov ecx, eax
and ecx, 7
mov cl, byte [ebp + ecx - 0x30]
mov byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 8
jb 0x1228f4d
mov eax, 0x3d8a020d
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x44]
and eax, 7
mov dword [ebp - 0x24], eax
je 0x122938e
mov edi, dword [ebp - 0x38]
xor ecx, ecx
not edi
cmp eax, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x14], ecx
jle 0x1228fba
push 0x38
pop edx
cmp dword [ebp - 0x14], 4
movzx ebx, byte [esi]
jge 0x1228fa7
lea ecx, [edx - 0x20]
shl ebx, cl
or dword [ebp - 0x40], ebx
jmp 0x1228fae
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 0x1228f94
mov eax, dword [ebp - 8]
movzx edx, word [ebp - 8]
xor eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
sub ecx, eax
xor edi, ecx
mov eax, edi
mov ecx, edi
sub ecx, dword [ebp - 0xc]
ror ecx, 1
imul edx, ecx
movzx ecx, word [ebp - 0xa]
ror eax, 1
add eax, edx
xor eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], ecx
mov edx, eax
sub edx, ecx
xor edx, dword [ebp - 8]
xor edi, edx
movzx edx, word [ebp - 0xc]
movzx ecx, word [ebp - 6]
mov dword [ebp - 0x28], edx
xor ecx, edi
rol ecx, 7
imul edx, ecx
mov ecx, dword [ebp - 0xc]
mov ebx, edi
rol ebx, 0xc
sub edx, ebx
xor eax, edx
movzx edx, word [ebp - 6]
sub ecx, eax
ror ecx, 0xf
mov ebx, eax
imul edx, ecx
mov ecx, dword [ebp - 8]
ror ebx, 1
add ebx, edx
xor edi, ebx
mov ebx, edi
movzx edx, cx
ror ebx, 0xa
xor ebx, edx
movzx edx, word [ebp - 6]
imul ebx, edx
xor eax, ebx
mov ebx, dword [ebp - 0x14]
add ecx, eax
mov edx, eax
rol ecx, 9
imul ebx, ecx
movzx ecx, word [ebp - 8]
ror edx, 0xe
sub ebx, edx
xor edi, ebx
xor ecx, edi
mov edx, edi
imul ecx, dword [ebp - 0x28]
ror edx, 5
xor edx, ecx
xor eax, edx
movzx edx, word [ebp - 8]
movzx ecx, word [ebp - 6]
mov ebx, edx
xor ebx, eax
imul ebx, ecx
mov ecx, eax
shr ecx, 1
add ebx, ecx
mov ecx, dword [ebp - 0x14]
xor edi, ebx
mov ebx, ecx
xor ebx, edi
imul ebx, edx
mov edx, edi
shr edx, 0xa
xor ebx, edx
xor eax, ebx
mov edx, dword [ebp - 0x28]
mov ebx, edx
xor ebx, eax
rol ebx, 4
imul ecx, ebx
mov ebx, eax
shr ebx, 8
add ecx, ebx
xor edi, ecx
mov ecx, dword [ebp - 8]
mov ebx, edi
and dword [ebp - 0x14], 0
xor ecx, edi
ror ecx, 1
imul edx, ecx
xor edi, dword [ebp - 0x18]
mov ecx, edi
ror ebx, 0xb
xor ebx, edx
xor ebx, dword [ebp - 0x40]
xor eax, ebx
mov ebx, dword [ebp - 0x24]
test ebx, ebx
mov dword [ebp - 0x3c], eax
jle 0x12290fa
cmp dword [ebp - 0x14], 4
jge 0x12290e1
rol dword [ebp - 0x3c], 8
mov ebx, dword [ebp - 0x1c]
mov dl, byte [ebp - 0x3c]
inc dword [ebp - 0x1c]
xor byte [ebp - 0xd], dl
mov byte [ebx], dl
jmp 0x12290ef
mov edx, dword [ebp - 0x1c]
inc dword [ebp - 0x1c]
rol ecx, 8
xor byte [ebp - 0xd], cl
mov byte [edx], cl
inc dword [ebp - 0x14]
mov ebx, dword [ebp - 0x24]
cmp dword [ebp - 0x14], ebx
jl 0x12290c7
add ebx, 0xfffffffc
test ebx, ebx
jle 0x1229374
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 - 0x44]
shr ecx, 3
test ecx, ecx
jbe 0x12292d8
movzx edi, word [ebp - 6]
mov dword [ebp - 0x28], edi
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ecx
movzx edi, byte [esi + 1]
movzx ebx, byte [esi + 5]
movzx ecx, byte [esi]
shl ecx, 8
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
shl ecx, 8
movzx ebx, byte [esi + 6]
or ecx, ebx
xor eax, edi
movzx ebx, byte [esi + 7]
shl ecx, 8
or ecx, ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 8]
xor edi, eax
sub ebx, edi
xor ebx, ecx
xor edx, ebx
movzx edi, word [ebp - 8]
mov ebx, edx
add esi, 8
mov dword [ebp - 0x68], ecx
mov ecx, edx
sub ecx, dword [ebp - 0xc]
ror ecx, 1
imul edi, ecx
ror ebx, 1
add ebx, edi
xor eax, ebx
mov ecx, eax
movzx edi, word [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 8]
xor edx, ecx
mov ecx, dword [ebp - 0x28]
mov ebx, edx
xor ecx, edx
rol ecx, 7
imul edi, ecx
rol ebx, 0xc
mov ecx, dword [ebp - 0xc]
sub edi, ebx
mov ebx, dword [ebp - 0x28]
xor eax, edi
sub ecx, eax
ror ecx, 0xf
imul ebx, ecx
mov ecx, dword [ebp - 8]
mov edi, eax
ror edi, 1
add edi, ebx
xor edx, edi
mov ebx, edx
movzx edi, cx
ror ebx, 0xa
xor ebx, edi
imul ebx, dword [ebp - 0x28]
xor eax, ebx
add ecx, eax
mov edi, eax
rol ecx, 9
mov ebx, dword [ebp - 0x14]
imul ebx, ecx
movzx ecx, word [ebp - 8]
ror edi, 0xe
sub ebx, edi
movzx edi, word [ebp - 0xc]
xor edx, ebx
mov ebx, edx
ror ebx, 5
xor ecx, edx
imul ecx, edi
xor ebx, ecx
xor eax, ebx
movzx ecx, word [ebp - 8]
mov ebx, eax
xor ecx, eax
imul ecx, dword [ebp - 0x28]
shr ebx, 1
add ecx, ebx
xor edx, ecx
mov ebx, dword [ebp - 0x14]
xor ebx, edx
movzx ecx, word [ebp - 8]
imul ebx, ecx
mov ecx, edx
shr ecx, 0xa
xor ebx, ecx
mov ecx, edi
xor eax, ebx
mov ebx, dword [ebp - 0x14]
xor ecx, eax
rol ecx, 4
imul ebx, ecx
mov ecx, eax
shr ecx, 8
add ebx, ecx
xor edx, ebx
mov ebx, edx
mov ecx, dword [ebp - 8]
xor ecx, edx
ror ecx, 1
imul edi, ecx
mov cl, byte [ebp - 0xd]
xor edx, dword [ebp - 0x18]
ror ebx, 0xb
xor ebx, edi
xor ebx, dword [ebp - 0x40]
xor eax, ebx
mov edi, dword [ebp - 0x1c]
mov byte [edi + 3], al
xor cl, al
mov byte [edi + 7], dl
xor cl, dl
ror eax, 8
mov byte [edi + 2], al
xor cl, 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 - 0x3c]
mov byte [edi], al
mov byte [edi + 4], dl
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x68]
add edi, 8
dec dword [ebp - 0x24]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edi
ror eax, 8
ror edx, 8
jne 0x1229137
mov ebx, 0x1000000
mov eax, dword [ebp - 0x34]
mov al, byte [eax + 8]
xor al, byte [ebp - 0xd]
je 0x12293a2
call fcn.010bfbea
mov esi, eax
mov edx, 0xfffff000
mov eax, dword [ebp - 0x48]
and eax, 0xfffffffc
mov edi, eax
mov eax, dword [ebp - 0x64]
lea ecx, [edi + 0xfff]
mov dword [eax + 8], 0x12e07d9
and esi, edx
and ecx, edx
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 0x1229316
mov ebx, 0xffff
div ebx
inc edx
mov dword [ebp - 0x8c], esi
cmp edi, ecx
mov dword [ebp - 0x84], edx
mov eax, edi
mov dword [ebp - 0x48], 0
jae 0x122936a
mov edx, dword [ebp - 0x48]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jb 0x122935e
mov eax, 0x12e07d9
jmp 0x122946e
xor edx, edx
test ebx, ebx
jge 0x1229113
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x1229113
mov eax, dword [ebp - 0x38]
xor edx, edx
mov dword [ebp - 0x40], eax
not eax
mov dword [ebp - 0x18], eax
xor eax, eax
jmp 0x1229118
mov ecx, dword [0x102c94c]
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
sub ebx, ecx
mov dword [ebp - 0x34], ebx
jne 0x12293c0
test eax, eax
je 0x1229461
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x20]
sub esi, dword [ebp - 0x60]
add eax, edi
mov ecx, dword [0x1069ab8]
xor ebx, ebx
mov dword [ebp - 0x48], eax
dec ecx
js 0x1229403
lea eax, [ecx + ebx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x1069abc]
and edx, 0xfffffff
cmp edi, edx
jae 0x12293fa
lea ecx, [eax - 1]
jmp 0x12293ff
jbe 0x1229407
lea ebx, [eax + 1]
cmp ecx, ebx
jge 0x12293dc
mov edi, ebx
jmp 0x1229459
mov edi, eax
jmp 0x1229459
mov eax, dword [edi*4 + 0x1069abc]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x48]
jae 0x1229461
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 0x122944c
dec ecx
je 0x1229447
dec ecx
jne 0x1229452
mov edx, dword [ebp - 0x34]
jmp 0x1229452
mov edx, dword [ebp - 0x24]
jmp 0x1229452
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x24]
dec eax
dec eax
jne 0x1229458
add dword [ebx], edx
inc edi
cmp edi, dword [0x1069ab8]
jb 0x122940b
mov eax, dword [0x10fb370]
mov eax, 0x258b9a10
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 8], eax
mov esi, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x88]
mov edi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x8c]
mov esp, ebp
pop ebp
popfd
ret