Function at 0x129f12e
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 - 0x94], eax
lea eax, [ebp + 4]
sub eax, 4
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x84], edi
mov ecx, dword [0x1116588]
mov dword [ebp - 0x6c], eax
add eax, 0xc
mov dword [ebp - 0x4c], eax
mov eax, dword [eax]
mov ebx, dword [eax]
mov edi, 0xfffffff
mov dword [ebp - 0x34], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
and eax, edi
lea ecx, [ecx + eax - 1]
mov eax, ecx
xor edx, edx
div dword [ebp - 0x1c]
mov esi, 0x1000000
and ebx, edi
add ebx, esi
mov eax, dword [0x1116588]
sub ecx, edx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x18], ecx
mov eax, dword [0x1011bb0]
mov dword [ebp - 0x48], eax
mov eax, dword [0x1116588]
mov eax, dword [0x1011bb0]
test eax, eax
je 0x129f255
and dword [ebp - 0x3c], 0
mov eax, dword [0x1011bb0]
dec eax
lea ecx, [eax + 1]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x20], ecx
je 0x129f1fe
mov edx, dword [0x12d47a4]
shr dword [ebp - 0x20], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x12d47a4], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0x20], 0
jne 0x129f1d4
xor edx, edx
div ecx
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x20], edx
jbe 0x129f247
mov ecx, 0xffff349a
inc dword [ebp - 0x3c]
lea edx, [edx*4 + 0x12d4c14]
mov eax, 0xcb65
lock cmpxchg dword [edx], ecx
cmp eax, 0xcb65
je 0x129f3f1
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x1011bb0]
inc eax
xor edx, edx
div ecx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], edx
cmp eax, dword [ebp - 0x48]
jb 0x129f20b
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jne 0x129f2db
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 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 0x129f408
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x20], 0x11
jb 0x129f262
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp dword [0x12ef80c], eax
ja 0x129f29f
test al, 3
je 0x129f2b7
test eax, eax
je 0x129f2b3
push 0x8000
push 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
and dword [ebp - 0x14], 0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x14], 0
je 0x129f1a4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x129f2db
mov byte [eax], 0
inc eax
dec ecx
jne 0x129f2d4
mov eax, 0xbadbe564
mov eax, dword [ebp - 0x4c]
add dword [eax], 8
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
and eax, edi
lea ecx, [ebx + eax]
mov dword [ebp - 0x48], ecx
mov ecx, dword [0x1116588]
sub ecx, eax
mov dword [ebp - 0x44], ebx
sub dword [ebp - 0x44], esi
inc ecx
mov dword [ebp - 0x3c], eax
mov edx, ecx
xor eax, eax
test ecx, ecx
je 0x129f335
mov ebx, dword [0x12d47a4]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x12d47a4], ebx
shr ebx, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, ebx
test edx, edx
jne 0x129f30e
xor edx, edx
div ecx
mov eax, dword [ebp - 0x14]
add eax, edx
push eax
push dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x44]
mov eax, 0xb9068348
mov eax, dword [ebp - 0x48]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0xd], 0
mov eax, 0xb306b34b
mov eax, dword [ebp - 0x78]
mov ecx, dword [0x11e47bc]
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
and eax, edi
mov dword [ebp - 0x18], eax
mov eax, esi
and ebx, edi
add ebx, esi
add esp, 0x10
mov dword [ebp - 0x24], ebx
mov edi, 0xfffff000
sub eax, ecx
mov dword [ebp - 0x38], eax
jne 0x129f410
xor ebx, ebx
cmp dword [ebp - 0x18], ebx
jbe 0x129f61c
mov edi, 0x18530fce
mov esi, 0xe7acf032
mov ecx, 0x7fffffff
mov edx, esi
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + ebx]
sub eax, edi
add dword [ebp - 0x2c], eax
add eax, dword [ebp - 0x28]
mul edx
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 - 0x2c], eax
mov dword [ebp - 0x28], eax
inc ebx
cmp ebx, dword [ebp - 0x18]
jb 0x129f3b0
jmp 0x129f61c
mov eax, dword [0x1116588]
imul eax, dword [ebp - 0x20]
lea eax, [eax + section..data]
mov dword [ebp - 0x14], eax
jmp 0x129f24b
mov dword [ebp - 0x14], eax
jmp 0x129f290
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x18]
mov edx, dword [0x100003c]
lea eax, [ecx + ebx]
sub ecx, esi
lea edx, [edx + 0x10000a0]
mov dword [ebp - 0x30], eax
mov eax, dword [edx]
add eax, esi
mov esi, ecx
mov edx, dword [edx + 4]
mov dword [ebp - 0x1c], edx
mov edx, ecx
add ecx, ebx
and esi, edi
sub edx, esi
mov dword [ebp - 0x18], edx
mov edx, ecx
mov ebx, eax
and edx, edi
sub ecx, edx
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x68], edx
add ecx, eax
mov dword [ebp - 0x60], ecx
cmp eax, ecx
je 0x129f467
cmp dword [ebx], esi
jae 0x129f467
add ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x60]
jne 0x129f45b
xor eax, eax
cmp ebx, dword [ebp - 0x60]
je 0x129f494
cmp dword [ebx], esi
jne 0x129f494
mov ecx, dword [ebx + 4]
sub ecx, 8
shr ecx, 1
je 0x129f494
lea esi, [ebx + 8]
movzx edi, word [esi]
and edi, 0xfff
cmp edi, dword [ebp - 0x18]
jae 0x129f494
inc eax
inc esi
inc esi
cmp eax, ecx
jne 0x129f47f
mov ecx, 0x7fffffff
mov edi, 0x18530fce
mov esi, 0xe7acf032
jmp 0x129f4ab
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x68]
cmp ebx, dword [ebp - 0x60]
je 0x129f5d3
cmp dword [ebx], edx
ja 0x129f5d3
mov edx, dword [ebx + 4]
add edx, 0xfffffff8
shr edx, 1
cmp eax, edx
jne 0x129f4e3
add ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x60]
je 0x129f5d3
mov eax, dword [ebp - 0x68]
cmp dword [ebx], eax
ja 0x129f5d3
xor eax, eax
jmp 0x129f4bc
mov edx, dword [ebp - 0x68]
cmp dword [ebx], edx
jne 0x129f4fe
movzx edx, word [ebx + eax*2 + 8]
and edx, 0xfff
cmp edx, dword [ebp - 0x64]
jae 0x129f5d3
mov edx, eax
inc eax
mov dword [ebp - 0x58], eax
mov eax, 0xf000
test word [ebx + edx*2 + 8], ax
je 0x129f4a5
movzx eax, word [ebx + edx*2 + 8]
mov edx, dword [ebx]
and dword [ebp - 0x18], 0
and eax, 0xfff
lea eax, [eax + edx + 0x1000000]
mov dword [ebp - 0x34], eax
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
je 0x129f576
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx]
sub eax, edi
add dword [ebp - 0x2c], eax
mov edx, esi
add eax, dword [ebp - 0x28]
mul edx
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 - 0x2c], eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jb 0x129f532
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
sub eax, dword [ebp - 0x38]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
mov edx, esi
movzx eax, byte [ebp + eax - 0x74]
sub eax, edi
add dword [ebp - 0x2c], eax
add eax, dword [ebp - 0x28]
mul edx
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 - 0x2c], eax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
mov dword [ebp - 0x28], eax
jb 0x129f585
mov eax, dword [ebp - 0x34]
add eax, 4
mov dword [ebp - 0x24], eax
jmp 0x129f4a5
xor ebx, ebx
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
je 0x129f61c
mov eax, dword [ebp - 0x24]
mov edx, esi
movzx eax, byte [eax + ebx]
sub eax, edi
add dword [ebp - 0x2c], eax
add eax, dword [ebp - 0x28]
mul edx
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 - 0x2c], eax
inc ebx
mov dword [ebp - 0x28], eax
cmp ebx, dword [ebp - 0x1c]
jb 0x129f5e0
xor ebx, ebx
xor eax, eax
mov ecx, eax
and ecx, 7
mov cl, byte [ebp + ecx - 0x2c]
mov byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 8
jb 0x129f620
mov eax, 0x35f81e65
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
and eax, 7
mov dword [ebp - 0x1c], eax
je 0x129f7f4
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x34], ebx
not esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], ebx
cmp eax, ebx
jle 0x129f68b
push 0x38
pop edx
cmp dword [ebp - 0x14], 4
movzx ebx, byte [edi]
jge 0x129f678
lea ecx, [edx - 0x20]
shl ebx, cl
or dword [ebp - 0x38], ebx
jmp 0x129f67f
mov ecx, edx
shl ebx, cl
or dword [ebp - 0x34], ebx
inc edi
inc dword [ebp - 0x14]
sub edx, 8
cmp dword [ebp - 0x14], eax
jl 0x129f665
movzx ecx, word [ebp - 6]
movzx ebx, word [ebp - 0xc]
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0xc]
xor eax, esi
xor eax, dword [ebp - 0x44]
mov edx, eax
sub edx, ecx
mov dword [ebp - 0x18], ebx
sub edx, dword [ebp - 0xc]
xor esi, edx
xor ebx, esi
mov dword [ebp - 0x40], ecx
movzx edx, word [ebp - 8]
mov dword [ebp - 0x30], edx
imul ebx, edx
mov edx, esi
shr edx, 1
add ebx, edx
xor eax, ebx
mov ebx, eax
sub ebx, ecx
movzx edx, word [ebp - 0xa]
imul ebx, edx
mov dword [ebp - 0x14], edx
mov ecx, eax
shr ecx, 2
sub ebx, ecx
xor esi, ebx
xor edx, esi
mov ebx, dword [ebp - 0x40]
imul edx, dword [ebp - 0x18]
mov ecx, esi
ror ecx, 0xe
sub edx, ecx
xor eax, edx
mov ecx, dword [ebp - 0xc]
mov edx, eax
sub ecx, eax
rol ecx, 8
imul ebx, ecx
rol edx, 0xa
sub ebx, edx
mov edx, dword [ebp - 0x14]
xor esi, ebx
mov ebx, dword [ebp - 0x14]
xor edx, esi
imul edx, dword [ebp - 0x30]
mov ecx, esi
ror ecx, 5
xor ecx, edx
xor eax, ecx
mov ecx, dword [ebp - 8]
mov edx, eax
add ecx, eax
ror ecx, 2
imul ebx, ecx
mov ecx, dword [ebp - 0xc]
rol edx, 0xc
add edx, ebx
xor esi, edx
mov edx, dword [ebp - 8]
xor ecx, esi
sub edx, ecx
xor eax, edx
mov ecx, dword [ebp - 0x40]
mov ebx, eax
ror ebx, 5
movzx edx, word [ebp - 0xc]
xor ebx, ecx
imul ebx, edx
xor esi, ebx
mov edx, esi
xor ecx, esi
imul ecx, dword [ebp - 0x30]
shr edx, 0xf
xor ecx, edx
xor eax, ecx
mov ebx, eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
add ecx, eax
ror ecx, 0xe
imul edx, ecx
mov ecx, dword [ebp - 0x30]
and dword [ebp - 0x14], 0
rol ebx, 0xa
sub edx, ebx
xor esi, edx
mov ebx, esi
movzx edx, word [ebp - 0xc]
xor ecx, esi
imul ecx, edx
xor esi, dword [ebp - 0x34]
ror ebx, 3
add ebx, ecx
mov ecx, esi
xor ebx, dword [ebp - 0x38]
xor eax, ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
test ebx, ebx
jle 0x129f7ca
cmp dword [ebp - 0x14], 4
jge 0x129f7b1
rol dword [ebp - 0x30], 8
mov dl, byte [ebp - 0x30]
mov ebx, dword [ebp - 0x24]
inc dword [ebp - 0x24]
xor byte [ebp - 0xd], dl
mov byte [ebx], dl
jmp 0x129f7bf
mov edx, dword [ebp - 0x24]
inc dword [ebp - 0x24]
rol ecx, 8
xor byte [ebp - 0xd], cl
mov byte [edx], cl
inc dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], ebx
jl 0x129f797
add ebx, 0xfffffffc
test ebx, ebx
jle 0x129f7e1
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr esi, cl
shl esi, cl
mov edx, esi
jmp 0x129f803
xor edx, edx
test ebx, ebx
jge 0x129f803
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x129f803
mov eax, dword [ebp - 0x44]
xor edx, edx
mov dword [ebp - 0x38], eax
not eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov ecx, dword [ebp - 0x3c]
shr ecx, 3
test ecx, ecx
jbe 0x129f9d5
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x70], esi
movzx esi, word [ebp - 6]
mov dword [ebp - 0x40], esi
movzx esi, word [ebp - 0xa]
mov dword [ebp - 0x14], esi
movzx esi, word [ebp - 0xc]
mov dword [ebp - 0x18], esi
movzx ecx, byte [edi]
movzx ebx, byte [edi + 5]
shl ecx, 8
movzx esi, byte [edi + 1]
or esi, ecx
shl esi, 8
movzx ecx, byte [edi + 2]
or esi, ecx
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 4]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [edi + 6]
shl ecx, 8
or ecx, ebx
shl ecx, 8
movzx ebx, byte [edi + 7]
or ecx, ebx
xor edx, ecx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x30], esi
mov ebx, dword [ebp - 0x40]
xor ecx, esi
mov esi, dword [ebp - 0x18]
xor ecx, edx
xor eax, ecx
mov ecx, eax
sub ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0xc]
add edi, 8
xor edx, ecx
movzx ecx, word [ebp - 8]
xor esi, edx
imul esi, ecx
mov ecx, edx
shr ecx, 1
add esi, ecx
xor eax, esi
mov ecx, eax
sub ecx, dword [ebp - 0x40]
mov esi, eax
imul ecx, dword [ebp - 0x14]
shr esi, 2
sub ecx, esi
xor edx, ecx
mov esi, dword [ebp - 0x14]
xor esi, edx
mov ecx, edx
imul esi, dword [ebp - 0x18]
ror ecx, 0xe
sub esi, ecx
mov ecx, dword [ebp - 0xc]
xor eax, esi
mov esi, eax
sub ecx, eax
rol ecx, 8
imul ebx, ecx
movzx ecx, word [ebp - 8]
rol esi, 0xa
sub ebx, esi
xor edx, ebx
mov ebx, dword [ebp - 0x14]
xor ebx, edx
mov esi, edx
imul ebx, ecx
ror esi, 5
xor esi, ebx
mov ecx, dword [ebp - 8]
xor eax, esi
add ecx, eax
mov esi, eax
mov ebx, dword [ebp - 0x14]
ror ecx, 2
imul ebx, ecx
mov ecx, dword [ebp - 8]
rol esi, 0xc
add esi, ebx
xor edx, esi
mov ebx, ecx
mov esi, dword [ebp - 0xc]
xor esi, edx
sub ebx, esi
movzx esi, word [ebp - 0xc]
xor eax, ebx
mov ebx, eax
ror ebx, 5
xor ebx, dword [ebp - 0x40]
imul ebx, esi
movzx esi, cx
xor edx, ebx
mov ebx, dword [ebp - 0x40]
xor ebx, edx
imul ebx, esi
mov esi, edx
shr esi, 0xf
xor ebx, esi
xor eax, ebx
mov esi, eax
mov ebx, dword [ebp - 0x14]
add ecx, eax
ror ecx, 0xe
imul ebx, ecx
rol esi, 0xa
sub ebx, esi
xor edx, ebx
mov esi, edx
movzx ecx, word [ebp - 8]
mov ebx, ecx
xor ebx, edx
movzx ecx, word [ebp - 0xc]
imul ebx, ecx
xor edx, dword [ebp - 0x34]
ror esi, 3
add esi, ebx
xor esi, dword [ebp - 0x38]
mov dword [ebp - 0x18], ecx
xor eax, esi
mov cl, byte [ebp - 0xd]
xor cl, al
mov esi, dword [ebp - 0x24]
xor cl, dl
mov byte [esi + 3], al
mov byte [esi + 7], dl
ror eax, 8
xor cl, al
ror edx, 8
xor cl, dl
mov byte [esi + 2], al
mov byte [esi + 6], dl
ror eax, 8
mov byte [esi + 1], al
xor cl, al
ror edx, 8
xor cl, dl
ror eax, 8
mov byte [esi + 5], dl
ror edx, 8
mov bl, dl
xor bl, al
xor cl, bl
mov byte [ebp - 0xd], cl
mov ecx, dword [ebp - 0x30]
mov byte [esi], al
mov byte [esi + 4], dl
add esi, 8
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x50]
dec dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
ror eax, 8
ror edx, 8
mov dword [ebp - 0x24], esi
jne 0x129f832
movzx ecx, byte [ebp - 0xd]
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax + 8]
sub ecx, eax
je 0x129fa72
call fcn.01244f80
mov edx, 0xffff
mov ecx, dword [ebp - 0x4c]
mov esi, eax
and ecx, 0xfffffffc
mov edi, ecx
lea ecx, [edi + 0xfff]
mov eax, 0xfffff000
and esi, eax
and ecx, eax
mov eax, dword [ebp - 0x6c]
mov dword [eax + 8], 0x10d8814
xor eax, eax
mov ebx, dword [0x12d47a4]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x12d47a4], ebx
shr ebx, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, ebx
test edx, edx
jne 0x129fa17
mov ebx, 0xffff
div ebx
mov dword [ebp - 0x88], esi
mov eax, edi
inc edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x50], 0
cmp edi, ecx
jae 0x129fa68
mov edx, dword [ebp - 0x50]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jb 0x129fa5c
mov eax, 0x10d8814
jmp 0x129fb43
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x20]
mov edx, dword [0x11e47bc]
mov ecx, 0x1000000
sub ecx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x4c], ecx
jne 0x129fa95
test eax, eax
je 0x129fb36
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x44]
sub esi, dword [ebp - 0x54]
add eax, ebx
xor edi, edi
mov ecx, dword [0x11efd70]
mov dword [ebp - 0x50], eax
dec ecx
js 0x129fad8
lea eax, [edi + ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x11efd74]
and edx, 0xfffffff
cmp ebx, edx
jae 0x129facf
lea ecx, [eax - 1]
jmp 0x129fad4
jbe 0x129fadc
lea edi, [eax + 1]
cmp ecx, edi
jge 0x129fab1
mov ebx, edi
jmp 0x129fb2e
mov ebx, eax
jmp 0x129fb2e
mov eax, dword [ebx*4 + 0x11efd74]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x50]
jae 0x129fb36
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 0x129fb21
dec ecx
je 0x129fb1c
dec ecx
jne 0x129fb27
mov edx, dword [ebp - 0x4c]
jmp 0x129fb27
mov edx, dword [ebp - 0x1c]
jmp 0x129fb27
mov edx, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x1c]
dec eax
dec eax
jne 0x129fb2d
add dword [edi], edx
inc ebx
cmp ebx, dword [0x11efd70]
jb 0x129fae0
mov eax, dword [0x1116588]
mov eax, 0xb04df621
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x94]
mov ebx, dword [ebp - 0x90]
mov edi, dword [ebp - 0x84]
mov esp, ebp
pop ebp
popfd
ret