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

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x7c], edi
mov edi, dword [eax + 4]
mov ebx, 0xfffffff
sub eax, 4
mov esi, dword [0x1116588]
mov dword [ebp - 0x64], eax
mov eax, dword [edi + 4]
and eax, ebx
lea ecx, [esi + eax - 1]
mov eax, ecx
xor edx, edx
div esi
sub ecx, edx
mov eax, dword [0x1116588]
mov dword [ebp - 0x48], ecx
mov eax, dword [0x1011bb0]
mov dword [ebp - 0x44], eax
mov eax, dword [0x1116588]
mov eax, dword [0x1011bb0]
test eax, eax
je 0x1221925
and dword [ebp - 0x28], 0
mov eax, dword [0x1011bb0]
dec eax
lea ecx, [eax + 1]
xor eax, eax
test ecx, ecx
mov edx, ecx
je 0x12218dd
mov esi, dword [0x12d47a4]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov dword [0x12d47a4], esi
shr esi, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, esi
test edx, edx
jne 0x12218b6
xor edx, edx
div ecx
cmp dword [ebp - 0x44], 0
jbe 0x122191f
lea esi, [edx*4 + 0x12d4c14]
mov ecx, 0xffff349a
mov eax, 0xcb65
inc dword [ebp - 0x28]
lock cmpxchg dword [esi], ecx
cmp eax, 0xcb65
je 0x1221ac8
lea eax, [edx + 1]
mov ecx, dword [0x1011bb0]
xor edx, edx
div ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x44]
jb 0x12218e7
xor esi, esi
test esi, esi
jne 0x122199e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov dword [ebp - 0x24], eax
inc esi
push 0x40
push 0x1000
push dword [ebp - 0x48]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1221adc
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x11
jb 0x1221930
xor esi, esi
cmp dword [0x12ef80c], esi
ja 0x1221969
test esi, 3
je 0x122197d
test esi, esi
je 0x122197b
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x1221887
mov ecx, dword [ebp - 0x48]
mov eax, esi
test ecx, ecx
je 0x122199e
mov byte [eax], 0
inc eax
dec ecx
jne 0x1221997
mov eax, 0x3e173288
mov ecx, dword [edi + 4]
mov eax, dword [edi]
and eax, 7
and ecx, ebx
lea eax, [edi + eax + 8]
lea edi, [eax + ecx]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], eax
mov ebx, 0x1000000
mov eax, dword [0x1116588]
sub eax, ecx
sub dword [ebp - 0x38], ebx
lea edx, [eax + 1]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x4c], edi
xor eax, eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
test edx, edx
je 0x1221a08
mov edx, dword [0x12d47a4]
shr dword [ebp - 0x28], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x12d47a4], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0x28], 0
jne 0x12219de
xor edx, edx
div dword [ebp - 0x24]
lea eax, [edx + esi]
push eax
push ecx
push dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, 0x851e3684
mov esi, dword [edi]
lea eax, [ebp - 0x74]
mov edi, dword [edi + 4]
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], edi
mov byte [ebp - 0xd], 0
mov eax, 0xb96f0979
and dword [ebp - 0x20], 0
mov eax, 0xfffffff
and dword [ebp - 0x1c], 0
and edi, eax
and esi, eax
mov eax, dword [0x11e47bc]
add esi, ebx
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], ebx
mov edi, esi
jne 0x1221ae3
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
jbe 0x1221d26
mov esi, 0x6004f7c8
mov ecx, 0x7fffffff
movzx eax, byte [ebx + edi]
sub eax, esi
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
imul eax, eax, 0x9ffb0838
ror eax, 1
mov edx, eax
imul eax, eax, 0x6581
rol eax, 8
ror edx, 8
xor eax, edx
mov edx, 0x9ffb0838
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 - 0x20], eax
inc ebx
mov dword [ebp - 0x1c], eax
cmp ebx, dword [ebp - 0x14]
jb 0x1221a75
jmp 0x1221d26
mov esi, dword [0x1116588]
imul esi, edx
lea esi, [esi + section..data]
jmp 0x1221921
mov esi, eax
jmp 0x1221959
mov eax, dword [ebp - 0x14]
add eax, edi
mov edx, dword [0x100003c]
lea edx, [edx + 0x10000a0]
mov dword [ebp - 0x34], eax
mov esi, 0x1000000
mov ebx, 0xfffff000
mov ecx, edi
mov eax, dword [edx]
mov edx, dword [edx + 4]
add eax, esi
sub ecx, esi
mov dword [ebp - 0x24], edx
mov esi, ecx
and esi, ebx
mov edx, ecx
sub edx, esi
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x14]
add ecx, edx
mov edx, ecx
and edx, ebx
mov ebx, eax
sub ecx, edx
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x24]
add ecx, eax
mov dword [ebp - 0x60], edx
cmp eax, ecx
mov dword [ebp - 0x58], ecx
je 0x1221b44
cmp dword [ebx], esi
jae 0x1221b44
add ebx, dword [ebx + 4]
cmp ebx, ecx
jne 0x1221b39
and dword [ebp - 0x50], 0
cmp ebx, ecx
je 0x1221b74
cmp dword [ebx], esi
jne 0x1221b74
mov ecx, dword [ebx + 4]
sub ecx, 8
shr ecx, 1
je 0x1221b74
lea esi, [ebx + 8]
movzx eax, word [esi]
and eax, 0xfff
cmp eax, dword [ebp - 0x40]
jae 0x1221b74
inc dword [ebp - 0x50]
inc esi
inc esi
cmp dword [ebp - 0x50], ecx
jne 0x1221b5d
mov ecx, 0x7fffffff
mov esi, 0x6004f7c8
jmp 0x1221b83
mov edx, dword [ebp - 0x60]
cmp ebx, dword [ebp - 0x58]
je 0x1221ccc
cmp dword [ebx], edx
ja 0x1221ccc
mov eax, dword [ebx + 4]
add eax, 0xfffffff8
shr eax, 1
cmp dword [ebp - 0x50], eax
jne 0x1221bbe
add ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x58]
je 0x1221ccc
mov eax, dword [ebp - 0x60]
cmp dword [ebx], eax
ja 0x1221ccc
and dword [ebp - 0x50], 0
jmp 0x1221b94
mov eax, dword [ebp - 0x60]
cmp dword [ebx], eax
jne 0x1221bdb
mov eax, dword [ebp - 0x50]
movzx eax, word [ebx + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x5c]
jae 0x1221ccc
mov eax, 0xf000
mov edx, dword [ebp - 0x50]
inc dword [ebp - 0x50]
test word [ebx + edx*2 + 8], ax
je 0x1221b80
movzx eax, word [ebx + edx*2 + 8]
mov edx, dword [ebx]
and dword [ebp - 0x14], 0
and eax, 0xfff
lea eax, [eax + edx + 0x1000000]
mov dword [ebp - 0x30], eax
sub dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], eax
je 0x1221c68
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + edi]
sub eax, esi
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
imul eax, eax, 0x9ffb0838
ror eax, 1
mov edx, eax
imul eax, eax, 0x6581
rol eax, 8
ror edx, 8
xor eax, edx
mov edx, 0x9ffb0838
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 - 0x20], eax
inc dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x30]
jb 0x1221c0f
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
sub eax, dword [ebp - 0x2c]
xor edi, edi
mov dword [ebp - 0x68], eax
movzx eax, byte [ebp + edi - 0x68]
sub eax, esi
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
imul eax, eax, 0x9ffb0838
ror eax, 1
mov edx, eax
imul eax, eax, 0x6581
rol eax, 8
ror edx, 8
xor eax, edx
mov edx, 0x9ffb0838
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 - 0x20], eax
mov dword [ebp - 0x1c], eax
inc edi
cmp edi, 4
jb 0x1221c72
mov edi, dword [ebp - 0x3c]
add edi, 4
jmp 0x1221b80
xor ebx, ebx
mov eax, dword [ebp - 0x34]
sub eax, edi
mov dword [ebp - 0x24], eax
je 0x1221d26
movzx eax, byte [ebx + edi]
sub eax, esi
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
imul eax, eax, 0x9ffb0838
ror eax, 1
mov edx, eax
imul eax, eax, 0x6581
rol eax, 8
ror edx, 8
xor eax, edx
mov edx, 0x9ffb0838
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 - 0x20], eax
inc ebx
mov dword [ebp - 0x1c], eax
cmp ebx, dword [ebp - 0x24]
jb 0x1221cd8
xor ebx, ebx
xor eax, eax
mov ecx, eax
and ecx, 7
mov cl, byte [ebp + ecx - 0x20]
mov byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 8
jb 0x1221d2a
mov eax, 0x9bca43d3
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
and eax, 7
mov dword [ebp - 0x3c], eax
je 0x1221efb
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x14], ebx
not edi
mov dword [ebp - 0x30], ebx
cmp eax, ebx
mov dword [ebp - 0x18], ebx
jle 0x1221d95
push 0x38
pop edx
cmp dword [ebp - 0x18], 4
movzx ebx, byte [esi]
jge 0x1221d82
lea ecx, [edx - 0x20]
shl ebx, cl
or dword [ebp - 0x30], ebx
jmp 0x1221d89
mov ecx, edx
shl ebx, cl
or dword [ebp - 0x14], ebx
inc esi
inc dword [ebp - 0x18]
sub edx, 8
cmp dword [ebp - 0x18], eax
jl 0x1221d6f
movzx ecx, word [ebp - 6]
movzx ebx, word [ebp - 8]
mov edx, dword [ebp - 0x38]
mov eax, ebx
xor eax, dword [ebp - 0x38]
rol eax, 6
imul ecx, eax
rol edx, 7
xor edx, ecx
xor edi, edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ebx
mov ecx, dword [ebp - 8]
sub edx, edi
mov eax, edi
rol edx, 1
imul ebx, edx
ror eax, 3
add eax, ebx
movzx edx, word [ebp - 0xa]
xor eax, dword [ebp - 0x38]
add ecx, eax
mov ebx, eax
ror ecx, 2
imul ecx, edx
movzx edx, word [ebp - 0xc]
rol ebx, 0xe
sub ecx, ebx
xor edi, ecx
mov ecx, edi
sub ecx, edx
xor ecx, dword [ebp - 8]
xor eax, ecx
movzx ecx, word [ebp - 6]
mov ebx, eax
not ebx
ror ebx, 0xa
add ebx, ecx
imul ebx, edx
xor edi, ebx
xor ecx, edi
imul ecx, dword [ebp - 0x2c]
mov edx, edi
ror edx, 8
xor edx, ecx
xor eax, edx
mov ecx, eax
movzx edx, word [ebp - 0xc]
mov ebx, eax
xor ecx, edx
rol ecx, 6
movzx edx, word [ebp - 0xa]
imul ecx, edx
ror ebx, 3
add ebx, ecx
movzx ecx, word [ebp - 0xc]
xor edi, ebx
mov ebx, dword [ebp - 0x2c]
xor ebx, edi
imul ebx, ecx
mov edx, edi
ror edx, 0xb
movzx ecx, word [ebp - 6]
sub ebx, edx
xor eax, ebx
mov edx, eax
ror edx, 0xc
sub edx, ecx
mov ecx, dword [ebp - 0x2c]
imul edx, ecx
xor edi, edx
mov edx, dword [ebp - 0xc]
mov ebx, edi
xor edx, edi
rol edx, 6
imul ecx, edx
rol ebx, 3
xor ebx, ecx
movzx edx, word [ebp - 0xa]
mov ecx, dword [ebp - 8]
xor eax, ebx
mov ebx, dword [ebp - 0x3c]
xor ecx, eax
rol ecx, 3
imul ecx, edx
and dword [ebp - 0x18], 0
mov edx, eax
shr edx, 0xa
sub ecx, edx
xor edi, ecx
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x30]
xor ecx, edi
xor edi, dword [ebp - 0x14]
xor eax, ecx
mov ecx, edi
test ebx, ebx
mov dword [ebp - 0x2c], eax
jle 0x1221ed1
cmp dword [ebp - 0x18], 4
jge 0x1221eb8
rol dword [ebp - 0x2c], 8
mov ebx, dword [ebp - 0x34]
mov dl, byte [ebp - 0x2c]
inc dword [ebp - 0x34]
xor byte [ebp - 0xd], dl
mov byte [ebx], dl
jmp 0x1221ec6
mov edx, dword [ebp - 0x34]
inc dword [ebp - 0x34]
rol ecx, 8
xor byte [ebp - 0xd], cl
mov byte [edx], cl
inc dword [ebp - 0x18]
mov ebx, dword [ebp - 0x3c]
cmp dword [ebp - 0x18], ebx
jl 0x1221e9e
add ebx, 0xfffffffc
test ebx, ebx
jle 0x1221ee8
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr edi, cl
shl edi, cl
mov edx, edi
jmp 0x1221f0a
xor edx, edx
test ebx, ebx
jge 0x1221f0a
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x1221f0a
xor edx, edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
not eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
shr ecx, 3
test ecx, ecx
jbe 0x12220d0
movzx edi, word [ebp - 6]
mov dword [ebp - 0x18], edi
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x6c], edi
movzx edi, byte [esi + 1]
movzx ebx, byte [esi + 5]
movzx ecx, byte [esi]
shl ecx, 8
or ecx, edi
movzx edi, byte [esi + 2]
shl ecx, 8
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]
shl edi, 8
or edi, ebx
movzx ebx, byte [esi + 7]
xor eax, ecx
shl edi, 8
or edi, ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
movzx ecx, word [ebp - 8]
xor ecx, eax
add esi, 8
mov dword [ebp - 0x40], edi
rol ecx, 6
imul ebx, ecx
mov edi, eax
rol edi, 7
xor edi, ebx
xor edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
xor edx, edi
sub ecx, edx
movzx edi, word [ebp - 8]
mov ebx, edx
rol ecx, 1
imul edi, ecx
mov ecx, dword [ebp - 8]
ror ebx, 3
add ebx, edi
xor eax, ebx
mov ebx, dword [ebp - 0x18]
add ecx, eax
ror ecx, 2
mov edi, eax
imul ecx, dword [ebp - 0x3c]
rol edi, 0xe
sub ecx, edi
xor edx, ecx
movzx ecx, word [ebp - 0xc]
mov edi, edx
sub edi, ecx
xor edi, dword [ebp - 8]
xor eax, edi
mov edi, eax
not edi
ror edi, 0xa
add edi, dword [ebp - 0x18]
imul edi, ecx
movzx ecx, word [ebp - 8]
xor edx, edi
xor ebx, edx
imul ebx, ecx
mov edi, edx
ror edi, 8
xor edi, ebx
xor eax, edi
mov ecx, eax
movzx edi, word [ebp - 0xc]
xor ecx, edi
rol ecx, 6
imul ecx, dword [ebp - 0x3c]
mov edi, eax
ror edi, 3
add edi, ecx
movzx ecx, word [ebp - 8]
xor edx, edi
mov edi, edx
mov ebx, ecx
ror edi, 0xb
xor ebx, edx
movzx ecx, word [ebp - 0xc]
imul ebx, ecx
sub ebx, edi
movzx edi, word [ebp - 8]
xor eax, ebx
mov ecx, eax
ror ecx, 0xc
sub ecx, dword [ebp - 0x18]
imul ecx, edi
xor edx, ecx
mov ebx, edx
mov ecx, dword [ebp - 0xc]
xor ecx, edx
rol ecx, 6
imul edi, ecx
mov ecx, dword [ebp - 8]
rol ebx, 3
xor ebx, edi
xor eax, ebx
mov edi, eax
xor ecx, eax
rol ecx, 3
imul ecx, dword [ebp - 0x3c]
shr edi, 0xa
sub ecx, edi
mov edi, dword [ebp - 0x34]
xor edx, ecx
mov ecx, dword [ebp - 0x30]
xor ecx, edx
xor edx, dword [ebp - 0x14]
xor ecx, eax
xor ecx, dword [ebp - 0x6c]
mov byte [edi + 7], dl
mov eax, ecx
mov cl, byte [ebp - 0xd]
mov byte [edi + 3], al
xor cl, al
xor cl, dl
ror eax, 8
mov byte [edi + 2], al
xor cl, al
ror edx, 8
mov byte [edi + 6], dl
xor cl, dl
ror eax, 8
xor cl, al
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 - 0x2c]
mov byte [edi], al
mov byte [edi + 4], dl
add edi, 8
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x40]
dec dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x34], edi
ror eax, 8
ror edx, 8
jne 0x1221f32
movzx ecx, byte [ebp - 0xd]
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 8]
sub ecx, eax
je 0x1222168
call fcn.01244f80
mov edx, 0xfffff000
mov edi, eax
mov eax, dword [ebp - 0x64]
mov dword [eax + 8], 0x10d8814
lea ecx, [eax + 0xc]
and ecx, 0xfffffffc
lea esi, [ecx + 0xfff]
and edi, edx
and esi, edx
mov edx, 0xffff
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 0x1222110
mov ebx, 0xffff
div ebx
mov dword [ebp - 0x80], edi
mov eax, ecx
inc edx
cmp ecx, esi
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x4c], 0
jae 0x122215e
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
add eax, 4
cmp eax, esi
jb 0x1222152
mov eax, 0x10d8814
jmp 0x1222239
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x28]
mov ecx, 0x1000000
mov edx, dword [0x11e47bc]
sub ecx, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], ecx
jne 0x122218b
test eax, eax
je 0x122222c
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x28]
sub esi, dword [ebp - 0x48]
mov ecx, dword [0x11efd70]
add eax, ebx
mov dword [ebp - 0x4c], eax
xor edi, edi
dec ecx
js 0x12221ce
lea eax, [edi + ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x11efd74]
and edx, 0xfffffff
cmp ebx, edx
jae 0x12221c5
lea ecx, [eax - 1]
jmp 0x12221ca
jbe 0x12221d2
lea edi, [eax + 1]
cmp ecx, edi
jge 0x12221a7
mov ebx, edi
jmp 0x1222224
mov ebx, eax
jmp 0x1222224
mov eax, dword [ebx*4 + 0x11efd74]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x4c]
jae 0x122222c
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 0x1222217
dec ecx
je 0x1222212
dec ecx
jne 0x122221d
mov edx, dword [ebp - 0x24]
jmp 0x122221d
mov edx, dword [ebp - 0x40]
jmp 0x122221d
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x40]
dec eax
dec eax
jne 0x1222223
add dword [edi], edx
inc ebx
cmp ebx, dword [0x11efd70]
jb 0x12221d6
mov eax, dword [0x1116588]
mov eax, 0xeced741d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 8], eax
mov esi, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x88]
mov edi, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x80]
mov esp, ebp
pop ebp
popfd
ret