Function at 0x1347fe2
Capabilities:
Allocate or change rwx memory
Encode data using xor
Encrypt data using chaskey

Disassembly:
push edi
pushfd
push ebp
mov ebp, esp
sub esp, 0x90
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], edx
mov ecx, 0xfffffff
sub eax, 4
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x68], eax
lea edi, [eax + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
and eax, ecx
and esi, ecx
xor edx, edx
mov ecx, dword [0x10fb370]
mov dword [ebp - 0x38], ecx
lea ecx, [ecx + eax - 1]
mov eax, ecx
div dword [ebp - 0x38]
mov eax, dword [0x10fb370]
mov ebx, 0x1000000
add esi, ebx
mov dword [ebp - 0x48], edi
sub ecx, edx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x20], ecx
mov eax, dword [0x1007420]
mov dword [ebp - 0x18], eax
mov eax, dword [0x10fb370]
mov eax, dword [0x1007420]
test eax, eax
je 0x1348104
and dword [ebp - 0x3c], 0
mov eax, dword [0x1007420]
dec eax
lea ecx, [eax + 1]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x1c], ecx
je 0x13480ad
mov edx, dword [0x138b4cc]
shr dword [ebp - 0x1c], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x138b4cc], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0x1c], 0
jne 0x1348083
xor edx, edx
div ecx
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], edx
jbe 0x13480f6
mov eax, 0xef0b
mov ecx, 0xffff10f4
lea edx, [edx*4 + 0x1388f9c]
inc dword [ebp - 0x3c]
lock cmpxchg dword [edx], ecx
cmp eax, 0xef0b
je 0x1348292
mov eax, dword [ebp - 0x1c]
inc eax
xor edx, edx
mov ecx, dword [0x1007420]
div ecx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], edx
cmp eax, dword [ebp - 0x18]
jb 0x13480ba
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x134818a
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x38], eax
inc dword [ebp - 0x1c]
push 0x40
push 0x1000
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x13482a9
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x1c], 0x11
jb 0x1348111
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp dword [0x138b2f8], eax
ja 0x134814e
test al, 3
je 0x1348166
test eax, eax
je 0x1348162
push 0x8000
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
and dword [ebp - 0x10], 0
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x10], 0
je 0x1348053
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x134818a
mov byte [eax], 0
inc eax
dec ecx
jne 0x1348183
mov eax, 0xc24eb313
add dword [edi], 8
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
and eax, 0xfffffff
lea ecx, [eax + esi]
mov dword [ebp - 0x38], ecx
mov ecx, dword [0x10fb370]
mov dword [ebp - 0x40], esi
sub ecx, eax
sub dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
inc ecx
mov edx, ecx
xor eax, eax
test ecx, ecx
je 0x13481e3
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 0x13481bc
xor edx, edx
div ecx
mov eax, dword [ebp - 0x10]
add eax, edx
push eax
push dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x40]
mov eax, 0xee4f01c
mov eax, dword [ebp - 0x38]
mov edi, dword [eax + 4]
mov esi, dword [eax]
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], edi
mov byte [ebp - 0x11], 0
mov eax, 0x41acc133
mov ecx, dword [0x102c94c]
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
mov eax, 0xfffffff
and edi, eax
and esi, eax
mov eax, ebx
add esp, 0x10
mov dword [ebp - 0x30], edi
add esi, ebx
sub eax, ecx
mov dword [ebp - 0x34], eax
jne 0x13482b1
and dword [ebp - 0x18], 0
test edi, edi
jbe 0x13484ac
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + esi]
sub eax, 0x545ab29a
mov edx, 0xaba54d66
add dword [ebp - 0x2c], eax
add eax, dword [ebp - 0x28]
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
cmp dword [ebp - 0x18], edi
jb 0x134824f
jmp 0x13484ac
mov eax, dword [0x10fb370]
imul eax, dword [ebp - 0x1c]
lea eax, [eax + section..data]
mov dword [ebp - 0x10], eax
jmp 0x13480fa
mov dword [ebp - 0x10], eax
jmp 0x134813f
lea eax, [edi + esi]
mov ecx, esi
sub ecx, ebx
mov edx, dword [0x100003c]
mov dword [ebp - 0x10], eax
lea edx, [edx + 0x10000a0]
mov edi, ecx
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x4c], edx
mov edx, ecx
and edx, 0xfffff000
sub edi, edx
mov dword [ebp - 0x44], edi
mov edi, dword [ebp - 0x30]
add ecx, edi
mov edi, ecx
and edi, 0xfffff000
sub ecx, edi
add eax, ebx
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x60], edi
mov edi, eax
add ecx, eax
cmp eax, ecx
mov dword [ebp - 0x58], ecx
je 0x134830f
cmp dword [edi], edx
jae 0x134830f
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x58]
jne 0x1348303
and dword [ebp - 0x50], 0
cmp edi, dword [ebp - 0x58]
je 0x1348340
cmp dword [edi], edx
jne 0x1348340
mov ecx, dword [edi + 4]
sub ecx, 8
shr ecx, 1
je 0x1348340
lea edx, [edi + 8]
movzx eax, word [edx]
and eax, 0xfff
cmp eax, dword [ebp - 0x44]
jae 0x1348340
inc dword [ebp - 0x50]
inc edx
inc edx
cmp dword [ebp - 0x50], ecx
jne 0x1348329
mov ecx, 0x7fffffff
cmp edi, dword [ebp - 0x58]
je 0x1348467
mov eax, dword [edi]
cmp eax, dword [ebp - 0x60]
ja 0x1348467
mov eax, dword [edi + 4]
add eax, 0xfffffff8
shr eax, 1
cmp dword [ebp - 0x50], eax
jne 0x1348383
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x58]
je 0x1348467
mov eax, dword [ebp - 0x60]
cmp dword [edi], eax
ja 0x1348467
and dword [ebp - 0x50], 0
jmp 0x1348359
mov eax, dword [ebp - 0x60]
cmp dword [edi], eax
jne 0x13483a0
mov eax, dword [ebp - 0x50]
movzx eax, word [edi + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x5c]
jae 0x1348467
mov eax, 0xf000
mov edx, dword [ebp - 0x50]
inc dword [ebp - 0x50]
test word [edi + edx*2 + 8], ax
je 0x1348345
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 - 0x20], eax
sub dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
je 0x1348418
mov edx, 0xaba54d66
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + esi]
sub eax, 0x545ab29a
add dword [ebp - 0x2c], eax
add eax, dword [ebp - 0x28]
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 - 0x20]
jb 0x13483d4
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x6c], eax
xor esi, esi
movzx eax, byte [ebp + esi - 0x6c]
mov edx, 0xaba54d66
sub eax, 0x545ab29a
add dword [ebp - 0x2c], eax
add eax, dword [ebp - 0x28]
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 esi
cmp esi, 4
jb 0x1348422
mov esi, dword [ebp - 0x24]
add esi, 4
jmp 0x1348345
xor edi, edi
mov eax, dword [ebp - 0x10]
sub eax, esi
mov dword [ebp - 0x30], eax
je 0x13484ac
mov edx, 0xaba54d66
movzx eax, byte [edi + esi]
sub eax, 0x545ab29a
add dword [ebp - 0x2c], eax
add eax, dword [ebp - 0x28]
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 edi
mov dword [ebp - 0x28], eax
cmp edi, dword [ebp - 0x30]
jb 0x1348473
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 0x13484ae
mov eax, 0xf4030b2
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
and eax, 7
mov dword [ebp - 0x44], eax
je 0x13488fa
xor ecx, ecx
cmp eax, ecx
mov edi, dword [ebp - 0x40]
not edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
jle 0x134851b
push 0x38
pop edx
cmp dword [ebp - 0x10], 4
movzx ebx, byte [esi]
jge 0x1348508
lea ecx, [edx - 0x20]
shl ebx, cl
or dword [ebp - 0x20], ebx
jmp 0x134850f
mov ecx, edx
shl ebx, cl
or dword [ebp - 0x18], ebx
inc esi
inc dword [ebp - 0x10]
sub edx, 8
cmp dword [ebp - 0x10], eax
jl 0x13484f5
mov ebx, dword [ebp - 0xc]
movzx ecx, word [ebp - 6]
movzx edx, word [ebp - 8]
mov eax, dword [ebp - 0x40]
sub eax, ecx
xor eax, dword [ebp - 0xc]
xor edi, eax
mov eax, edi
not eax
ror eax, 5
add eax, edx
imul eax, ecx
xor eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 8]
xor edx, eax
sub ebx, edx
xor edi, ebx
mov edx, dword [ebp - 8]
sub edx, edi
movzx ebx, word [ebp - 0xc]
rol edx, 0xe
imul ebx, edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
ror edi, 0xb
add edi, ebx
mov ebx, ecx
xor eax, edi
mov edi, eax
xor edx, eax
rol edx, 7
imul ebx, edx
rol edi, 0xd
xor edi, ebx
mov edx, ecx
xor dword [ebp - 0x10], edi
xor edx, dword [ebp - 0x10]
rol edx, 2
mov edi, dword [ebp - 0x24]
imul edi, edx
mov edx, dword [ebp - 0x10]
shr edx, 0xc
add edi, edx
xor eax, edi
mov edx, eax
sub edx, dword [ebp - 8]
movzx edi, word [ebp - 0xa]
rol edx, 5
imul edi, edx
mov edx, dword [ebp - 0x24]
mov ebx, eax
ror ebx, 0xb
xor ebx, edi
xor dword [ebp - 0x10], ebx
movzx edi, word [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x10]
rol edx, 1
imul edi, edx
mov edx, dword [ebp - 0x24]
rol ebx, 1
sub edi, ebx
xor eax, edi
mov edi, eax
sub edi, edx
mov ebx, eax
imul edi, ecx
shr ebx, 1
sub edi, ebx
xor dword [ebp - 0x10], edi
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x10]
rol edi, 0xe
imul edx, edi
mov edi, dword [ebp - 0x10]
rol ebx, 7
sub edx, ebx
xor eax, edx
mov ebx, eax
ror ebx, 6
movzx edx, word [ebp - 0xa]
sub ebx, edx
movzx edx, word [ebp - 0xc]
imul ebx, ecx
and dword [ebp - 0x10], 0
xor edi, ebx
mov ebx, dword [ebp - 0x44]
xor ecx, edi
imul ecx, edx
mov edx, edi
xor edi, dword [ebp - 0x18]
shr edx, 7
add ecx, edx
xor ecx, dword [ebp - 0x20]
xor eax, ecx
mov dword [ebp - 0x24], eax
test ebx, ebx
mov ecx, edi
jle 0x134865b
cmp dword [ebp - 0x10], 4
jge 0x1348642
rol dword [ebp - 0x24], 8
mov dl, byte [ebp - 0x24]
mov ebx, dword [ebp - 0x34]
inc dword [ebp - 0x34]
xor byte [ebp - 0x11], dl
mov byte [ebx], dl
jmp 0x1348650
mov edx, dword [ebp - 0x34]
inc dword [ebp - 0x34]
rol ecx, 8
xor byte [ebp - 0x11], cl
mov byte [edx], cl
inc dword [ebp - 0x10]
mov ebx, dword [ebp - 0x44]
cmp dword [ebp - 0x10], ebx
jl 0x1348628
add ebx, 0xfffffffc
test ebx, ebx
jle 0x13488e0
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 - 0x3c]
shr ecx, 3
test ecx, ecx
jbe 0x1348844
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x44], edi
movzx edi, word [ebp - 6]
mov dword [ebp - 0x10], edi
movzx edi, word [ebp - 0xc]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x30], 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
movzx ebx, byte [esi + 6]
xor eax, edi
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 7]
shl ecx, 8
or ecx, ebx
mov dword [ebp - 0x24], edi
mov edi, eax
mov dword [ebp - 0x70], ecx
sub edi, dword [ebp - 0x10]
add esi, 8
mov ebx, dword [ebp - 0x4c]
xor edi, dword [ebp - 0xc]
xor edi, ecx
xor edx, edi
mov edi, edx
movzx ecx, word [ebp - 8]
not edi
ror edi, 5
add edi, ecx
mov ecx, dword [ebp - 8]
imul edi, dword [ebp - 0x10]
xor eax, edi
mov edi, dword [ebp - 0xc]
xor ecx, eax
sub edi, ecx
xor edx, edi
mov edi, edx
mov ecx, dword [ebp - 8]
sub ecx, edx
rol ecx, 0xe
imul ebx, ecx
ror edi, 0xb
add edi, ebx
xor eax, edi
mov edi, eax
mov ecx, dword [ebp - 0xc]
xor ecx, eax
mov ebx, dword [ebp - 0x10]
rol ecx, 7
imul ebx, ecx
rol edi, 0xd
mov ecx, dword [ebp - 0x10]
xor edi, ebx
xor edx, edi
mov ebx, dword [ebp - 0x44]
xor ecx, edx
movzx edi, word [ebp - 8]
rol ecx, 2
imul edi, ecx
mov ecx, edx
shr ecx, 0xc
add edi, ecx
xor eax, edi
mov edi, eax
mov ecx, eax
sub ecx, dword [ebp - 8]
rol ecx, 5
imul ebx, ecx
movzx ecx, word [ebp - 8]
ror edi, 0xb
xor edi, ebx
xor edx, edi
mov ebx, edx
xor ecx, edx
movzx edi, word [ebp - 0xc]
rol ecx, 1
imul edi, ecx
rol ebx, 1
sub edi, ebx
xor eax, edi
mov ecx, eax
mov ebx, eax
movzx edi, word [ebp - 8]
sub ecx, edi
imul ecx, dword [ebp - 0x10]
shr ebx, 1
sub ecx, ebx
xor edx, ecx
mov ecx, dword [ebp - 0xc]
mov ebx, edx
sub ecx, edx
rol ecx, 0xe
imul edi, ecx
rol ebx, 7
sub edi, ebx
xor eax, edi
mov edi, dword [ebp - 0x10]
mov ecx, eax
ror ecx, 6
sub ecx, dword [ebp - 0x44]
imul ecx, dword [ebp - 0x10]
xor edx, ecx
movzx ecx, word [ebp - 0xc]
xor edi, edx
mov dword [ebp - 0x4c], ecx
imul edi, ecx
mov ecx, edx
xor edx, dword [ebp - 0x18]
shr ecx, 7
add edi, ecx
mov cl, byte [ebp - 0x11]
xor edi, dword [ebp - 0x20]
xor eax, edi
xor cl, al
xor cl, dl
mov edi, dword [ebp - 0x34]
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
mov byte [edi + 6], dl
mov byte [edi + 1], al
xor cl, al
ror edx, 8
xor cl, dl
mov byte [edi + 5], dl
ror eax, 8
ror edx, 8
mov bl, dl
xor bl, al
xor cl, bl
mov byte [ebp - 0x11], cl
mov ecx, dword [ebp - 0x24]
mov byte [edi], al
mov byte [edi + 4], dl
mov dword [ebp - 0x20], ecx
add edi, 8
mov ecx, dword [ebp - 0x70]
dec dword [ebp - 0x30]
ror eax, 8
mov dword [ebp - 0x18], ecx
ror edx, 8
mov dword [ebp - 0x34], edi
jne 0x134869f
mov ebx, 0x1000000
mov eax, dword [ebp - 0x38]
mov al, byte [eax + 8]
xor al, byte [ebp - 0x11]
je 0x134890e
call fcn.010bfbea
mov edx, 0xfffff000
mov esi, eax
mov eax, dword [ebp - 0x48]
and eax, 0xfffffffc
and esi, edx
mov edi, eax
mov eax, dword [ebp - 0x68]
lea ecx, [edi + 0xfff]
and ecx, edx
mov edx, 0xffff
mov dword [eax + 8], 0x12e07d9
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 0x1348882
mov ebx, 0xffff
div ebx
inc edx
mov dword [ebp - 0x90], esi
cmp edi, ecx
mov eax, edi
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x48], 0
jae 0x13488d6
mov edx, dword [ebp - 0x48]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jb 0x13488ca
mov eax, 0x12e07d9
jmp 0x13489da
xor edx, edx
test ebx, ebx
jge 0x1348674
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x1348674
xor edx, edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
not eax
mov dword [ebp - 0x18], eax
xor eax, eax
jmp 0x1348679
mov ecx, dword [0x102c94c]
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x1c]
sub ebx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ebx
jne 0x134892c
test eax, eax
je 0x13489cd
mov edi, dword [ebp - 0x40]
mov ecx, dword [0x1069ab8]
mov esi, dword [ebp - 0x1c]
sub esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x3c]
add eax, edi
mov dword [ebp - 0x48], eax
xor ebx, ebx
dec ecx
js 0x134896f
lea eax, [ecx + ebx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x1069abc]
and edx, 0xfffffff
cmp edi, edx
jae 0x1348966
lea ecx, [eax - 1]
jmp 0x134896b
jbe 0x1348973
lea ebx, [eax + 1]
cmp ecx, ebx
jge 0x1348948
mov edi, ebx
jmp 0x13489c5
mov edi, eax
jmp 0x13489c5
mov eax, dword [edi*4 + 0x1069abc]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x48]
jae 0x13489cd
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 0x13489b8
dec ecx
je 0x13489b3
dec ecx
jne 0x13489be
mov edx, dword [ebp - 0x38]
jmp 0x13489be
mov edx, dword [ebp - 0x30]
jmp 0x13489be
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x30]
dec eax
dec eax
jne 0x13489c4
add dword [ebx], edx
inc edi
cmp edi, dword [0x1069ab8]
jb 0x1348977
mov eax, dword [0x10fb370]
mov eax, 0x971f79d2
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 8], eax
mov ebx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x90]
mov edi, dword [ebp - 0x80]
mov esp, ebp
pop ebp
popfd
ret