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

Disassembly:
push edi
pushfd
push ebp
mov ebp, esp
sub esp, 0x90
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x7c], ecx
lea eax, [ebp + 4]
mov dword [ebp - 0x84], edx
sub eax, 4
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x90], edi
mov ecx, dword [0x109dc84]
mov dword [ebp - 0x6c], eax
mov edi, 0xfffffff
add eax, 0xc
mov dword [ebp - 0x50], eax
mov eax, dword [eax]
mov ebx, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [eax + 4]
and eax, edi
mov dword [ebp - 0x20], ecx
lea ecx, [ecx + eax - 1]
mov eax, ecx
xor edx, edx
div dword [ebp - 0x20]
mov eax, dword [0x109dc84]
mov esi, 0x1000000
and ebx, edi
add ebx, esi
sub ecx, edx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x2c], ecx
mov eax, dword [0x129bea8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x109dc84]
mov eax, dword [0x129bea8]
test eax, eax
je 0x1278f1d
and dword [ebp - 0x30], 0
mov eax, dword [0x129bea8]
dec eax
lea ecx, [eax + 1]
mov dword [ebp - 0x44], ecx
xor eax, eax
test ecx, ecx
je 0x1278ec6
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 - 0x44], 0x10
jne 0x1278ea0
xor edx, edx
div ecx
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x38], edx
jbe 0x1278f0f
mov eax, 0x3bd7
mov ecx, 0xffffc428
inc dword [ebp - 0x30]
lea edx, [edx*4 + 0x1427d38]
lock cmpxchg dword [edx], ecx
cmp eax, 0x3bd7
je 0x12790b8
mov ecx, dword [0x129bea8]
mov eax, dword [ebp - 0x38]
inc eax
xor edx, edx
div ecx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], edx
jb 0x1278ed3
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jne 0x1278fa3
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x30], 0
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x30]
push 0x40
push 0x1000
push dword [ebp - 0x2c]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x12790cf
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x30], 0x11
jb 0x1278f2a
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp dword [0x144656c], eax
ja 0x1278f67
test al, 3
je 0x1278f7f
test eax, eax
je 0x1278f7b
push 0x8000
push 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
and dword [ebp - 0x14], 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x14], 0
je 0x1278e70
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1278fa3
mov byte [eax], 0
inc eax
dec ecx
jne 0x1278f9c
mov eax, 0x4141cf9a
mov eax, dword [ebp - 0x50]
add dword [eax], 8
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 4]
and eax, edi
lea ecx, [ebx + eax]
mov dword [ebp - 0x44], ecx
mov ecx, dword [0x109dc84]
sub ecx, eax
mov dword [ebp - 0x40], ebx
sub dword [ebp - 0x40], esi
inc ecx
mov edx, ecx
mov dword [ebp - 0x38], eax
xor eax, eax
test ecx, ecx
je 0x1278ffb
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 0x1278fd6
xor edx, edx
div ecx
mov eax, dword [ebp - 0x14]
add eax, edx
push eax
push dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x40]
mov eax, 0x17e4003b
mov eax, dword [ebp - 0x44]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0xd], 0
mov eax, 0x311f3bd
mov eax, dword [ebp - 0x74]
mov ecx, dword [0x13ca1e8]
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
and eax, edi
and ebx, edi
mov edi, 0xfffff000
mov dword [ebp - 0x18], eax
add esp, 0x10
add ebx, esi
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x3c], eax
jne 0x12790d7
xor edi, edi
cmp dword [ebp - 0x18], edi
jbe 0x12792f3
mov ecx, 0x7fffffff
mov esi, 0x2a318641
mov edx, esi
movzx eax, byte [edi + ebx]
add eax, esi
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
imul eax, eax, 0x2a318641
ror eax, 0x10
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
imul eax, eax, 0x2a318641
ror eax, 0x10
add dword [ebp - 0x28], eax
inc edi
cmp edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
jb 0x127906e
jmp 0x12792f3
mov eax, dword [0x109dc84]
imul eax, dword [ebp - 0x38]
lea eax, [eax + section..data]
mov dword [ebp - 0x14], eax
jmp 0x1278f13
mov dword [ebp - 0x14], eax
jmp 0x1278f58
mov ecx, ebx
mov eax, dword [ebp - 0x18]
mov edx, dword [0x100003c]
lea edx, [edx + 0x10000a0]
add eax, ebx
mov dword [ebp - 0x34], eax
mov eax, dword [edx]
add eax, esi
sub ecx, esi
mov esi, ecx
mov edx, dword [edx + 4]
mov dword [ebp - 0x20], edx
mov edx, ecx
and esi, edi
sub edx, esi
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x18]
add ecx, edx
mov edx, ecx
and edx, edi
mov edi, eax
sub ecx, edx
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x64], edx
add ecx, eax
mov dword [ebp - 0x5c], ecx
cmp eax, ecx
je 0x127912e
cmp dword [edi], esi
jae 0x127912e
add edi, dword [edi + 4]
cmp edi, ecx
jne 0x1279123
and dword [ebp - 0x54], 0
cmp edi, ecx
je 0x127915f
cmp dword [edi], esi
jne 0x127915f
mov eax, dword [edi + 4]
sub eax, 8
shr eax, 1
je 0x127915f
mov ecx, dword [ebp - 0x54]
movzx ecx, word [edi + ecx*2 + 8]
and ecx, 0xfff
cmp ecx, dword [ebp - 0x48]
jae 0x127915f
inc dword [ebp - 0x54]
cmp dword [ebp - 0x54], eax
jne 0x1279144
mov ecx, 0x7fffffff
mov esi, 0x2a318641
cmp edi, dword [ebp - 0x5c]
je 0x12792a2
cmp dword [edi], edx
ja 0x12792a2
mov eax, dword [edi + 4]
lea edx, [eax - 8]
mov eax, dword [ebp - 0x54]
shr edx, 1
cmp eax, edx
jne 0x12791a6
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x5c]
je 0x12792a2
mov eax, dword [ebp - 0x64]
cmp dword [edi], eax
ja 0x12792a2
and dword [ebp - 0x54], 0
jmp 0x127917a
mov edx, dword [ebp - 0x64]
cmp dword [edi], edx
jne 0x12791c3
movzx eax, word [edi + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x60]
jae 0x12792a2
mov eax, dword [ebp - 0x54]
inc dword [ebp - 0x54]
test word [edi + eax*2 + 8], 0xf000
mov dword [ebp - 0x20], eax
je 0x1279169
mov edx, dword [edi]
movzx eax, word [edi + eax*2 + 8]
and dword [ebp - 0x18], 0
and eax, 0xfff
lea eax, [eax + edx + 0x1000000]
mov dword [ebp - 0x2c], eax
sub dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], eax
je 0x1279241
mov eax, dword [ebp - 0x18]
mov edx, esi
movzx eax, byte [eax + ebx]
add eax, esi
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
imul eax, eax, 0x2a318641
ror eax, 0x10
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
imul eax, eax, 0x2a318641
ror eax, 0x10
add dword [ebp - 0x28], eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x2c]
jb 0x12791f4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x70], eax
xor ebx, ebx
mov edx, esi
movzx eax, byte [ebp + ebx - 0x70]
add eax, esi
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
imul eax, eax, 0x2a318641
ror eax, 0x10
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
imul eax, eax, 0x2a318641
ror eax, 0x10
add dword [ebp - 0x28], eax
inc ebx
mov dword [ebp - 0x24], eax
cmp ebx, 4
jb 0x127924e
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x64]
add ebx, 4
jmp 0x1279169
xor edi, edi
mov eax, dword [ebp - 0x34]
sub eax, ebx
mov dword [ebp - 0x20], eax
je 0x12792f3
mov edx, esi
movzx eax, byte [edi + ebx]
add eax, esi
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
imul eax, eax, 0x2a318641
ror eax, 0x10
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
imul eax, eax, 0x2a318641
ror eax, 0x10
add dword [ebp - 0x28], eax
inc edi
cmp edi, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
jb 0x12792ae
xor esi, esi
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 0x12792f7
mov eax, 0xaba798e2
mov edx, dword [ebp - 0x38]
and edx, 7
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], edx
je 0x12794ce
cmp edx, esi
not eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], esi
jle 0x1279365
push 0x38
pop esi
movzx ebx, byte [edi]
cmp dword [ebp - 0x14], 4
jge 0x1279352
lea ecx, [esi - 0x20]
shl ebx, cl
or dword [ebp - 0x2c], ebx
jmp 0x1279359
mov ecx, esi
shl ebx, cl
or dword [ebp - 0x18], ebx
inc edi
inc dword [ebp - 0x14]
sub esi, 8
cmp dword [ebp - 0x14], edx
jl 0x127933f
movzx esi, word [ebp - 6]
movzx edx, word [ebp - 0xc]
movzx ecx, word [ebp - 0xa]
ror eax, 9
sub eax, edx
imul eax, ecx
movzx ecx, word [ebp - 8]
xor eax, dword [ebp - 0x40]
mov ebx, eax
xor ecx, eax
imul ecx, esi
ror ebx, 1
xor ebx, ecx
movzx esi, word [ebp - 8]
xor dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x1c]
ror ecx, 0xd
imul esi, ecx
rol ebx, 0xf
sub esi, ebx
xor eax, esi
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
xor esi, dword [ebp - 0x1c]
xor esi, eax
mov ecx, esi
mov ebx, esi
sub ecx, dword [ebp - 8]
ror ecx, 1
imul edx, ecx
ror ebx, 9
mov ecx, dword [ebp - 0xc]
xor ebx, edx
xor eax, ebx
mov ebx, ecx
mov edx, dword [ebp - 8]
xor edx, eax
sub ebx, edx
movzx edx, word [ebp - 8]
xor esi, ebx
mov ebx, esi
xor ecx, esi
rol ecx, 2
imul edx, ecx
rol ebx, 5
mov ecx, dword [ebp - 0x14]
sub edx, ebx
xor eax, edx
movzx edx, word [ebp - 0xa]
xor ecx, eax
mov ebx, edx
rol ecx, 1
imul ebx, ecx
mov ecx, eax
shr ecx, 6
add ebx, ecx
xor esi, ebx
movzx ecx, word [ebp - 8]
mov ebx, esi
not ebx
ror ebx, 0xa
add ebx, dword [ebp - 0x14]
imul ebx, ecx
movzx ecx, word [ebp - 6]
xor eax, ebx
mov ebx, eax
sub ebx, ecx
movzx ecx, word [ebp - 8]
xor ebx, dword [ebp - 0xc]
xor esi, ebx
mov ebx, esi
xor edx, esi
imul edx, ecx
movzx ecx, word [ebp - 0xa]
ror ebx, 0xa
add ebx, edx
xor eax, ebx
mov edx, eax
sub edx, ecx
mov ecx, dword [ebp - 0x14]
sub edx, dword [ebp - 8]
and dword [ebp - 0x14], 0
xor esi, edx
mov ebx, esi
mov edx, esi
sub edx, dword [ebp - 8]
xor esi, dword [ebp - 0x18]
ror edx, 0xd
imul ecx, edx
ror ebx, 9
sub ecx, ebx
mov ebx, dword [ebp - 0x3c]
xor ecx, dword [ebp - 0x2c]
xor eax, ecx
mov ecx, esi
test ebx, ebx
mov dword [ebp - 0x1c], eax
jle 0x12794a4
cmp dword [ebp - 0x14], 4
jge 0x127948b
rol dword [ebp - 0x1c], 8
mov dl, byte [ebp - 0x1c]
mov ebx, dword [ebp - 0x34]
inc dword [ebp - 0x34]
xor byte [ebp - 0xd], dl
mov byte [ebx], dl
jmp 0x1279499
mov edx, dword [ebp - 0x34]
inc dword [ebp - 0x34]
rol ecx, 8
xor byte [ebp - 0xd], cl
mov byte [edx], cl
inc dword [ebp - 0x14]
mov ebx, dword [ebp - 0x3c]
cmp dword [ebp - 0x14], ebx
jl 0x1279471
add ebx, 0xfffffffc
test ebx, ebx
jle 0x12794bb
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr esi, cl
shl esi, cl
mov edx, esi
jmp 0x12794da
xor edx, edx
test ebx, ebx
jge 0x12794da
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x12794da
xor edx, edx
mov dword [ebp - 0x2c], eax
not eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x38]
shr ecx, 3
je 0x1279691
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x4c], esi
movzx esi, word [ebp - 6]
mov dword [ebp - 0x3c], esi
movzx esi, word [ebp - 0xa]
mov dword [ebp - 0x14], esi
movzx ecx, byte [edi + 1]
mov ch, byte [edi]
movzx esi, byte [edi + 2]
add edi, 8
shl ecx, 8
or ecx, esi
shl ecx, 8
movzx esi, byte [edi - 5]
or ecx, esi
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov ch, byte [edi - 4]
mov cl, byte [edi - 3]
shl ecx, 8
movzx esi, byte [edi - 2]
or ecx, esi
shl ecx, 8
movzx esi, byte [edi - 1]
or ecx, esi
mov dword [ebp - 0x48], ecx
xor edx, ecx
movzx ecx, word [ebp - 0xc]
mov esi, edx
ror esi, 9
sub esi, ecx
imul esi, dword [ebp - 0x14]
movzx ecx, word [ebp - 8]
xor esi, dword [ebp - 0x1c]
xor eax, esi
xor ecx, eax
mov esi, eax
imul ecx, dword [ebp - 0x3c]
ror esi, 1
xor esi, ecx
mov ecx, dword [ebp - 0xc]
xor edx, esi
sub ecx, edx
mov ebx, edx
movzx esi, word [ebp - 8]
ror ecx, 0xd
imul esi, ecx
mov ecx, dword [ebp - 0x4c]
xor ecx, edx
rol ebx, 0xf
sub esi, ebx
xor eax, esi
movzx esi, word [ebp - 0xc]
xor ecx, eax
mov edx, ecx
mov ebx, edx
sub ecx, dword [ebp - 8]
ror ecx, 1
imul esi, ecx
ror ebx, 9
mov ecx, dword [ebp - 0xc]
xor ebx, esi
mov esi, dword [ebp - 8]
xor eax, ebx
mov ebx, ecx
xor esi, eax
sub ebx, esi
movzx esi, word [ebp - 8]
xor edx, ebx
mov ebx, edx
xor ecx, edx
rol ecx, 2
imul esi, ecx
rol ebx, 5
sub esi, ebx
xor eax, esi
mov ebx, dword [ebp - 0x14]
movzx esi, word [ebp - 0xc]
mov ecx, esi
xor ecx, eax
rol ecx, 1
imul ebx, ecx
mov ecx, eax
shr ecx, 6
add ebx, ecx
xor edx, ebx
movzx ecx, word [ebp - 8]
mov ebx, edx
not ebx
ror ebx, 0xa
add ebx, esi
imul ebx, ecx
xor eax, ebx
mov ebx, dword [ebp - 0x14]
mov esi, eax
sub esi, dword [ebp - 0x3c]
xor esi, dword [ebp - 0xc]
xor edx, esi
mov esi, edx
xor ebx, edx
imul ebx, ecx
ror esi, 0xa
add esi, ebx
xor eax, esi
mov ecx, eax
sub ecx, dword [ebp - 0x14]
movzx esi, word [ebp - 0xc]
sub ecx, dword [ebp - 8]
xor edx, ecx
mov ebx, edx
mov ecx, edx
sub ecx, dword [ebp - 8]
xor edx, dword [ebp - 0x18]
ror ecx, 0xd
imul esi, ecx
mov cl, byte [ebp - 0xd]
ror ebx, 9
sub esi, ebx
xor esi, dword [ebp - 0x2c]
xor eax, esi
mov esi, dword [ebp - 0x34]
xor cl, al
mov byte [esi + 3], al
mov byte [esi + 7], dl
xor cl, dl
ror eax, 8
mov byte [esi + 2], al
xor cl, al
ror edx, 8
mov byte [esi + 6], dl
xor cl, 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 ebx, dword [ebp - 0x1c]
mov byte [esi], al
mov byte [esi + 4], dl
mov dword [ebp - 0x2c], ebx
add esi, 8
mov ebx, dword [ebp - 0x48]
dec dword [ebp - 0x20]
mov byte [ebp - 0xd], cl
ror eax, 8
mov dword [ebp - 0x18], ebx
ror edx, 8
mov dword [ebp - 0x34], esi
jne 0x1279500
jmp 0x1279694
mov cl, byte [ebp - 0xd]
mov eax, dword [ebp - 0x44]
cmp cl, byte [eax + 8]
je 0x127972a
call fcn.012a18fc
mov edx, 0xffff
mov ecx, dword [ebp - 0x50]
and ecx, 0xfffffffc
mov edi, ecx
mov esi, eax
mov eax, 0xfffff000
lea ecx, [edi + 0xfff]
and esi, eax
and ecx, eax
mov eax, dword [ebp - 0x6c]
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 0x12796cf
xor edx, edx
mov ebx, 0xffff
div ebx
mov eax, edi
inc edx
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x4c], 0
cmp edi, ecx
jae 0x1279720
mov edx, dword [ebp - 0x4c]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jb 0x1279714
mov eax, 0x103a6aa
jmp 0x12797fb
mov edx, dword [0x13ca1e8]
mov ecx, 0x1000000
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
sub ecx, edx
mov dword [ebp - 0x50], ecx
jne 0x127974d
test eax, eax
je 0x12797ee
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x1236cc0]
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x30]
sub esi, dword [ebp - 0x68]
add eax, ebx
mov dword [ebp - 0x4c], eax
xor edi, edi
dec ecx
js 0x1279790
lea eax, [edi + ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x1236cc4]
and edx, 0xfffffff
cmp ebx, edx
jae 0x1279787
lea ecx, [eax - 1]
jmp 0x127978c
jbe 0x1279794
lea edi, [eax + 1]
cmp ecx, edi
jge 0x1279769
mov ebx, edi
jmp 0x12797e6
mov ebx, eax
jmp 0x12797e6
mov eax, dword [ebx*4 + 0x1236cc4]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x4c]
jae 0x12797ee
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 0x12797d9
dec ecx
je 0x12797d4
dec ecx
jne 0x12797df
mov edx, dword [ebp - 0x50]
jmp 0x12797df
mov edx, dword [ebp - 0x20]
jmp 0x12797df
mov edx, dword [ebp - 0x50]
sub edx, dword [ebp - 0x20]
dec eax
dec eax
jne 0x12797e5
add dword [edi], edx
inc ebx
cmp ebx, dword [0x1236cc0]
jb 0x1279798
mov eax, dword [0x109dc84]
mov eax, 0x2700bf93
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x90]
mov esi, dword [ebp - 0x88]
mov esp, ebp
pop ebp
popfd
ret