Function at 0x10105bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0xac
mov ecx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xc4]
mov edi, dword [esp + 0xe8]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0xc0]
mov ecx, dword [ecx]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0xf0]
mov esi, dword [esp + 0xd8]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x80], ebx
mov ebx, dword [ebx]
mov dword [esp + 0x84], edx
mov edx, dword [edx]
mov dword [esp + 0x9c], ebx
mov ebx, dword [edi + 0x10]
mov dword [esp + 0x74], esi
mov dword [esp + 0x98], edx
mov esi, dword [esi]
mov edx, dword [ecx]
mov ebp, dword [esp + 0xe4]
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x4c], esi
mov dword [esp], edx
mov dword [esp + 0x90], edx
mov esi, dword [edi + 0x14]
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x60], edi
mov dword [esp + 0x7c], eax
mov ebp, dword [esp + 0xec]
movzx edi, word [ebx*2 + 0x1044ac74]
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x5c], esi
movzx esi, word [esi*2 + 0x1044ac74]
mov edx, dword [edx]
mov dword [esp + 0x64], ebp
lea ebp, [ebp + edi*2 + 2]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x70], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x58], edi
mov esi, dword [esp]
mov ebp, dword [esp + 0xcc]
cmp dword [eax], 2
je 0x10106ab9
xor eax, eax
mov edi, 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ecx
mov ebp, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
cmp eax, 6
mov dword [esp + 0x44], eax
jle 0x1010659c
cmp dword [esp + 0x8c], 8
jle 0x1010659c
lea edi, [esp + 0x4c]
lea esi, [esp + 0xdc]
lea ecx, [esp + 0x94]
lea edx, [esp + 0x90]
lea eax, [esp + 8]
push dword [esp + 0x50]
push dword [esp + 0x68]
push dword [esp + 0x70]
push dword [esp + 0x88]
push dword [esp + 0x7c]
push eax
push dword [esp + 0x6c]
push dword [esp + 0x74]
push dword [esp + 0x7c]
push ebx
push edx
push ecx
push esi
push edi
lea eax, [esp + 0x80]
push eax
lea edx, [esp + 0xd8]
push edx
lea ecx, [esp + 0xd8]
push ecx
call fcn.1010e530
add esp, 0x44
test eax, eax
je 0x10106984
mov edx, eax
and eax, 0xf
mov ebp, dword [esp + 8]
mov ecx, ebp
add eax, 0xfffffffe
and ebp, 0xf
sar edx, 0x10
shr ecx, 0x10
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
cmp eax, 4
ja case.default.0x10105dad
jmp dword [eax*4 + 0x1044ac94]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edx
mov eax, dword [esp + 0x3c]
mov ebp, eax
cmp eax, dword [esp + 0x8c]
jle 0x10105df3
mov ebp, dword [esp + 0x8c]
mov edi, 5
sub dword [esp + 0x3c], ebp
test ebp, ebp
je 0x101065f7
jmp 0x10105df8
mov edi, 1
mov edx, dword [esp + 0xdc]
cmp edx, dword [esp + 0x40]
jae 0x10106236
cmp dword [esp + 0x6c], 0
je 0x10106851
mov ecx, edx
xor esi, esi
mov eax, dword [esp + 0x40]
sub ecx, eax
add ecx, ebp
cmovs ecx, esi
mov esi, ebp
sub eax, dword [esp + 0x7c]
sub esi, ecx
sub eax, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x101066fc
mov edx, esi
mov esi, edx
sub esi, eax
xor ecx, ecx
test esi, esi
cmovle eax, edx
cmovle esi, ecx
mov dword [esp + 0x20], esi
test eax, eax
jle 0x10105fac
cmp eax, 6
jle 0x10105f22
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
lea esi, [edx + ecx]
sub esi, dword [esp + 0x2c]
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x88]
jae 0x10105e91
mov edx, dword [esp + 0x88]
sub edx, dword [esp + 0x18]
cmp eax, edx
jle 0x10105eaf
mov edx, dword [esp + 0x88]
cmp edx, dword [esp + 0x18]
jae 0x10105f22
mov edx, esi
sub edx, dword [esp + 0x88]
cmp eax, edx
jg 0x10105f22
mov edx, eax
shr edx, 0x1f
add edx, eax
sar edx, 1
test edx, edx
jbe 0x101066ca
mov dword [esp + 0xa0], ebp
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x88]
movzx eax, byte [esi + ecx*2]
mov byte [ebp + ecx*2], al
movzx ebx, byte [esi + ecx*2 + 1]
mov byte [ebp + ecx*2 + 1], bl
inc ecx
cmp ecx, edx
jb 0x10105ed8
mov eax, dword [esp + 0x14]
lea edx, [ecx + ecx + 1]
mov ebp, dword [esp + 0xa0]
mov ebx, dword [esp + 0x34]
cmp edx, eax
ja 0x10105fac
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x88]
movzx eax, byte [ecx + edx - 1]
mov byte [edx + esi - 1], al
jmp 0x10105fac
mov edx, eax
shr edx, 0x1f
add edx, eax
sar edx, 1
mov dword [esp + 0x1c], edx
test edx, edx
jbe 0x101066d4
mov esi, dword [esp + 0x68]
xor ecx, ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ebx
add edx, esi
sub edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x1c]
movzx eax, byte [edx + ecx*2]
mov byte [ebp + ecx*2], al
movzx ebx, byte [edx + ecx*2 + 1]
mov byte [ebp + ecx*2 + 1], bl
inc ecx
cmp ecx, esi
jb 0x10105f61
mov eax, dword [esp + 0x14]
lea edx, [ecx + ecx + 1]
mov ebp, dword [esp + 0xa0]
mov ebx, dword [esp + 0x34]
cmp edx, eax
ja 0x10105fac
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
add ecx, esi
mov esi, dword [esp + 0x88]
sub ecx, dword [esp + 0x2c]
movzx eax, byte [edx + ecx - 1]
mov byte [edx + esi - 1], al
cmp dword [esp + 0x20], 0
je 0x101060e4
jle 0x101060e4
cmp dword [esp + 0x20], 6
jle 0x1010606e
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x88]
lea esi, [edx + ecx]
mov dword [esp + 4], esi
cmp esi, dword [esp + 0x6c]
jbe 0x10105fec
mov edx, esi
sub edx, dword [esp + 0x6c]
cmp edx, dword [esp + 0x20]
jge 0x10106002
mov edx, esi
cmp edx, dword [esp + 0x6c]
jae 0x1010606e
mov edx, dword [esp + 0x6c]
sub edx, dword [esp + 4]
cmp edx, dword [esp + 0x20]
jl 0x1010606e
mov edx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
test eax, eax
jbe 0x101066de
mov dword [esp + 0xa0], ebp
xor esi, esi
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 0x6c]
movzx edx, byte [ebp + esi*2]
mov byte [ebx + esi*2], dl
movzx ecx, byte [ebp + esi*2 + 1]
mov byte [ebx + esi*2 + 1], cl
inc esi
cmp esi, eax
jb 0x1010602c
mov ebp, dword [esp + 0xa0]
lea esi, [esi + esi + 1]
mov ebx, dword [esp + 0x34]
cmp esi, dword [esp + 0x20]
ja 0x101060e4
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 4]
movzx eax, byte [esi + edx - 1]
mov byte [ecx + esi - 1], al
jmp 0x101060e4
mov edx, dword [esp + 0x20]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sar ecx, 1
test ecx, ecx
jbe 0x1010689d
mov esi, dword [esp + 0x2c]
xor edx, edx
mov eax, dword [esp + 0x88]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 0x6c]
add eax, esi
movzx ebx, byte [ebp + edx*2]
mov byte [eax + edx*2], bl
movzx ebx, byte [ebp + edx*2 + 1]
mov byte [eax + edx*2 + 1], bl
inc edx
cmp edx, ecx
jb 0x101060a1
mov ebp, dword [esp + 0xa0]
lea ecx, [edx + edx + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x20]
ja 0x101060e4
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x6c]
add esi, dword [esp + 0x88]
movzx eax, byte [ecx + edx - 1]
mov byte [ecx + esi - 1], al
mov edx, dword [esp + 0x48]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0xdc]
cmp dword [esp + 0x28], 0
jne 0x1010610d
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x8c], ecx
jmp 0x1010636c
mov esi, dword [esp + 0x88]
mov ecx, esi
add dword [esp + 0x24], esi
sub ecx, edx
mov dword [esp + 0xc], ecx
cmp dword [esp + 0x28], 0
jle 0x101060fd
cmp dword [esp + 0x28], 6
jle 0x101061c9
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0xc]
jbe 0x10106146
sub edx, dword [esp + 0xc]
cmp edx, dword [esp + 0x28]
jge 0x1010615c
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0xc]
jae 0x101061c9
mov edx, ecx
sub edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x28]
jl 0x101061c9
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
test eax, eax
jbe 0x101066e8
mov dword [esp + 0xa0], ebp
xor esi, esi
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x24]
mov ebp, ecx
movzx edx, byte [ebp + esi*2]
mov byte [ebx + esi*2], dl
movzx ecx, byte [ebp + esi*2 + 1]
mov byte [ebx + esi*2 + 1], cl
inc esi
cmp esi, eax
jb 0x10106184
mov ebp, dword [esp + 0xa0]
lea ecx, [esi + esi + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x28]
ja 0x1010634f
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
movzx eax, byte [edx + ecx - 1]
mov byte [ecx + esi - 1], al
jmp 0x1010634f
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
test eax, eax
jbe 0x101066f2
mov dword [esp + 0xa0], ebp
xor esi, esi
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x24]
mov ebp, ecx
movzx edx, byte [ebp + esi*2]
mov byte [ebx + esi*2], dl
movzx ecx, byte [ebp + esi*2 + 1]
mov byte [ebx + esi*2 + 1], cl
inc esi
cmp esi, eax
jb 0x101061f1
mov ebp, dword [esp + 0xa0]
lea ecx, [esi + esi + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x28]
ja 0x1010634f
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
movzx eax, byte [ecx + edx - 1]
mov byte [ecx + esi - 1], al
jmp 0x1010634f
mov ecx, dword [esp + 0x88]
sub ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
test ebp, ebp
jle 0x1010636c
cmp ebp, 6
jle 0x101062eb
mov edx, dword [esp + 0x88]
cmp edx, dword [esp + 0x10]
jbe 0x1010626b
sub edx, dword [esp + 0x10]
cmp ebp, edx
jle 0x10106285
mov edx, dword [esp + 0x88]
cmp edx, dword [esp + 0x10]
jae 0x101062eb
mov edx, ecx
sub edx, dword [esp + 0x88]
cmp ebp, edx
jg 0x101062eb
mov eax, ebp
shr eax, 0x1f
add eax, ebp
sar eax, 1
test eax, eax
jbe 0x10106889
mov dword [esp + 0xa0], ebp
xor esi, esi
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x88]
mov ebp, ecx
movzx edx, byte [ebp + esi*2]
mov byte [ebx + esi*2], dl
movzx ecx, byte [ebp + esi*2 + 1]
mov byte [ebx + esi*2 + 1], cl
inc esi
cmp esi, eax
jb 0x101062ac
mov ebp, dword [esp + 0xa0]
lea ecx, [esi + esi + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, ebp
ja 0x1010634f
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x88]
movzx eax, byte [edx + ecx - 1]
mov byte [ecx + esi - 1], al
jmp 0x1010634f
mov eax, ebp
shr eax, 0x1f
add eax, ebp
sar eax, 1
test eax, eax
jbe 0x10106893
mov dword [esp + 0xa0], ebp
xor esi, esi
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x88]
mov ebp, ecx
movzx edx, byte [ebp + esi*2]
mov byte [ebx + esi*2], dl
movzx ecx, byte [ebp + esi*2 + 1]
mov byte [ebx + esi*2 + 1], cl
inc esi
cmp esi, eax
jb 0x10106312
mov ebp, dword [esp + 0xa0]
lea ecx, [esi + esi + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, ebp
ja 0x1010634f
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x88]
movzx eax, byte [ecx + edx - 1]
mov byte [ecx + esi - 1], al
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0xdc]
add dword [esp + 0x88], ebp
add edx, ebp
sub dword [esp + 0x8c], ebp
mov dword [esp + 0xdc], edx
cmp edi, 5
je 0x101065f7
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ecx
cmp edi, 1
je 0x10105cf5
cmp dword [esp + 0x8c], 0
je 0x101065f7
mov ecx, dword [esp + 0x88]
mov edi, 1
mov edx, dword [esp + 0x3c]
mov byte [ecx], dl
mov esi, dword [esp + 0x4c]
dec esi
inc dword [esp + 0x48]
inc dword [esp + 0xdc]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x4c], esi
jmp 0x10105cf5
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x8c], edi
mov edi, 4
mov dword [esp + 0x88], eax
cmp edx, ebp
jg 0x101068ad
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x30], ecx
mov ecx, edx
mov eax, dword [esp + 0x98]
mov edx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
jmp 0x1010644a
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], esi
test eax, eax
jle 0x101068a7
movzx ebx, byte [edx]
inc edx
shl ebx, cl
add ecx, 8
or esi, ebx
dec eax
mov dword [esp + 0x98], edx
cmp ecx, ebp
mov dword [esp + 0x9c], eax
jle 0x1010643c
jmp 0x101068a7
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x8c], edi
mov edi, 3
mov dword [esp + 0x88], eax
cmp edx, dword [esp + 0x5c]
jg 0x10106903
mov eax, dword [esp + 0x98]
mov ecx, edx
mov ebp, dword [esp + 0x9c]
mov edx, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], ebx
jmp 0x101064d2
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], esi
test ebp, ebp
jle 0x101068fd
movzx ebx, byte [edx]
inc edx
shl ebx, cl
add ecx, 8
or esi, ebx
dec ebp
mov dword [esp + 0x98], edx
cmp ecx, eax
mov dword [esp + 0x9c], ebp
jle 0x101064c4
jmp 0x101068fd
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x8c], edi
mov edi, 2
mov dword [esp + 0x88], eax
cmp edx, ebp
jg 0x10106954
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x38], ecx
mov ecx, edx
mov eax, dword [esp + 0x98]
mov edx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], ebx
jmp 0x1010655c
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], esi
test eax, eax
jle 0x1010694e
movzx ebx, byte [edx]
inc edx
shl ebx, cl
add ecx, 8
or esi, ebx
dec eax
mov dword [esp + 0x98], edx
cmp ecx, ebp
mov dword [esp + 0x9c], eax
jle 0x1010654e
jmp 0x1010694e
mov edx, dword [esp + 0x4c]
mov edi, 1
mov dword [esp + 0x8c], edx
jmp 0x10105cf5
mov edx, dword [esp + 0x94]
cmp edx, ebx
mov esi, dword [esp + 0x90]
jg 0x101069d5
mov ebp, dword [esp + 0x98]
mov ecx, edx
jmp 0x101065cb
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], esi
test eax, eax
jle 0x101069cf
movzx edx, byte [ebp]
inc ebp
shl edx, cl
add ecx, 8
or esi, edx
dec eax
mov dword [esp + 0x98], ebp
cmp ecx, ebx
mov dword [esp + 0x9c], eax
jle 0x101065bd
jmp 0x101069cf
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa0], ebp
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x44], eax
lea eax, [edi - 2]
cmp eax, 4
ja 0x10106659
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x3c]
mov dword [ebx], edi
mov dword [ebx + 4], eax
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0xa0]
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], eax
xor eax, eax
mov ebx, dword [esp + 0x70]
mov dword [ebx], 2
jmp 0x10106683
test edi, edi
jne 0x1010666b
mov eax, dword [esp + 0x70]
mov dword [eax], 0
xor eax, eax
jmp 0x10106683
cmp edi, 1
jne 0x1010667e
mov eax, dword [esp + 0x70]
mov dword [eax], 1
xor eax, eax
jmp 0x10106683
mov eax, 0xffffff38
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 0x98]
mov dword [edi], ebx
mov edi, dword [esp + 0x80]
mov ebx, dword [esp + 0x44]
mov dword [edi], ebx
mov dword [ecx], esi
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov dword [ebp], edx
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov dword [ecx], edx
mov dword [esi], ebp
add esp, 0xac
pop ebp
pop ebx
pop edi
pop esi
ret
mov edx, 1
jmp 0x10105f01
mov edx, 1
jmp 0x10105f8a
mov esi, 1
jmp 0x10106051
mov ecx, 1
jmp 0x101061a9
mov ecx, 1
jmp 0x10106216
cmp dword [esp + 0x24], 0
jle 0x101060f6
cmp dword [esp + 0x24], 6
jle 0x101067c7
mov edx, dword [esp + 0x6c]
sub edx, dword [esp + 0x2c]
mov dword [esp], edx
cmp edx, dword [esp + 0x88]
jae 0x10106736
mov edx, dword [esp + 0x88]
sub edx, dword [esp]
cmp edx, dword [esp + 0x24]
jge 0x10106756
mov edx, dword [esp + 0x88]
cmp edx, dword [esp]
jae 0x101067c7
mov edx, dword [esp]
sub edx, dword [esp + 0x88]
cmp edx, dword [esp + 0x24]
jl 0x101067c7
mov edx, esi
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
test eax, eax
jbe 0x10106847
mov dword [esp + 0xa0], ebp
xor edx, edx
mov dword [esp + 0x34], ebx
mov ebp, dword [esp]
mov esi, dword [esp + 0x88]
movzx ecx, byte [ebp + edx*2]
mov byte [esi + edx*2], cl
movzx ebx, byte [ebp + edx*2 + 1]
mov byte [esi + edx*2 + 1], bl
inc edx
cmp edx, eax
jb 0x10106780
mov ebp, dword [esp + 0xa0]
lea ecx, [edx + edx + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x24]
ja 0x101060e4
mov edx, dword [esp]
mov esi, dword [esp + 0x88]
movzx eax, byte [edx + ecx - 1]
mov byte [ecx + esi - 1], al
jmp 0x101060e4
mov edx, esi
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sar ecx, 1
test ecx, ecx
jbe 0x10106840
mov eax, dword [esp + 0x6c]
xor edx, edx
mov dword [esp + 0xa0], ebp
sub eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x34], ebx
movzx ebx, byte [eax + edx*2]
mov byte [ebp + edx*2], bl
movzx ebx, byte [eax + edx*2 + 1]
mov byte [ebp + edx*2 + 1], bl
inc edx
cmp edx, ecx
jb 0x101067f2
mov ebp, dword [esp + 0xa0]
lea ecx, [edx + edx + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x24]
ja 0x101060e4
mov edx, dword [esp + 0x2c]
neg edx
add edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x88]
movzx eax, byte [ecx + edx - 1]
mov byte [ecx + esi - 1], al
jmp 0x101060e4
mov ecx, 1
jmp 0x10106817
mov ecx, 1
jmp 0x101067a5
mov eax, dword [esp + 0x9c]
mov edi, 7
mov dword [esp + 0xa0], ebp
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x44], eax
jmp 0x10106625
mov ecx, 1
jmp 0x101062d1
mov ecx, 1
jmp 0x10106337
mov ecx, 1
jmp 0x101060c6
mov ebx, dword [esp + 0x34]
mov edx, ecx
cmp ebp, edx
jg 0x101068d8
movzx eax, word [ebp*2 + 0x1044ac74]
mov ecx, ebp
and eax, esi
sub edx, ebp
shr esi, cl
add dword [esp + 0x40], eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edx
jmp 0x10105dca
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa0], ebp
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x44], eax
jmp 0x10106625
mov ebx, dword [esp + 0x34]
mov edx, ecx
mov ebp, esi
and ebp, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
movzx eax, word [ecx + ebp*2 + 0x400]
movzx ebp, byte [ebp + ecx]
mov ecx, ebp
and ecx, 0xf
mov dword [esp + 0x40], eax
cmp edx, ecx
jl 0x101068d8
shr ebp, 4
sub edx, ecx
shr esi, cl
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edx
test ebp, ebp
je 0x10105dca
mov edi, 4
jmp 0x10106414
mov ebx, dword [esp + 0x34]
mov edx, ecx
cmp ebp, edx
jg 0x101068d8
movzx eax, word [ebp*2 + 0x1044ac74]
mov ecx, ebp
and eax, esi
sub edx, ebp
shr esi, cl
mov edi, 3
add dword [esp + 0x3c], eax
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edx
jmp 0x1010649e
mov edx, dword [esp + 0x48]
xor edi, edi
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x88], edx
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x44], eax
mov dword [esp + 0x8c], ebx
jmp 0x10106625
mov dword [esp + 0x44], eax
mov edx, ecx
mov ecx, esi
and ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x64]
movzx eax, byte [ebp + ecx*2 + 1]
movzx ebp, byte [ebp + ecx*2]
mov ecx, ebp
and ecx, 0xf
mov dword [esp + 0x3c], eax
cmp edx, ecx
jl 0x10106a94
shr esi, cl
sub edx, ecx
and ebp, 0xf0
jne 0x10106a29
mov eax, dword [esp + 0x48]
mov edi, 6
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x88], eax
jmp 0x101063ab
cmp ebp, 0xf0
jne 0x10106a58
mov eax, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 0xa0], ebp
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x88], eax
jmp 0x10106625
shr ebp, 4
mov edi, dword [esp + 0x48]
add eax, 3
mov dword [esp + 0x94], edx
and ebp, 7
mov dword [esp + 0x90], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x88], edi
je 0x10106a8a
mov edi, 2
jmp 0x10106526
mov edi, 3
jmp 0x1010649e
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa0], ebp
mov ebp, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x88], eax
jmp 0x10106625
mov dword [esp], esi
mov esi, dword [esp + 0x60]
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], eax
mov edi, dword [esi]
mov eax, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x40], eax
mov esi, dword [esp]
cmp edi, 1
je 0x10105ce0
cmp edi, 6
je 0x10106aff
cmp edi, 2
je 0x10106b59
cmp edi, 3
je 0x10106b46
cmp edi, 4
je 0x10106b2c
cmp edi, 5
je 0x10106b19
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ecx
mov ebp, dword [esp + 0xa0]
jmp 0x101063ab
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ecx
jmp 0x10105dca
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ecx
mov ebp, dword [esp + 0xa0]
jmp 0x10106414
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ecx
jmp 0x1010649e
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ecx
mov ebp, dword [esp + 0xa0]
jmp 0x10106526
mov eax, 0xffffff38
add esp, 0xac
pop ebp
pop ebx
pop edi
pop esi
ret