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

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x78], ebx
lea eax, [ebp + 4]
mov ebx, 0xfffffff
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], edi
mov esi, dword [0x10fb370]
mov edi, dword [eax + 4]
sub eax, 4
mov dword [ebp - 0x64], eax
mov eax, dword [edi]
shr eax, 1
and eax, ebx
xor edx, edx
lea ecx, [esi + eax - 1]
mov eax, ecx
div esi
mov eax, dword [0x10fb370]
sub ecx, edx
mov dword [ebp - 0x48], ecx
mov eax, dword [0x1007420]
mov dword [ebp - 0x44], eax
mov eax, dword [0x10fb370]
mov eax, dword [0x1007420]
test eax, eax
je 0x121ca55
and dword [ebp - 0x28], 0
mov eax, dword [0x1007420]
dec eax
lea ecx, [eax + 1]
mov edx, ecx
xor eax, eax
test ecx, ecx
je 0x121ca0a
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 0x121c9e3
xor edx, edx
div ecx
cmp dword [ebp - 0x44], 0
jbe 0x121ca4c
mov eax, 0xef0b
lea esi, [edx*4 + 0x1388f9c]
inc dword [ebp - 0x28]
mov ecx, 0xffff10f4
lock cmpxchg dword [esi], ecx
cmp eax, 0xef0b
je 0x121cbde
lea eax, [edx + 1]
xor edx, edx
mov ecx, dword [0x1007420]
div ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x44]
jb 0x121ca14
xor eax, eax
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x121cad2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
xor esi, esi
push 0x40
push 0x1000
push dword [ebp - 0x48]
push 0
inc esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x121cbf1
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x11
jb 0x121ca60
xor esi, esi
mov dword [ebp - 0x18], esi
cmp dword [0x138b2f8], esi
ja 0x121ca9c
test esi, 3
je 0x121cab3
test esi, esi
je 0x121caae
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
mov dword [ebp - 0x18], esi
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
je 0x121c9b4
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x121cad2
mov byte [esi], 0
inc esi
dec eax
jne 0x121cacb
mov eax, 0x91990b76
mov eax, dword [edi]
mov ecx, eax
shr eax, 1
and eax, ebx
mov esi, eax
mov ebx, 0x1000000
mov eax, dword [0x10fb370]
shr ecx, 0x1d
lea ecx, [ecx + edi + 8]
mov dword [ebp - 0x38], ecx
lea edi, [esi + ecx]
mov dword [ebp - 0x48], ecx
sub eax, esi
sub dword [ebp - 0x38], ebx
mov dword [ebp - 0x44], esi
lea ecx, [eax + 1]
xor eax, eax
mov dword [ebp - 0x4c], edi
test ecx, ecx
mov dword [ebp - 0x28], ecx
je 0x121cb3c
mov edx, dword [0x138b4cc]
shr dword [ebp - 0x28], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x138b4cc], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0x28], 0
jne 0x121cb12
xor edx, edx
div ecx
mov eax, dword [ebp - 0x18]
add eax, edx
push eax
push esi
push dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov eax, 0x57204271
mov esi, dword [edi]
mov edi, dword [edi + 4]
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x11], 0
mov eax, 0xbaf2e475
mov eax, 0xfffffff
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
and edi, eax
and esi, eax
mov eax, dword [0x102c94c]
add esp, 0x10
add esi, ebx
mov dword [ebp - 0x18], edi
sub ebx, eax
mov dword [ebp - 0x3c], ebx
jne 0x121cbfb
xor ebx, ebx
cmp edi, ebx
jbe 0x121cdf5
mov edi, 0x545ab29a
mov ecx, 0x7fffffff
movzx eax, byte [ebx + esi]
mov edx, 0xaba54d66
sub eax, edi
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
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 ebx
cmp ebx, dword [ebp - 0x18]
jb 0x121cba3
jmp 0x121cdf5
mov eax, dword [0x10fb370]
imul eax, edx
lea eax, [eax + section..data]
jmp 0x121ca4e
mov dword [ebp - 0x18], eax
mov esi, eax
jmp 0x121ca8c
mov ecx, esi
mov eax, edi
mov edi, 0x1000000
mov edx, dword [0x100003c]
mov ebx, 0xfffff000
lea edx, [edx + 0x10000a0]
add eax, esi
mov dword [ebp - 0x34], eax
mov eax, dword [edx]
add eax, edi
sub ecx, edi
mov edx, dword [edx + 4]
mov edi, ecx
and edi, ebx
mov dword [ebp - 0x2c], edx
mov edx, ecx
sub edx, edi
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x18]
add ecx, edx
mov edx, ecx
and edx, ebx
sub ecx, edx
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x2c]
mov ebx, eax
mov dword [ebp - 0x60], edx
add ecx, eax
cmp eax, ecx
mov dword [ebp - 0x58], ecx
je 0x121cc5b
cmp dword [ebx], edi
jae 0x121cc5b
add ebx, dword [ebx + 4]
cmp ebx, ecx
jne 0x121cc50
and dword [ebp - 0x50], 0
cmp ebx, ecx
je 0x121cc8b
cmp dword [ebx], edi
jne 0x121cc8b
mov ecx, dword [ebx + 4]
sub ecx, 8
shr ecx, 1
je 0x121cc8b
lea edi, [ebx + 8]
movzx eax, word [edi]
and eax, 0xfff
cmp eax, dword [ebp - 0x40]
jae 0x121cc8b
inc dword [ebp - 0x50]
inc edi
inc edi
cmp dword [ebp - 0x50], ecx
jne 0x121cc74
mov ecx, 0x7fffffff
mov edi, 0x545ab29a
jmp 0x121cc9a
mov edx, dword [ebp - 0x60]
cmp ebx, dword [ebp - 0x58]
je 0x121cdb3
cmp dword [ebx], edx
ja 0x121cdb3
mov eax, dword [ebx + 4]
add eax, 0xfffffff8
shr eax, 1
cmp dword [ebp - 0x50], eax
jne 0x121ccd5
add ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x58]
je 0x121cdb3
mov eax, dword [ebp - 0x60]
cmp dword [ebx], eax
ja 0x121cdb3
and dword [ebp - 0x50], 0
jmp 0x121ccab
mov eax, dword [ebp - 0x60]
cmp dword [ebx], eax
jne 0x121ccf2
mov eax, dword [ebp - 0x50]
movzx eax, word [ebx + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x5c]
jae 0x121cdb3
mov edx, dword [ebp - 0x50]
inc dword [ebp - 0x50]
mov eax, 0xf000
test word [ebx + edx*2 + 8], ax
je 0x121cc97
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 - 0x30], eax
sub dword [ebp - 0x30], esi
mov dword [ebp - 0x24], eax
je 0x121cd67
mov eax, dword [ebp - 0x18]
mov edx, 0xaba54d66
movzx eax, byte [eax + esi]
sub eax, edi
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
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 - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x30]
jb 0x121cd26
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
sub eax, dword [ebp - 0x3c]
xor esi, esi
mov dword [ebp - 0x6c], eax
mov edx, 0xaba54d66
movzx eax, byte [ebp + esi - 0x6c]
sub eax, edi
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
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 esi
mov dword [ebp - 0x1c], eax
cmp esi, 4
jb 0x121cd71
mov esi, dword [ebp - 0x24]
add esi, 4
jmp 0x121cc97
xor ebx, ebx
mov eax, dword [ebp - 0x34]
sub eax, esi
mov dword [ebp - 0x2c], eax
je 0x121cdf5
mov edx, 0xaba54d66
movzx eax, byte [ebx + esi]
sub eax, edi
add dword [ebp - 0x20], eax
add eax, dword [ebp - 0x1c]
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 - 0x2c]
jb 0x121cdbf
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 0x121cdf9
mov eax, 0x4092e452
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 0x121cfce
cmp eax, ebx
mov edi, dword [ebp - 0x38]
not edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x10], ebx
jle 0x121ce64
push 0x38
pop edx
movzx ebx, byte [esi]
cmp dword [ebp - 0x10], 4
jge 0x121ce51
lea ecx, [edx - 0x20]
shl ebx, cl
or dword [ebp - 0x30], ebx
jmp 0x121ce58
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 0x121ce3e
movzx ecx, word [ebp - 6]
mov ebx, dword [ebp - 0xc]
movzx edx, word [ebp - 8]
mov eax, dword [ebp - 0x38]
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 - 0x38]
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
rol edx, 0xe
movzx ebx, word [ebp - 0xc]
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
xor dword [ebp - 0x10], edi
mov edx, ecx
mov edi, dword [ebp - 0x24]
xor edx, dword [ebp - 0x10]
rol edx, 2
imul edi, edx
mov edx, dword [ebp - 0x10]
shr edx, 0xc
add edi, edx
xor eax, edi
mov edx, eax
mov ebx, eax
sub edx, dword [ebp - 8]
rol edx, 5
movzx edi, word [ebp - 0xa]
imul edi, edx
ror ebx, 0xb
mov edx, dword [ebp - 0x24]
xor ebx, edi
xor dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x10]
movzx edi, word [ebp - 0xc]
rol edx, 1
imul edi, edx
rol ebx, 1
sub edi, ebx
mov edx, dword [ebp - 0x24]
xor eax, edi
mov edi, eax
mov ebx, eax
sub edi, edx
imul edi, ecx
shr ebx, 1
sub edi, ebx
xor dword [ebp - 0x10], edi
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 0x10]
rol edi, 0xe
imul edx, edi
rol ebx, 7
mov edi, dword [ebp - 0x10]
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
xor ecx, edi
imul ecx, edx
mov ebx, dword [ebp - 0x3c]
mov edx, edi
xor edi, dword [ebp - 0x18]
shr edx, 7
add ecx, edx
xor ecx, dword [ebp - 0x30]
xor eax, ecx
mov dword [ebp - 0x24], eax
mov ecx, edi
test ebx, ebx
jle 0x121cfa4
cmp dword [ebp - 0x10], 4
jge 0x121cf8b
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 0x121cf99
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 - 0x3c]
cmp dword [ebp - 0x10], ebx
jl 0x121cf71
add ebx, 0xfffffffc
test ebx, ebx
jle 0x121cfbb
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr edi, cl
shl edi, cl
mov edx, edi
jmp 0x121cfdd
xor edx, edx
test ebx, ebx
jge 0x121cfdd
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x121cfdd
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
xor edx, edx
not eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
shr ecx, 3
test ecx, ecx
jbe 0x121d1a3
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x3c], edi
movzx edi, word [ebp - 6]
mov dword [ebp - 0x10], edi
movzx edi, word [ebp - 0xc]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x2c], ecx
movzx ebx, byte [esi + 5]
movzx edi, byte [esi + 1]
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]
xor eax, ecx
shl edi, 8
or edi, ebx
shl edi, 8
movzx ebx, byte [esi + 7]
or edi, ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x68], edi
mov ecx, eax
sub ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x40]
add esi, 8
xor ecx, dword [ebp - 0xc]
xor ecx, edi
xor edx, ecx
movzx ecx, word [ebp - 8]
mov edi, edx
not edi
ror edi, 5
add edi, ecx
imul edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
xor eax, edi
mov edi, dword [ebp - 0xc]
xor ecx, eax
sub edi, ecx
mov ecx, dword [ebp - 8]
xor edx, edi
mov edi, edx
sub ecx, edx
rol ecx, 0xe
imul ebx, ecx
mov ecx, dword [ebp - 0xc]
ror edi, 0xb
add edi, ebx
xor eax, edi
mov ebx, dword [ebp - 0x10]
mov edi, eax
xor ecx, eax
rol ecx, 7
imul ebx, ecx
rol edi, 0xd
xor edi, ebx
mov ebx, dword [ebp - 0x3c]
xor edx, edi
mov ecx, dword [ebp - 0x10]
movzx edi, word [ebp - 8]
xor ecx, edx
rol ecx, 2
imul edi, ecx
mov ecx, edx
shr ecx, 0xc
add edi, ecx
xor eax, edi
mov ecx, eax
mov edi, eax
sub ecx, dword [ebp - 8]
rol ecx, 5
imul ebx, ecx
ror edi, 0xb
xor edi, ebx
xor edx, edi
movzx ecx, word [ebp - 8]
movzx edi, word [ebp - 0xc]
mov ebx, edx
xor ecx, edx
rol ecx, 1
imul edi, ecx
rol ebx, 1
sub edi, ebx
xor eax, edi
movzx edi, word [ebp - 8]
mov ebx, eax
mov ecx, eax
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 - 0x3c]
imul ecx, dword [ebp - 0x10]
xor edx, ecx
xor edi, edx
movzx ecx, word [ebp - 0xc]
mov dword [ebp - 0x40], 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 - 0x30]
xor eax, edi
mov edi, dword [ebp - 0x34]
mov byte [edi + 3], al
mov byte [edi + 7], dl
xor cl, al
xor cl, dl
ror eax, 8
xor cl, al
mov byte [edi + 2], al
ror edx, 8
mov byte [edi + 6], dl
xor cl, dl
ror eax, 8
xor cl, al
ror edx, 8
mov byte [edi + 1], al
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
add edi, 8
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x68]
dec dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
ror eax, 8
mov dword [ebp - 0x34], edi
ror edx, 8
jne 0x121d003
mov eax, dword [ebp - 0x4c]
mov al, byte [eax + 8]
xor al, byte [ebp - 0x11]
je 0x121d23d
call fcn.010bfbea
mov edx, 0xfffff000
mov edi, eax
mov eax, dword [ebp - 0x64]
mov dword [eax + 8], 0x12e07d9
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 [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 0x121d1df
mov ebx, 0xffff
div ebx
mov dword [ebp - 0x8c], edi
mov eax, ecx
inc edx
cmp ecx, esi
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x4c], 0
jae 0x121d233
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
add eax, 4
cmp eax, esi
jb 0x121d227
mov eax, 0x12e07d9
jmp 0x121d30e
mov edx, dword [0x102c94c]
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov ecx, 0x1000000
sub ecx, edx
mov dword [ebp - 0x2c], ecx
jne 0x121d260
test eax, eax
je 0x121d301
mov ebx, dword [ebp - 0x38]
mov ecx, dword [0x1069ab8]
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x28]
sub esi, dword [ebp - 0x48]
add eax, ebx
xor edi, edi
dec ecx
mov dword [ebp - 0x4c], eax
js 0x121d2a3
lea eax, [edi + ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x1069abc]
and edx, 0xfffffff
cmp ebx, edx
jae 0x121d29a
lea ecx, [eax - 1]
jmp 0x121d29f
jbe 0x121d2a7
lea edi, [eax + 1]
cmp ecx, edi
jge 0x121d27c
mov ebx, edi
jmp 0x121d2f9
mov ebx, eax
jmp 0x121d2f9
mov eax, dword [ebx*4 + 0x1069abc]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x4c]
jae 0x121d301
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 0x121d2ec
dec ecx
je 0x121d2e7
dec ecx
jne 0x121d2f2
mov edx, dword [ebp - 0x2c]
jmp 0x121d2f2
mov edx, dword [ebp - 0x40]
jmp 0x121d2f2
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x40]
dec eax
dec eax
jne 0x121d2f8
add dword [edi], edx
inc ebx
cmp ebx, dword [0x1069ab8]
jb 0x121d2ab
mov eax, dword [0x10fb370]
mov eax, 0xee0bb9bd
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 8], eax
mov ebx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x88]
mov esp, ebp
pop ebp
popfd
ret