Function at 0x10010397
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push edi
pushfd
push ebp
mov ebp, esp
sub esp, 0x154
mov dword [ebp - 0x150], eax
lea eax, [ebp + 4]
sub eax, 4
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x14c], ebx
mov ecx, 0xfffffff
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x144], edi
lea esi, [eax + 0xc]
mov dword [ebp - 0xec], eax
mov eax, dword [esi]
mov ebx, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [eax + 4]
and eax, ecx
and ebx, ecx
xor edx, edx
mov ecx, dword [0x1007b9bc]
mov dword [ebp - 0x70], ecx
lea ecx, [ecx + eax - 1]
mov eax, ecx
div dword [ebp - 0x70]
mov edi, 0x10000000
add ebx, edi
mov eax, dword [0x1007b9bc]
sub ecx, edx
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0x80], ecx
mov eax, dword [0x10012044]
mov dword [ebp - 0x88], eax
mov eax, dword [0x1007b9bc]
mov eax, dword [0x10012044]
test eax, eax
je 0x100104d3
and dword [ebp - 0x6c], 0
mov eax, dword [0x10012044]
dec eax
lea ecx, [eax + 1]
xor eax, eax
mov dword [ebp - 0x5c], ecx
test ecx, ecx
je 0x10010476
mov edx, dword [0x1012ee38]
shr dword [ebp - 0x5c], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x1012ee38], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0x5c], 0
jne 0x1001044c
xor edx, edx
div ecx
cmp dword [ebp - 0x88], 0
mov dword [ebp - 0x5c], edx
jbe 0x100104c5
lea edx, [edx*4 + 0x1012ee90]
mov ecx, 0xffffc390
mov eax, 0x3c6f
inc dword [ebp - 0x6c]
lock cmpxchg dword [edx], ecx
cmp eax, 0x3c6f
je 0x100106bd
mov ecx, dword [0x10012044]
mov eax, dword [ebp - 0x5c]
inc eax
xor edx, edx
div ecx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x5c], edx
cmp eax, dword [ebp - 0x88]
jb 0x10010486
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0
jne 0x10010559
call dword [sym.imp.kernel32.dll_GetLastError]
and dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], eax
inc dword [ebp - 0x5c]
push 0x40
push 0x1000
push dword [ebp - 0x80]
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
test eax, eax
jne 0x100106d4
push eax
call dword [sym.imp.kernel32.dll_Sleep]
cmp dword [ebp - 0x5c], 0x11
jb 0x100104e0
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
cmp dword [0x1011fbc8], eax
ja 0x1001051d
test al, 3
je 0x10010535
test eax, eax
je 0x10010531
push 0x8000
push 0
push dword [ebp - 0x60]
call dword [sym.imp.kernel32.dll_VirtualFree]
and dword [ebp - 0x60], 0
push dword [ebp - 0x70]
call dword [sym.imp.kernel32.dll_SetLastError]
cmp dword [ebp - 0x60], 0
je 0x10010419
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x10010559
mov byte [eax], 0
inc eax
dec ecx
jne 0x10010552
mov eax, 0xe23f158f
add dword [esi], 8
mov eax, dword [ebp - 0x7c]
mov esi, dword [eax + 4]
and esi, 0xfffffff
lea eax, [esi + ebx]
mov dword [ebp - 0x70], eax
mov eax, dword [0x1007b9bc]
sub eax, esi
mov dword [ebp - 0x84], ebx
sub dword [ebp - 0x84], edi
lea ecx, [eax + 1]
mov dword [ebp - 0x7c], esi
xor eax, eax
test ecx, ecx
mov edx, ecx
je 0x100105bb
mov ebx, dword [0x1012ee38]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x1012ee38], ebx
shr ebx, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, ebx
test edx, edx
jne 0x10010594
xor edx, edx
div ecx
mov eax, dword [ebp - 0x60]
lea ebx, [edx + eax]
push ebx
push esi
push dword [ebp - 0x84]
mov dword [ebp - 0x6c], ebx
mov eax, 0x85964c2
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xd4]
add esp, 0xc
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0xf4], ecx
test esi, esi
mov ebx, 0xfffff000
mov byte [ebp - 0x55], 0
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x80], eax
je 0x10010d57
lea eax, [ebp - 0xf4]
push eax
mov eax, 0xb4c0a61e
mov eax, 0xfffffff
mov esi, dword [ebp - 0xf4]
and dword [ebp - 0x68], 0
and dword [ebp - 0x64], 0
pop ecx
mov ecx, dword [ebp - 0xf0]
and ecx, eax
mov dword [ebp - 0x5c], ecx
and esi, eax
add esi, edi
mov ecx, dword [0x1001256c]
mov eax, edi
sub eax, ecx
mov dword [ebp - 0xf8], eax
jne 0x100106dc
xor ebx, ebx
cmp dword [ebp - 0x5c], ebx
jbe 0x10010966
mov ecx, 0x7fffffff
mov edi, 0x35592d4d
movzx eax, byte [ebx + esi]
sub eax, edi
mov edx, 0xcaa6d2b3
add dword [ebp - 0x68], eax
add eax, dword [ebp - 0x64]
imul eax, eax, 0xcaa6d2b3
ror eax, 0x1d
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
mov edx, eax
imul edx, edx, 0xd63d
rol edx, 3
ror eax, 3
xor edx, eax
add dword [ebp - 0x68], edx
mov dword [ebp - 0x64], edx
inc ebx
cmp ebx, dword [ebp - 0x5c]
jb 0x10010669
jmp 0x10010966
mov eax, dword [0x1007b9bc]
imul eax, dword [ebp - 0x5c]
lea eax, [eax + section..data]
mov dword [ebp - 0x60], eax
jmp 0x100104c9
mov dword [ebp - 0x60], eax
jmp 0x1001050e
mov ecx, esi
mov edx, dword [0x1000003c]
lea edx, [edx + 0x100000a0]
mov eax, dword [ebp - 0x5c]
add eax, esi
mov dword [ebp - 0xd0], eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
add eax, edi
sub ecx, edi
mov edi, ecx
and edi, ebx
mov dword [ebp - 0x78], edx
mov edx, ecx
sub edx, edi
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x5c]
add ecx, edx
mov edx, ecx
and edx, ebx
sub ecx, edx
mov ebx, eax
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0x78]
add ecx, eax
mov dword [ebp - 0xe8], edx
cmp eax, ecx
mov dword [ebp - 0xe0], ecx
je 0x1001073f
cmp dword [ebx], edi
jae 0x1001073f
add ebx, dword [ebx + 4]
cmp ebx, ecx
jne 0x10010734
and dword [ebp - 0xd8], 0
cmp ebx, ecx
je 0x10010778
cmp dword [ebx], edi
jne 0x10010778
mov ecx, dword [ebx + 4]
sub ecx, 8
shr ecx, 1
je 0x10010778
lea edi, [ebx + 8]
movzx eax, word [edi]
and eax, 0xfff
cmp eax, dword [ebp - 0x74]
jae 0x10010778
inc dword [ebp - 0xd8]
inc edi
inc edi
cmp dword [ebp - 0xd8], ecx
jne 0x1001075b
mov ecx, 0x7fffffff
mov edi, 0x35592d4d
jmp 0x1001078a
mov edx, dword [ebp - 0xe8]
cmp ebx, dword [ebp - 0xe0]
je 0x10010902
cmp dword [ebx], edx
ja 0x10010902
mov eax, dword [ebx + 4]
add eax, 0xfffffff8
shr eax, 1
cmp dword [ebp - 0xd8], eax
jne 0x100107d4
add ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0xe0]
je 0x10010902
mov eax, dword [ebp - 0xe8]
cmp dword [ebx], eax
ja 0x10010902
and dword [ebp - 0xd8], 0
jmp 0x1001079e
mov eax, dword [ebp - 0xe8]
cmp dword [ebx], eax
jne 0x100107fa
mov eax, dword [ebp - 0xd8]
movzx eax, word [ebx + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0xe4]
jae 0x10010902
mov edx, dword [ebp - 0xd8]
mov eax, 0xf000
inc dword [ebp - 0xd8]
test word [ebx + edx*2 + 8], ax
je 0x10010784
movzx eax, word [ebx + edx*2 + 8]
mov edx, dword [ebx]
and dword [ebp - 0x5c], 0
and eax, 0xfff
lea eax, [eax + edx + 0x10000000]
mov dword [ebp - 0x74], eax
sub dword [ebp - 0x74], esi
mov dword [ebp - 0x78], eax
je 0x10010894
mov edx, 0xcaa6d2b3
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax + esi]
sub eax, edi
add dword [ebp - 0x68], eax
add eax, dword [ebp - 0x64]
imul eax, eax, 0xcaa6d2b3
ror eax, 0x1d
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
mov edx, eax
imul edx, edx, 0xd63d
rol edx, 3
ror eax, 3
xor edx, eax
mov eax, edx
add dword [ebp - 0x68], eax
inc dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], edx
cmp eax, dword [ebp - 0x74]
jb 0x10010838
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
sub eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
xor esi, esi
mov edx, 0xcaa6d2b3
movzx eax, byte [ebp + esi - 0xfc]
sub eax, edi
add dword [ebp - 0x68], eax
add eax, dword [ebp - 0x64]
imul eax, eax, 0xcaa6d2b3
ror eax, 0x1d
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
mov edx, eax
imul edx, edx, 0xd63d
rol edx, 3
ror eax, 3
xor edx, eax
add dword [ebp - 0x68], edx
inc esi
mov dword [ebp - 0x64], edx
cmp esi, 4
jb 0x100108a4
mov esi, dword [ebp - 0x78]
add esi, 4
jmp 0x10010784
xor ebx, ebx
mov eax, dword [ebp - 0xd0]
sub eax, esi
mov dword [ebp - 0xd0], eax
je 0x10010966
movzx eax, byte [ebx + esi]
sub eax, edi
mov edx, 0xcaa6d2b3
add dword [ebp - 0x68], eax
add eax, dword [ebp - 0x64]
imul eax, eax, 0xcaa6d2b3
ror eax, 0x1d
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
mov edx, eax
imul edx, edx, 0xd63d
rol edx, 3
ror eax, 3
xor edx, eax
add dword [ebp - 0x68], edx
mov dword [ebp - 0x64], edx
inc ebx
cmp ebx, dword [ebp - 0xd0]
jb 0x10010914
xor edi, edi
xor eax, eax
mov ecx, eax
and ecx, 7
mov cl, byte [ebp + ecx - 0x68]
mov byte [ebp + eax - 0x54], cl
inc eax
cmp eax, 0x10
jb 0x1001096a
mov eax, 0xd0097783
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x110], eax
mov eax, dword [0x10120760]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x10c], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x13c], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x128], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x114], ecx
lea ecx, [ebp - 0x44]
sub eax, ecx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x118], edi
mov dword [ebp - 0xd0], eax
lea edi, [ebp - 0xc8]
lea esi, [ebp - 0x13c]
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xc8]
mov dword [ebp - 0x78], 3
lea edi, [edx + esi]
mov ebx, dword [ebp - 0xb4]
rol edi, 7
xor eax, edi
lea edi, [esi + eax]
rol edi, 9
xor ecx, edi
lea edi, [ecx + eax]
rol edi, 0xd
xor edx, edi
lea edi, [ecx + edx]
ror edi, 0xe
xor esi, edi
mov edi, dword [ebp - 0xc4]
add edi, ebx
rol edi, 7
xor dword [ebp - 0xa4], edi
mov edi, ebx
mov ebx, dword [ebp - 0xa4]
add edi, ebx
rol edi, 9
xor dword [ebp - 0x94], edi
mov edi, ebx
mov ebx, dword [ebp - 0x94]
add ebx, edi
mov edi, dword [ebp - 0x94]
rol ebx, 0xd
xor dword [ebp - 0xc4], ebx
mov ebx, dword [ebp - 0xc4]
add edi, ebx
mov ebx, dword [ebp - 0xa0]
ror edi, 0xe
xor dword [ebp - 0xb4], edi
mov edi, dword [ebp - 0xb0]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x90], edi
mov edi, ebx
mov ebx, dword [ebp - 0x90]
add edi, ebx
rol edi, 9
xor dword [ebp - 0xc0], edi
mov edi, ebx
mov ebx, dword [ebp - 0xc0]
add ebx, edi
rol ebx, 0xd
mov edi, dword [ebp - 0xc0]
xor dword [ebp - 0xb0], ebx
mov ebx, dword [ebp - 0xb0]
add edi, ebx
mov ebx, dword [ebp - 0x8c]
ror edi, 0xe
xor dword [ebp - 0xa0], edi
mov edi, dword [ebp - 0x9c]
add edi, ebx
rol edi, 7
xor dword [ebp - 0xbc], edi
mov edi, ebx
mov ebx, dword [ebp - 0xbc]
add edi, ebx
rol edi, 9
xor dword [ebp - 0xac], edi
mov edi, ebx
mov ebx, dword [ebp - 0xac]
add ebx, edi
mov edi, dword [ebp - 0xac]
rol ebx, 0xd
xor dword [ebp - 0x9c], ebx
mov ebx, dword [ebp - 0x9c]
add edi, ebx
ror edi, 0xe
xor dword [ebp - 0x8c], edi
mov edi, dword [ebp - 0xbc]
add edi, esi
rol edi, 7
xor dword [ebp - 0xc4], edi
mov edi, dword [ebp - 0xc4]
add edi, esi
rol edi, 9
xor dword [ebp - 0xc0], edi
mov edi, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc0]
add ebx, edi
rol ebx, 0xd
mov edi, dword [ebp - 0xc0]
xor dword [ebp - 0xbc], ebx
mov ebx, dword [ebp - 0xbc]
add ebx, edi
mov edi, dword [ebp - 0xb4]
add edi, eax
ror ebx, 0xe
xor esi, ebx
rol edi, 7
xor dword [ebp - 0xb0], edi
mov ebx, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xb4]
add ebx, edi
mov edi, dword [ebp - 0xb0]
rol ebx, 9
xor dword [ebp - 0xac], ebx
mov ebx, dword [ebp - 0xac]
add ebx, edi
mov edi, dword [ebp - 0xac]
rol ebx, 0xd
xor eax, ebx
add edi, eax
ror edi, 0xe
mov ebx, dword [ebp - 0xa4]
xor dword [ebp - 0xb4], edi
mov edi, dword [ebp - 0xa0]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x9c], edi
mov edi, dword [ebp - 0xa0]
mov ebx, dword [ebp - 0x9c]
add ebx, edi
mov edi, dword [ebp - 0x9c]
rol ebx, 9
xor ecx, ebx
add edi, ecx
mov ebx, dword [ebp - 0x90]
rol edi, 0xd
xor dword [ebp - 0xa4], edi
mov edi, dword [ebp - 0xa4]
add edi, ecx
ror edi, 0xe
xor dword [ebp - 0xa0], edi
mov edi, dword [ebp - 0x8c]
add edi, ebx
rol edi, 7
xor edx, edi
mov edi, dword [ebp - 0x8c]
add edi, edx
rol edi, 9
xor dword [ebp - 0x94], edi
mov edi, dword [ebp - 0x94]
add edi, edx
rol edi, 0xd
xor dword [ebp - 0x90], edi
mov ebx, dword [ebp - 0x90]
mov edi, dword [ebp - 0x94]
add ebx, edi
ror ebx, 0xe
xor dword [ebp - 0x8c], ebx
dec dword [ebp - 0x78]
jne 0x10010a48
mov dword [ebp - 0x98], edx
xor edx, edx
push 0x40
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xc8], esi
xor eax, eax
pop ebx
mov ecx, dword [ebp + eax - 0x13c]
add dword [ebp + eax - 0xc8], ecx
add eax, 4
cmp eax, ebx
jl 0x10010cbc
lea edi, [ebp - 0x44]
lea esi, [ebp - 0xc8]
inc dword [ebp - 0x11c]
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x60], ebx
jbe 0x10010d20
mov esi, dword [ebp - 0x74]
mov eax, dword [ebp - 0xd0]
lea edi, [esi + eax]
lea ecx, [ebp + edx - 0x44]
mov al, byte [ecx + edi]
xor al, byte [ecx]
xor byte [ebp - 0x55], al
mov byte [ecx + esi], al
inc edx
cmp edx, ebx
jb 0x10010cf6
sub dword [ebp - 0x60], ebx
add dword [ebp - 0x88], ebx
add esi, ebx
add dword [ebp - 0x80], ebx
mov dword [ebp - 0x74], esi
jmp 0x10010a18
cmp dword [ebp - 0x60], edx
jbe 0x10010d4a
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x88]
lea eax, [ebp - 0x44]
sub esi, eax
sub edi, eax
lea ecx, [ebp + edx - 0x44]
mov al, byte [ecx + esi]
xor al, byte [ecx]
xor byte [ebp - 0x55], al
mov byte [ecx + edi], al
inc edx
cmp edx, dword [ebp - 0x60]
jb 0x10010d35
mov edi, 0x10000000
mov ebx, 0xfffff000
mov esi, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x70]
mov al, byte [eax + 8]
xor al, byte [ebp - 0x55]
je 0x10010df8
call fcn.1005a484
mov edi, dword [ebp - 0xcc]
and edi, 0xfffffffc
lea ecx, [edi + 0xfff]
mov edx, 0xffff
mov esi, eax
and esi, ebx
mov eax, dword [ebp - 0xec]
and ecx, ebx
mov dword [eax + 8], 0x100f1b6e
xor eax, eax
mov ebx, dword [0x1012ee38]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x1012ee38], ebx
shr ebx, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, ebx
test edx, edx
jne 0x10010d94
mov ebx, 0xffff
div ebx
mov dword [ebp - 0x154], esi
inc edx
mov dword [ebp - 0x148], edx
mov eax, edi
cmp edi, ecx
mov dword [ebp - 0xcc], 0
jae 0x10010dee
mov edx, dword [ebp - 0xcc]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jb 0x10010ddf
mov eax, 0x100f1b6e
jmp 0x10010ed4
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0x6c]
mov ecx, dword [0x1001256c]
mov dword [ebp - 0x7c], eax
sub edi, ecx
mov dword [ebp - 0x70], edi
jne 0x10010e19
test eax, eax
je 0x10010ec7
mov edi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x84]
sub edi, dword [ebp - 0xd4]
mov ecx, dword [0x10103928]
add eax, esi
xor esi, esi
mov dword [ebp - 0xcc], eax
dec ecx
js 0x10010e66
lea eax, [esi + ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x1010392c]
and edx, 0xfffffff
cmp dword [ebp - 0x84], edx
jae 0x10010e5d
lea ecx, [eax - 1]
jmp 0x10010e62
jbe 0x10010e6a
lea esi, [eax + 1]
cmp ecx, esi
jge 0x10010e3b
mov ebx, esi
jmp 0x10010ebf
mov ebx, eax
jmp 0x10010ebf
mov eax, dword [ebx*4 + 0x1010392c]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0xcc]
jae 0x10010ec7
lea esi, [ecx + edi + 0x10000000]
mov ecx, eax
shl ecx, 2
sar ecx, 0x1e
sar eax, 0x1e
and ecx, 3
and eax, 3
xor edx, edx
dec ecx
je 0x10010eb2
dec ecx
je 0x10010ead
dec ecx
jne 0x10010eb8
mov edx, dword [ebp - 0x70]
jmp 0x10010eb8
mov edx, dword [ebp - 0x7c]
jmp 0x10010eb8
mov edx, dword [ebp - 0x70]
sub edx, dword [ebp - 0x7c]
dec eax
dec eax
jne 0x10010ebe
add dword [esi], edx
inc ebx
cmp ebx, dword [0x10103928]
jb 0x10010e6e
mov eax, dword [0x1007b9bc]
mov eax, 0xa71b4b7e
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xec]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x150]
mov esi, dword [ebp - 0x140]
mov ebx, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x148]
mov esp, ebp
pop ebp
popfd
ret