Function at 0x10010470
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
xor eax, eax
mov dword [esp + 0xc], eax
push ebx
mov ecx, dword [esp + 0x80]
push esi
mov dword [esp + 0x40], eax
push edi
push ebp
mov edx, dword [ecx + 4]
mov cl, byte [esp + 0xb8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], edx
cmp cl, al
je 0x10010532
cmp cl, 2
je 0x100104b0
cmp cl, 6
jne 0x100104d4
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
add dword [esp + 0x9c], ebx
test cl, 4
je 0x100104e1
sar dword [esp + 0x90], 1
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0xb0]
add dword [esp + 0x98], edx
add edx, edx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xac]
add dword [esp + 0xa0], ebx
add eax, eax
add ebx, ebx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
sar dword [esp + 0x94], 1
mov dword [esp + 0xb0], ebx
xor eax, eax
mov al, cl
cmp eax, 7
ja case.0x1001053f.1
jmp dword [eax*4 + 0x100110e0]
mov dword [esp + 0x38], 0
cmp dword [esp + 0x94], 0
jle case.0x1001053f.1
mov eax, dword [esp + 0x38]
xor edx, edx
and eax, 3
mov ecx, dword [esp + 0xc8]
mov edi, dword [esp + 0x9c]
mov dl, byte [eax + ecx]
shl edx, 2
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
lea ebx, [edx + edx*8]
cmp dword [esp + 0x90], 0
lea eax, [ebx + ecx + 0x20]
mov ebx, dword [esp + 0x98]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], ecx
jle 0x10010702
xor eax, eax
mov al, byte [esp + 0xc0]
mov dword [esp + 0x44], eax
xor eax, eax
mov al, byte [esp + 0xc4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x90]
inc eax
shr eax, 1
mov dword [esp + 0x4c], eax
xor edx, edx
xor eax, eax
inc edi
mov al, byte [edi - 1]
add edx, 4
xor ecx, ecx
inc ebx
mov dword [esp + edx + 0x64], eax
mov dword [esp + edx + 0x54], eax
mov dword [esp + edx + 0x4c], eax
mov cl, byte [ebx - 1]
sub ecx, eax
mov dword [esp + edx + 0x5c], ecx
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov dword [esp + edx + 0x4c], ecx
mov ecx, dword [esp + 0x40]
sub ecx, eax
cmp edx, 8
mov dword [esp + edx + 0x54], ecx
jl 0x100105e4
lea eax, [esp + 0x58]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x60]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.10011100
mov ecx, dword [esp + 0x34]
add esp, 0x10
mov byte [ecx], al
inc dword [esp + 0x24]
test al, al
je 0x1001067c
mov eax, dword [esp + 0x64]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x60]
cdq
xor eax, edx
sub ecx, edx
add ecx, eax
inc ebp
mov eax, dword [esp + 0x60]
add dword [esp + 0x1c], ecx
add dword [esp + 0x68], eax
mov dl, byte [esp + 0x68]
mov byte [ebp - 1], dl
mov eax, dword [esp + 0x64]
add dword [esp + 0x6c], eax
jmp 0x10010684
mov al, byte [esp + 0x68]
mov byte [ebp], al
inc ebp
mov cl, byte [esp + 0x6c]
inc ebp
cmp dword [esp + 0xcc], 0
mov byte [ebp - 1], cl
je 0x100106f8
mov ecx, esi
mov edx, dword [esp + 0x68]
inc esi
xor eax, eax
mov al, byte [ecx]
sub edx, eax
js 0x100106b1
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov cl, byte [esi]
sub eax, ecx
jmp 0x100106b9
xor eax, eax
mov al, byte [esi]
sub eax, dword [esp + 0x68]
sar eax, 1
inc esi
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x6c]
inc dword [esp + 0x48]
add byte [ecx], al
mov ecx, esi
xor eax, eax
inc esi
mov al, byte [ecx]
sub edx, eax
js 0x100106e2
mov eax, dword [esp + 0x6c]
xor ecx, ecx
mov cl, byte [esi]
sub eax, ecx
jmp 0x100106ea
xor eax, eax
mov al, byte [esi]
sub eax, dword [esp + 0x6c]
sar eax, 1
inc esi
mov ecx, dword [esp + 0x48]
inc dword [esp + 0x48]
add byte [ecx], al
dec dword [esp + 0x4c]
jne 0x100105e2
cmp dword [esp + 0xcc], 0
je 0x1001071d
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + 0x10]
add dword [esp + 0xcc], eax
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
add dword [esp + 0x98], edx
mov edx, dword [esp + 0xb4]
add dword [esp + 0x9c], eax
add dword [esp + 0xa0], ecx
add dword [esp + 0xa4], edx
inc dword [esp + 0x38]
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x94]
jl 0x1001055c
jmp case.0x1001053f.1
mov dword [esp + 0x38], 0
cmp dword [esp + 0x94], 0
jle 0x10010968
mov eax, dword [esp + 0x38]
xor edx, edx
and eax, 3
mov ecx, dword [esp + 0xc8]
mov dl, byte [eax + ecx]
mov ecx, dword [esp + 0x8c]
shl edx, 2
lea ebx, [edx + edx*8]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x20], edx
lea eax, [ebx + ecx + 0x20]
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x9c]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x90], 0
mov dword [esp + 0x14], eax
jle 0x1001091d
xor eax, eax
mov al, byte [esp + 0xc0]
mov dword [esp + 0x30], eax
xor eax, eax
mov al, byte [esp + 0xc4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
inc eax
shr eax, 1
mov dword [esp + 0x40], eax
xor edx, edx
lea ebx, [esp + edx + 0x68]
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
inc dword [esp + 0x20]
inc dword [esp + 0x18]
mov cl, byte [eax]
xor eax, eax
mov al, byte [ebp]
mov dword [ebx], ecx
mov dword [esp + edx + 0x70], eax
mov ebp, dword [ebx]
cmp eax, ebp
jle 0x1001084c
lea ebx, [esp + edx + 0x58]
mov dword [esp + edx + 0x50], ebp
mov dword [ebx], eax
jmp 0x10010856
lea ebx, [esp + edx + 0x58]
mov dword [esp + edx + 0x50], eax
mov dword [ebx], ebp
xor eax, eax
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
add edx, 4
mov al, byte [ecx]
inc dword [esp + 0x14]
xor ecx, ecx
inc dword [esp + 0x10]
mov cl, byte [ebp]
add eax, ecx
sub eax, dword [ebx]
sub eax, dword [esp + edx + 0x4c]
sar eax, 1
mov dword [esp + edx + 0x5c], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + edx + 0x4c]
mov dword [esp + edx + 0x4c], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [ebx]
cmp edx, 8
mov dword [ebx], eax
jl 0x10010817
lea eax, [esp + 0x58]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x60]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.10011100
mov ecx, dword [esp + 0x34]
add esp, 0x10
mov byte [ecx], al
inc dword [esp + 0x24]
test al, al
je 0x100108f9
xor ecx, ecx
lea edx, [esp + ecx + 0x60]
mov eax, dword [esp + ecx + 0x68]
inc edi
inc esi
add al, byte [edx]
add ecx, 4
mov byte [edi - 1], al
mov eax, dword [esp + ecx + 0x6c]
add al, byte [edx]
mov byte [esi - 1], al
mov eax, dword [edx]
cdq
xor eax, edx
sub dword [esp + 0x1c], edx
add dword [esp + 0x1c], eax
cmp ecx, 8
jl 0x100108ca
jmp 0x10010913
lea eax, [esp + 0x68]
mov cl, byte [eax]
mov dl, byte [eax + 8]
mov byte [edi], cl
inc edi
mov byte [esi], dl
inc esi
add eax, 4
lea ecx, [esp + 0x70]
cmp eax, ecx
jb 0x100108fd
dec dword [esp + 0x40]
jne 0x10010815
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
add dword [esp + 0x98], edx
add dword [esp + 0x48], edx
add dword [esp + 0x9c], eax
add dword [esp + 0x44], eax
add dword [esp + 0x3c], ecx
add dword [esp + 0xa0], ecx
inc dword [esp + 0x38]
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x94]
jl 0x10010785
mov eax, dword [esp + 0x1c]
add eax, eax
mov dword [esp + 0x1c], eax
jmp case.0x1001053f.1
mov dword [esp + 0x38], 0
cmp dword [esp + 0x94], 0
jle 0x100110ac
mov eax, dword [esp + 0xa8]
sar eax, 1
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
xor edx, edx
and eax, 3
mov ecx, dword [esp + 0xc8]
mov dl, byte [eax + ecx]
mov ecx, dword [esp + 0x8c]
shl edx, 2
lea ebx, [edx + edx*8]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x18], edx
lea eax, [ebx + ecx + 0x20]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0x3c]
sub eax, dword [esp + 0x4c]
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
add edx, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x90], 0
mov dword [esp + 0x20], edx
jle 0x10010b25
xor eax, eax
mov al, byte [esp + 0xc0]
mov dword [esp + 0x44], eax
xor eax, eax
mov al, byte [esp + 0xc4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x90]
inc eax
shr eax, 1
mov dword [esp + 0x48], eax
xor ebx, ebx
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
mov al, byte [ecx]
add ebx, 4
xor ecx, ecx
inc dword [esp + 0x18]
mov dword [esp + ebx + 0x64], eax
mov dword [esp + ebx + 0x54], eax
mov dword [esp + ebx + 0x4c], eax
inc dword [esp + 0x14]
mov cl, byte [edx]
inc dword [esp + 0x20]
xor edx, edx
mov dl, byte [ebp]
mov ebp, dword [esp + 0x10]
inc dword [esp + 0x10]
lea ecx, [edx + ecx*2]
xor edx, edx
mov dl, byte [ebp]
add ecx, edx
sar ecx, 2
sub ecx, eax
mov dword [esp + ebx + 0x5c], ecx
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov dword [esp + ebx + 0x4c], ecx
mov ecx, dword [esp + 0x40]
sub ecx, eax
cmp ebx, 8
mov dword [esp + ebx + 0x54], ecx
jl 0x10010a36
lea eax, [esp + 0x58]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x60]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.10011100
mov ecx, dword [esp + 0x34]
add esp, 0x10
mov byte [ecx], al
inc dword [esp + 0x24]
test al, al
je 0x10010b03
xor ecx, ecx
mov edx, dword [esp + ecx + 0x68]
lea ebx, [esp + ecx + 0x60]
inc esi
inc edi
lea eax, [edx*2]
add ecx, 4
add eax, dword [ebx]
shr eax, 1
and al, 0xfe
mov byte [esi - 1], al
mov eax, dword [ebx]
add al, dl
mov byte [edi - 1], al
mov eax, dword [ebx]
cdq
xor eax, edx
sub dword [esp + 0x1c], edx
add dword [esp + 0x1c], eax
cmp ecx, 8
jl 0x10010aca
jmp 0x10010b1b
mov cl, byte [esp + 0x68]
inc esi
mov al, byte [esp + 0x6c]
inc esi
inc edi
mov byte [esi - 2], cl
inc edi
mov byte [esi - 1], al
mov byte [edi - 2], cl
mov byte [edi - 1], al
dec dword [esp + 0x48]
jne 0x10010a34
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
add dword [esp + 0x98], edx
add dword [esp + 0x9c], eax
add dword [esp + 0x3c], ecx
add dword [esp + 0xa0], ecx
inc dword [esp + 0x38]
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x94]
jl 0x1001099b
jmp 0x100110ac
mov dword [esp + 0x38], 0
cmp dword [esp + 0x94], 0
jle 0x10010e21
mov eax, dword [esp + 0x38]
xor edx, edx
and eax, 3
mov ecx, dword [esp + 0xc8]
mov dl, byte [eax + ecx]
mov ecx, dword [esp + 0x8c]
shl edx, 2
lea ebx, [edx + edx*8]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x20], edx
lea eax, [ebx + ecx + 0x20]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebp
cmp dword [esp + 0x90], 0
mov dword [esp + 0x14], edx
jle 0x10010dd6
xor eax, eax
mov al, byte [esp + 0xc0]
mov dword [esp + 0x30], eax
xor eax, eax
mov al, byte [esp + 0xc4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
inc eax
shr eax, 1
mov dword [esp + 0x40], eax
xor edi, edi
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
inc dword [esp + 0x20]
mov al, byte [ecx]
inc dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + edi + 0x68], eax
xor eax, eax
inc dword [esp + 0x20]
mov al, byte [ecx]
xor ecx, ecx
mov dword [esp + edi + 0x70], eax
xor eax, eax
mov al, byte [edx]
mov edx, dword [esp + 0x18]
mov dword [esp + edi + 0x78], eax
inc dword [esp + 0x18]
mov cl, byte [edx]
mov dword [esp + edi + 0x80], ecx
mov edx, dword [esp + edi + 0x68]
cmp dword [esp + edi + 0x70], edx
jle 0x10010c70
mov eax, dword [esp + edi + 0x70]
mov dword [esp + edi + 0x50], edx
mov dword [esp + edi + 0x58], eax
jmp 0x10010c7c
mov ebp, dword [esp + edi + 0x70]
mov dword [esp + edi + 0x58], edx
mov dword [esp + edi + 0x50], ebp
cmp ecx, dword [esp + edi + 0x78]
jle 0x10010c9c
mov eax, dword [esp + edi + 0x78]
cmp dword [esp + edi + 0x50], eax
jle 0x10010c90
mov dword [esp + edi + 0x50], eax
cmp dword [esp + edi + 0x58], ecx
jge 0x10010cb4
mov dword [esp + edi + 0x58], ecx
jmp 0x10010cb4
cmp dword [esp + edi + 0x50], ecx
jle 0x10010ca6
mov dword [esp + edi + 0x50], ecx
mov eax, dword [esp + edi + 0x78]
cmp dword [esp + edi + 0x58], eax
jge 0x10010cb4
mov dword [esp + edi + 0x58], eax
xor eax, eax
mov ebp, dword [esp + 0x10]
add edi, 4
inc dword [esp + 0x10]
mov al, byte [ebp]
mov ebp, dword [esp + 0x10]
sub eax, edx
inc dword [esp + 0x10]
xor edx, edx
mov dword [esp + edi + 0x5c], eax
mov dl, byte [ebp]
sub edx, dword [esp + edi + 0x6c]
lea ebp, [edx + eax]
xor eax, eax
mov edx, dword [esp + 0x14]
mov dword [esp + edi + 0x5c], ebp
sub ebp, dword [esp + edi + 0x74]
inc dword [esp + 0x14]
mov al, byte [edx]
mov edx, dword [esp + 0x14]
add ebp, eax
inc dword [esp + 0x14]
xor eax, eax
mov dword [esp + edi + 0x5c], ebp
mov al, byte [edx]
sub eax, ecx
add eax, ebp
mov dword [esp + edi + 0x5c], eax
sar eax, 2
mov dword [esp + edi + 0x5c], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + edi + 0x4c]
mov dword [esp + edi + 0x4c], eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + edi + 0x54]
cmp edi, 8
mov dword [esp + edi + 0x54], eax
jl 0x10010c15
lea eax, [esp + 0x58]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x60]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.10011100
mov ecx, dword [esp + 0x34]
add esp, 0x10
mov byte [ecx], al
inc dword [esp + 0x24]
test al, al
je 0x10010da3
xor ecx, ecx
lea edx, [esp + ecx + 0x60]
mov eax, dword [esp + ecx + 0x68]
inc esi
inc ebx
add al, byte [edx]
inc esi
inc ebx
add ecx, 4
mov byte [esi - 2], al
mov eax, dword [esp + ecx + 0x6c]
add al, byte [edx]
mov byte [esi - 1], al
mov eax, dword [esp + ecx + 0x74]
add al, byte [edx]
mov byte [ebx - 2], al
mov eax, dword [esp + ecx + 0x7c]
add al, byte [edx]
mov byte [ebx - 1], al
mov eax, dword [edx]
cdq
xor eax, edx
sub dword [esp + 0x1c], edx
add dword [esp + 0x1c], eax
cmp ecx, 8
jl 0x10010d60
jmp 0x10010dcc
lea eax, [esp + 0x68]
mov cl, byte [eax]
mov dl, byte [eax + 8]
mov byte [esi], cl
inc esi
mov cl, byte [eax + 0x10]
inc esi
inc ebx
add eax, 4
inc ebx
mov byte [esi - 1], dl
mov dl, byte [eax + 0x14]
mov byte [ebx - 2], cl
lea ecx, [esp + 0x70]
mov byte [ebx - 1], dl
cmp eax, ecx
jb 0x10010da7
dec dword [esp + 0x40]
jne 0x10010c13
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
add dword [esp + 0x98], edx
add dword [esp + 0x48], edx
add dword [esp + 0x9c], eax
add dword [esp + 0x44], eax
add dword [esp + 0x3c], ecx
add dword [esp + 0xa0], ecx
inc dword [esp + 0x38]
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x94]
jl 0x10010b83
mov eax, dword [esp + 0x1c]
shl eax, 2
mov dword [esp + 0x1c], eax
jmp case.0x1001053f.1
mov dword [esp + 0x38], 0
cmp dword [esp + 0x94], 0
jle 0x100110ac
mov eax, dword [esp + 0xa8]
sar eax, 1
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
xor edx, edx
and eax, 3
mov ecx, dword [esp + 0xc8]
mov edi, dword [esp + 0x9c]
mov dl, byte [eax + ecx]
shl edx, 2
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x18], edi
lea ebx, [edx + edx*8]
lea eax, [ebx + ecx + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
add eax, dword [esp + 0x4c]
cmp dword [esp + 0x90], 0
mov dword [esp + 0x20], eax
jle 0x10011069
xor eax, eax
mov al, byte [esp + 0xc0]
mov dword [esp + 0x44], eax
xor eax, eax
mov al, byte [esp + 0xc4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x90]
inc eax
shr eax, 1
mov dword [esp + 0x48], eax
xor eax, eax
xor edx, edx
mov edi, dword [esp + 0x18]
xor ecx, ecx
xor ebx, ebx
mov dl, byte [edi]
add eax, 4
mov dword [esp + 0x30], 0
mov dword [esp + eax + 0x64], edx
inc dword [esp + 0x18]
mov edi, dword [esp + 0x18]
mov dword [esp + eax + 0x54], edx
mov dword [esp + eax + 0x4c], edx
inc dword [esp + 0x18]
mov cl, byte [edi]
mov edi, dword [esp + 0x14]
mov dword [esp + eax + 0x6c], ecx
inc dword [esp + 0x14]
xor ecx, ecx
mov cl, byte [edi]
mov edi, dword [esp + 0x20]
inc dword [esp + 0x20]
mov bl, byte [edi]
mov edi, dword [esp + 0x10]
lea ecx, [ebx + ecx*2]
xor ebx, ebx
inc dword [esp + 0x10]
mov bl, byte [edi]
mov edi, dword [esp + 0x14]
add ecx, ebx
inc dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov dword [esp + eax + 0x5c], ecx
xor ecx, ecx
mov cl, byte [edi]
mov edi, dword [esp + 0x20]
inc dword [esp + 0x20]
mov bl, byte [edi]
mov edi, dword [esp + 0x10]
mov byte [esp + 0x30], bl
mov ebx, dword [esp + 0x30]
inc dword [esp + 0x10]
mov dword [esp + 0x30], 0
lea ecx, [ebx + ecx*2]
mov bl, byte [edi]
mov byte [esp + 0x30], bl
add ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x2c]
mov dword [esp + eax + 0x5c], ecx
sar ecx, 3
sub ecx, dword [esp + eax + 0x64]
mov dword [esp + eax + 0x5c], ecx
mov ecx, dword [esp + 0x44]
sub ecx, edx
mov dword [esp + eax + 0x4c], ecx
mov ecx, dword [esp + 0x40]
sub ecx, edx
cmp eax, 8
mov dword [esp + eax + 0x54], ecx
jl 0x10010eee
lea eax, [esp + 0x58]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x60]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.10011100
mov ecx, dword [esp + 0x34]
add esp, 0x10
mov byte [ecx], al
inc dword [esp + 0x24]
test al, al
je 0x10011034
xor ecx, ecx
lea edx, [esp + ecx + 0x60]
mov edi, dword [esp + ecx + 0x68]
inc esi
inc ebp
mov eax, dword [edx]
inc esi
add eax, edi
inc ebp
add ecx, 4
mov dword [edx], eax
add eax, edi
shr eax, 1
and al, 0xfe
mov byte [esi - 2], al
mov eax, dword [esp + ecx + 0x6c]
add eax, dword [edx]
shr eax, 1
and al, 0xfe
mov byte [esi - 1], al
mov bl, byte [edx]
mov byte [ebp - 2], bl
mov bl, byte [edx]
mov byte [ebp - 1], bl
mov eax, dword [edx]
cdq
xor eax, edx
sub dword [esp + 0x1c], edx
add dword [esp + 0x1c], eax
cmp ecx, 8
jl 0x10010fe9
jmp 0x1001105f
lea edx, [esp + 0x68]
mov eax, dword [edx]
mov ecx, dword [edx + 8]
mov byte [esi], al
inc esi
add ecx, eax
inc esi
shr ecx, 1
inc ebp
and cl, 0xfe
inc ebp
add edx, 4
mov byte [esi - 1], cl
mov byte [ebp - 2], al
mov byte [ebp - 1], al
lea eax, [esp + 0x70]
cmp edx, eax
jb 0x10011038
dec dword [esp + 0x48]
jne 0x10010eec
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
add dword [esp + 0x98], edx
add dword [esp + 0x9c], eax
add dword [esp + 0x3c], ecx
add dword [esp + 0xa0], ecx
inc dword [esp + 0x38]
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x94]
jl 0x10010e55
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax*2]
mov dword [esp + 0x1c], ecx
shr dword [esp + 0x1c], 1
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x8c]
pop ebp
pop edi
pop esi
sub eax, dword [ecx + 4]
pop ebx
add esp, 0x78
ret