Function at 0x10107390
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 + 0x1044aca8]
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x5c], esi
movzx esi, word [esi*2 + 0x1044aca8]
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 0x10108289
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]
mov dword [esp + 0x44], eax
cmp eax, 6
jle 0x10107d6c
cmp dword [esp + 0x8c], 8
jle 0x10107d6c
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.1010f010
add esp, 0x44
test eax, eax
je 0x10108154
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.0x1010757d
jmp dword [eax*4 + 0x1044acc8]
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 0x101075c3
mov ebp, dword [esp + 0x8c]
mov edi, 5
sub dword [esp + 0x3c], ebp
test ebp, ebp
je 0x10107dc7
jmp 0x101075c8
mov edi, 1
mov edx, dword [esp + 0xdc]
cmp edx, dword [esp + 0x40]
jae 0x10107a06
cmp dword [esp + 0x6c], 0
je 0x10108021
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 0x10107ecc
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 0x1010777c
cmp eax, 6
jle 0x101076f2
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 0x10107661
mov edx, dword [esp + 0x88]
sub edx, dword [esp + 0x18]
cmp eax, edx
jle 0x1010767f
mov edx, dword [esp + 0x88]
cmp edx, dword [esp + 0x18]
jae 0x101076f2
mov edx, esi
sub edx, dword [esp + 0x88]
cmp eax, edx
jg 0x101076f2
mov edx, eax
shr edx, 0x1f
add edx, eax
sar edx, 1
test edx, edx
jbe 0x10107e9a
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 0x101076a8
mov eax, dword [esp + 0x14]
lea edx, [ecx + ecx + 1]
mov ebp, dword [esp + 0xa0]
mov ebx, dword [esp + 0x34]
cmp edx, eax
ja 0x1010777c
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x88]
movzx eax, byte [ecx + edx - 1]
mov byte [edx + esi - 1], al
jmp 0x1010777c
mov edx, eax
shr edx, 0x1f
add edx, eax
sar edx, 1
mov dword [esp + 0x1c], edx
test edx, edx
jbe 0x10107ea4
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 0x10107731
mov eax, dword [esp + 0x14]
lea edx, [ecx + ecx + 1]
mov ebp, dword [esp + 0xa0]
mov ebx, dword [esp + 0x34]
cmp edx, eax
ja 0x1010777c
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 0x101078b4
jle 0x101078b4
cmp dword [esp + 0x20], 6
jle 0x1010783e
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 0x101077bc
mov edx, esi
sub edx, dword [esp + 0x6c]
cmp edx, dword [esp + 0x20]
jge 0x101077d2
mov edx, esi
cmp edx, dword [esp + 0x6c]
jae 0x1010783e
mov edx, dword [esp + 0x6c]
sub edx, dword [esp + 4]
cmp edx, dword [esp + 0x20]
jl 0x1010783e
mov edx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
test eax, eax
jbe 0x10107eae
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 0x101077fc
mov ebp, dword [esp + 0xa0]
lea esi, [esi + esi + 1]
mov ebx, dword [esp + 0x34]
cmp esi, dword [esp + 0x20]
ja 0x101078b4
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 4]
movzx eax, byte [esi + edx - 1]
mov byte [ecx + esi - 1], al
jmp 0x101078b4
mov edx, dword [esp + 0x20]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sar ecx, 1
test ecx, ecx
jbe 0x1010806d
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 0x10107871
mov ebp, dword [esp + 0xa0]
lea ecx, [edx + edx + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x20]
ja 0x101078b4
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 0x101078dd
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x8c], ecx
jmp 0x10107b3c
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 0x101078cd
cmp dword [esp + 0x28], 6
jle 0x10107999
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0xc]
jbe 0x10107916
sub edx, dword [esp + 0xc]
cmp edx, dword [esp + 0x28]
jge 0x1010792c
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0xc]
jae 0x10107999
mov edx, ecx
sub edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x28]
jl 0x10107999
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
test eax, eax
jbe 0x10107eb8
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 0x10107954
mov ebp, dword [esp + 0xa0]
lea ecx, [esi + esi + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x28]
ja 0x10107b1f
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
movzx eax, byte [edx + ecx - 1]
mov byte [ecx + esi - 1], al
jmp 0x10107b1f
mov edx, dword [esp + 0x28]
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
test eax, eax
jbe 0x10107ec2
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 0x101079c1
mov ebp, dword [esp + 0xa0]
lea ecx, [esi + esi + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x28]
ja 0x10107b1f
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
movzx eax, byte [ecx + edx - 1]
mov byte [ecx + esi - 1], al
jmp 0x10107b1f
mov ecx, dword [esp + 0x88]
sub ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
test ebp, ebp
jle 0x10107b3c
cmp ebp, 6
jle 0x10107abb
mov edx, dword [esp + 0x88]
cmp edx, dword [esp + 0x10]
jbe 0x10107a3b
sub edx, dword [esp + 0x10]
cmp ebp, edx
jle 0x10107a55
mov edx, dword [esp + 0x88]
cmp edx, dword [esp + 0x10]
jae 0x10107abb
mov edx, ecx
sub edx, dword [esp + 0x88]
cmp ebp, edx
jg 0x10107abb
mov eax, ebp
shr eax, 0x1f
add eax, ebp
sar eax, 1
test eax, eax
jbe 0x10108059
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 0x10107a7c
mov ebp, dword [esp + 0xa0]
lea ecx, [esi + esi + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, ebp
ja 0x10107b1f
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x88]
movzx eax, byte [edx + ecx - 1]
mov byte [ecx + esi - 1], al
jmp 0x10107b1f
mov eax, ebp
shr eax, 0x1f
add eax, ebp
sar eax, 1
test eax, eax
jbe 0x10108063
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 0x10107ae2
mov ebp, dword [esp + 0xa0]
lea ecx, [esi + esi + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, ebp
ja 0x10107b1f
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 0x10107dc7
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ecx
cmp edi, 1
je 0x101074c5
cmp dword [esp + 0x8c], 0
je 0x10107dc7
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 0x101074c5
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 0x1010807d
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 0x10107c1a
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], esi
test eax, eax
jle 0x10108077
movzx ebx, byte [edx]
inc edx
shl ebx, cl
add ecx, 8
or esi, ebx
dec eax
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
cmp ecx, ebp
jle 0x10107c0c
jmp 0x10108077
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 0x101080d3
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 0x10107ca2
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], esi
test ebp, ebp
jle 0x101080cd
movzx ebx, byte [edx]
inc edx
shl ebx, cl
add ecx, 8
or esi, ebx
dec ebp
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ebp
cmp ecx, eax
jle 0x10107c94
jmp 0x101080cd
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 0x10108124
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 0x10107d2c
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], esi
test eax, eax
jle 0x1010811e
movzx ebx, byte [edx]
inc edx
shl ebx, cl
add ecx, 8
or esi, ebx
dec eax
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
cmp ecx, ebp
jle 0x10107d1e
jmp 0x1010811e
mov edx, dword [esp + 0x4c]
mov edi, 1
mov dword [esp + 0x8c], edx
jmp 0x101074c5
mov edx, dword [esp + 0x94]
mov esi, dword [esp + 0x90]
cmp edx, ebx
jg 0x101081a5
mov ebp, dword [esp + 0x98]
mov ecx, edx
jmp 0x10107d9b
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], esi
test eax, eax
jle 0x1010819f
movzx edx, byte [ebp]
inc ebp
shl edx, cl
add ecx, 8
or esi, edx
dec eax
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], eax
cmp ecx, ebx
jle 0x10107d8d
jmp 0x1010819f
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 0x10107e29
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 0x10107e53
test edi, edi
jne 0x10107e3b
mov eax, dword [esp + 0x70]
mov dword [eax], 0
xor eax, eax
jmp 0x10107e53
cmp edi, 1
jne 0x10107e4e
mov eax, dword [esp + 0x70]
mov dword [eax], 1
xor eax, eax
jmp 0x10107e53
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 0x101076d1
mov edx, 1
jmp 0x1010775a
mov esi, 1
jmp 0x10107821
mov ecx, 1
jmp 0x10107979
mov ecx, 1
jmp 0x101079e6
cmp dword [esp + 0x24], 0
jle 0x101078c6
cmp dword [esp + 0x24], 6
jle 0x10107f97
mov edx, dword [esp + 0x6c]
sub edx, dword [esp + 0x2c]
mov dword [esp], edx
cmp edx, dword [esp + 0x88]
jae 0x10107f06
mov edx, dword [esp + 0x88]
sub edx, dword [esp]
cmp edx, dword [esp + 0x24]
jge 0x10107f26
mov edx, dword [esp + 0x88]
cmp edx, dword [esp]
jae 0x10107f97
mov edx, dword [esp]
sub edx, dword [esp + 0x88]
cmp edx, dword [esp + 0x24]
jl 0x10107f97
mov edx, esi
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
test eax, eax
jbe 0x10108017
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 0x10107f50
mov ebp, dword [esp + 0xa0]
lea ecx, [edx + edx + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x24]
ja 0x101078b4
mov edx, dword [esp]
mov esi, dword [esp + 0x88]
movzx eax, byte [edx + ecx - 1]
mov byte [ecx + esi - 1], al
jmp 0x101078b4
mov edx, esi
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sar ecx, 1
test ecx, ecx
jbe 0x10108010
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 0x10107fc2
mov ebp, dword [esp + 0xa0]
lea ecx, [edx + edx + 1]
mov ebx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x24]
ja 0x101078b4
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 0x101078b4
mov ecx, 1
jmp 0x10107fe7
mov ecx, 1
jmp 0x10107f75
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 0x10107df5
mov ecx, 1
jmp 0x10107aa1
mov ecx, 1
jmp 0x10107b07
mov ecx, 1
jmp 0x10107896
mov ebx, dword [esp + 0x34]
mov edx, ecx
cmp ebp, edx
jg 0x101080a8
movzx eax, word [ebp*2 + 0x1044aca8]
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 0x1010759a
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 0x10107df5
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 0x101080a8
shr ebp, 4
sub edx, ecx
shr esi, cl
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edx
test ebp, ebp
je 0x1010759a
mov edi, 4
jmp 0x10107be4
mov ebx, dword [esp + 0x34]
mov edx, ecx
cmp ebp, edx
jg 0x101080a8
movzx eax, word [ebp*2 + 0x1044aca8]
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 0x10107c6e
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 0x10107df5
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 0x10108264
shr esi, cl
sub edx, ecx
and ebp, 0xf0
jne 0x101081f9
mov eax, dword [esp + 0x48]
mov edi, 6
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x88], eax
jmp 0x10107b7b
cmp ebp, 0xf0
jne 0x10108228
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 0x10107df5
shr ebp, 4
mov edi, dword [esp + 0x48]
add eax, 3
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x88], edi
and ebp, 7
je 0x1010825a
mov edi, 2
jmp 0x10107cf6
mov edi, 3
jmp 0x10107c6e
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 0x10107df5
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 0x101074b0
cmp edi, 6
je 0x101082cf
cmp edi, 2
je 0x10108329
cmp edi, 3
je 0x10108316
cmp edi, 4
je 0x101082fc
cmp edi, 5
je 0x101082e9
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ecx
mov ebp, dword [esp + 0xa0]
jmp 0x10107b7b
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ecx
jmp 0x1010759a
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ecx
mov ebp, dword [esp + 0xa0]
jmp 0x10107be4
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ecx
jmp 0x10107c6e
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ecx
mov ebp, dword [esp + 0xa0]
jmp 0x10107cf6
mov eax, 0xffffff38
add esp, 0xac
pop ebp
pop ebx
pop edi
pop esi
ret