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

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0xe4
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x114]
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x128]
mov edi, dword [esp + 0x100]
mov eax, dword [eax]
mov dword [esp + 0xb0], eax
mov eax, dword [edx + 0x10]
mov edi, dword [edi]
mov dword [esp + 0xb4], edi
mov edi, dword [edx + 0x14]
movzx edx, word [eax*2 + 0x1044ac20]
mov dword [esp + 0xbc], edx
mov edx, dword [esp + 0x118]
mov esi, dword [esp + 0xf8]
mov ecx, dword [esp + 0xfc]
mov ebp, dword [esp + 0x104]
mov ebx, dword [esp + 0x10c]
mov dword [esp + 0xc4], eax
movzx eax, word [edi*2 + 0x1044ac20]
mov esi, dword [esi]
mov ebx, dword [ebx]
mov ebp, dword [ebp]
mov ecx, dword [ecx]
mov dword [esp + 0xc0], edi
mov dword [esp + 0xb8], eax
cmp dword [edx], 2
je 0x10103afb
mov dword [esp + 0xa0], 0
mov eax, 1
mov edi, esi
mov edx, ebp
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xcc], edx
mov esi, dword [esp + 0xb4]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xa4], eax
mov eax, ecx
sub eax, ebp
add eax, 8
mov edx, eax
sar edx, 2
shr edx, 0x1d
add edx, eax
sar edx, 3
mov dword [esp + 0xd4], edx
cmp ebp, ecx
mov eax, dword [esp + 0xa4]
jg 0x10102b53
xor edx, edx
mov ecx, ebp
mov dword [esp + 0xa4], eax
mov ebp, edx
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0xdc]
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xcc]
test ebx, ebx
jle 0x10102b35
movzx edx, byte [ebp + edi]
lea ecx, [eax + ebp*8]
shl edx, cl
dec ebx
or esi, edx
lea edx, [ebp + edi + 1]
inc ebp
add ecx, 8
cmp ebp, dword [esp + 0xd4]
jb 0x10102b13
mov dword [esp + 0xdc], ebx
mov ebp, ecx
mov dword [esp + 0xe0], edx
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0x9c]
mov ecx, esi
and ecx, dword [esp + 0xbc]
mov edi, dword [esp + 0x124]
movzx edx, byte [edi + ecx*2 + 1]
mov dword [esp + 0xa8], edx
movzx edx, byte [edi + ecx*2]
mov ecx, edx
and ecx, 0xf
cmp ebp, ecx
jl 0x10103ada
shr esi, cl
sub ebp, ecx
and edx, 0xf0
jne 0x10102bcf
mov eax, 6
cmp dword [esp + 0xb0], 0
je 0x10103820
mov eax, dword [esp + 0xa8]
inc dword [esp + 0xac]
dec dword [esp + 0xb0]
mov edi, dword [esp + 0xe0]
mov byte [ebx], al
mov eax, 1
mov dword [esp + 0xcc], ebp
inc ebx
jmp 0x10102ab6
cmp edx, 0xf0
jne 0x10102cb9
mov dword [esp + 0xb4], esi
xor eax, eax
mov dword [esp + 0xd8], edx
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
lea edx, [eax - 2]
cmp edx, 4
ja 0x10102c39
mov edx, dword [esp + 0x128]
mov edi, dword [esp + 0xa0]
mov dword [edx], eax
mov eax, dword [esp + 0xa8]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xd8]
mov dword [edx + 8], edi
mov dword [edx + 0xc], eax
xor eax, eax
mov edx, dword [esp + 0x118]
mov dword [edx], 2
jmp 0x10102c69
test eax, eax
jne 0x10102c4e
mov eax, dword [esp + 0x118]
mov dword [eax], 0
xor eax, eax
jmp 0x10102c69
cmp eax, 1
jne 0x10102c64
mov eax, dword [esp + 0x118]
mov dword [eax], 1
xor eax, eax
jmp 0x10102c69
mov eax, 0xffffff38
mov edx, dword [esp + 0xf8]
mov edi, dword [esp + 0xb4]
mov dword [edx], esi
mov esi, dword [esp + 0xfc]
mov edx, dword [esp + 0x100]
mov dword [esi], ecx
mov dword [edx], edi
mov edx, dword [esp + 0x104]
mov ecx, dword [esp + 0x10c]
mov dword [edx], ebp
mov ebp, dword [esp + 0x110]
mov dword [ecx], ebx
mov ebx, dword [esp + 0xb0]
mov dword [ebp], ebx
add esp, 0xe4
pop ebp
pop ebx
pop edi
pop esi
ret
shr edx, 4
mov eax, dword [esp + 0xa8]
add eax, 3
mov dword [esp + 0xa8], eax
and edx, 7
je 0x10102de1
mov edi, dword [esp + 0xe0]
mov eax, 2
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xa4], eax
mov eax, edx
sub eax, ebp
add eax, 8
mov dword [esp + 0x9c], ebx
mov ebx, eax
sar ebx, 2
shr ebx, 0x1d
add ebx, eax
sar ebx, 3
mov dword [esp + 0xd0], ebx
cmp ebp, edx
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0x9c]
jg 0x10102dad
mov dword [esp + 0x98], 0
mov ecx, ebp
mov dword [esp + 0xa4], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xd8], edx
mov edx, dword [esp + 0xdc]
mov ebp, dword [esp + 0x98]
mov ebx, dword [esp + 0xe0]
mov eax, dword [esp + 0xcc]
test edx, edx
jle 0x10102d88
movzx ebx, byte [ebp + edi]
lea ecx, [eax + ebp*8]
shl ebx, cl
dec edx
or esi, ebx
lea ebx, [ebp + edi + 1]
inc ebp
add ecx, 8
cmp ebp, dword [esp + 0xd0]
jb 0x10102d66
mov dword [esp + 0xdc], edx
mov ebp, ecx
mov dword [esp + 0xe0], ebx
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0x9c]
mov edx, dword [esp + 0xd8]
cmp edx, ebp
jg 0x10103820
movzx eax, word [edx*2 + 0x1044ac20]
mov ecx, edx
and eax, esi
sub ebp, edx
add dword [esp + 0xa8], eax
mov eax, 3
mov edi, dword [esp + 0xe0]
shr esi, cl
mov dword [esp + 0xcc], ebp
jmp 0x10102df4
mov edi, dword [esp + 0xe0]
mov eax, 3
mov dword [esp + 0xcc], ebp
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xa4], eax
mov eax, ecx
sub eax, ebp
add eax, 8
mov edx, eax
sar edx, 2
shr edx, 0x1d
add edx, eax
mov dword [esp + 0x9c], ebx
sar edx, 3
mov eax, dword [esp + 0xa4]
cmp ebp, ecx
jg 0x10102e9c
mov dword [esp + 0x94], 0
mov ecx, ebp
mov dword [esp + 0xa4], eax
mov dword [esp + 0x9c], ebx
mov ebx, edx
mov eax, dword [esp + 0xdc]
mov ebp, dword [esp + 0x94]
mov edx, dword [esp + 0xe0]
test eax, eax
jle 0x10102e7e
mov ecx, dword [esp + 0xcc]
dec eax
movzx edx, byte [ebp + edi]
lea ecx, [ecx + ebp*8]
shl edx, cl
add ecx, 8
or esi, edx
lea edx, [ebp + edi + 1]
inc ebp
cmp ebp, ebx
jb 0x10102e5a
mov dword [esp + 0xdc], eax
mov ebp, ecx
mov dword [esp + 0xe0], edx
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xbc]
mov edx, esi
mov edi, dword [esp + 0x124]
and edx, dword [esp + 0xb8]
lea ecx, [edi + ecx*2]
movzx edi, word [ecx + edx*2 + 0x402]
movzx edx, byte [edx + ecx + 2]
mov ecx, edx
and ecx, 0xf
mov dword [esp + 0xa0], edi
cmp ebp, ecx
jl 0x10103ada
shr edx, 4
sub ebp, ecx
shr esi, cl
test edx, edx
jne 0x10102eee
mov dword [esp + 0xb4], esi
jmp 0x10102feb
mov edi, dword [esp + 0xe0]
mov eax, 4
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xb4], esi
mov ecx, edx
mov dword [esp + 0x90], edi
mov esi, ecx
sub esi, ebp
add esi, 8
mov edi, esi
sar edi, 2
shr edi, 0x1d
add edi, esi
sar edi, 3
mov dword [esp + 0xc8], edi
cmp ebp, ecx
jg 0x10102fc0
xor edx, edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xd8], ecx
mov ecx, ebp
mov ebx, dword [esp + 0xdc]
mov ebp, edx
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0xb4]
mov edx, dword [esp + 0xcc]
mov eax, dword [esp + 0x90]
test ebx, ebx
jle 0x10102f94
movzx esi, byte [ebp + eax]
lea ecx, [edx + ebp*8]
shl esi, cl
dec ebx
or edi, esi
lea esi, [ebp + eax + 1]
inc ebp
add ecx, 8
cmp ebp, dword [esp + 0xc8]
jb 0x10102f72
mov dword [esp + 0xdc], ebx
mov ebp, ecx
mov dword [esp + 0xe0], esi
mov dword [esp + 0xb4], edi
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xd8]
cmp ecx, ebp
jg 0x10103ac0
movzx eax, word [ecx*2 + 0x1044ac20]
sub ebp, ecx
mov esi, dword [esp + 0xb4]
and eax, esi
shr esi, cl
add dword [esp + 0xa0], eax
mov dword [esp + 0xb4], esi
mov ecx, dword [esp + 0xa8]
cmp ecx, dword [esp + 0xb0]
jle 0x10103018
mov ecx, dword [esp + 0xb0]
mov eax, 5
sub dword [esp + 0xa8], ecx
test ecx, ecx
je 0x10103841
jmp 0x1010301d
mov eax, 1
mov esi, dword [esp + 0xa0]
cmp esi, dword [esp + 0xac]
jbe 0x101036a2
cmp dword [esp + 0x11c], 0
je 0x10103a7a
mov esi, dword [esp + 0xac]
mov edi, esi
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa0]
sub edi, eax
mov dword [esp + 0x9c], ebx
mov ebx, ecx
add ebx, edi
mov dword [esp + 0x84], edi
mov edi, 0
cmovs ebx, edi
mov edi, ecx
sub eax, dword [esp + 0x108]
sub edi, ebx
sub eax, esi
mov dword [esp + 0x80], ebx
test eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x88], edi
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0x9c]
jle 0x101038a9
mov esi, dword [esp + 0x7c]
sub esi, dword [esp + 0x8c]
mov dword [esp + 0x78], esi
test esi, esi
jle 0x101030d1
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x88], esi
jmp 0x101030e2
cmp dword [esp + 0x7c], 0
jle 0x101034f2
xor esi, esi
mov dword [esp + 0x78], esi
cmp dword [esp + 0x88], 6
jle 0x101031ee
mov esi, dword [esp + 0x108]
mov edi, dword [esp + 0x11c]
add edi, esi
mov esi, dword [esp + 0x84]
add edi, dword [esp + 0x120]
mov dword [esp + 0x60], edi
add esi, edi
mov dword [esp + 0x5c], esi
cmp ebx, esi
jbe 0x1010312b
mov esi, ebx
sub esi, dword [esp + 0x5c]
cmp esi, dword [esp + 0x88]
jge 0x10103148
cmp ebx, dword [esp + 0x5c]
jae 0x101031ee
mov esi, dword [esp + 0x5c]
sub esi, ebx
cmp esi, dword [esp + 0x88]
jl 0x101031ee
mov esi, dword [esp + 0x88]
mov edi, esi
shr edi, 0x1f
add edi, esi
sar edi, 1
mov dword [esp + 0x6c], edi
test edi, edi
jbe 0x1010385b
mov edi, dword [esp + 0x60]
xor esi, esi
add edi, dword [esp + 0xac]
sub edi, dword [esp + 0xa0]
mov dword [esp + 0x60], edi
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0xa4], eax
mov ecx, edi
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x5c]
movzx eax, byte [ecx + esi*2]
mov byte [ebx + esi*2], al
movzx edx, byte [edi + esi*2 + 1]
mov byte [ebx + esi*2 + 1], dl
inc esi
cmp esi, ebp
jb 0x10103198
mov eax, dword [esp + 0xa4]
lea esi, [esi + esi + 1]
mov ecx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x88]
cmp esi, dword [esp + 0x74]
jb 0x101032c9
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x74]
movzx edx, byte [esi + edi - 1]
mov byte [edi + ebx - 1], dl
jmp 0x101032c9
mov esi, dword [esp + 0x88]
mov edi, esi
shr edi, 0x1f
add edi, esi
sar edi, 1
mov dword [esp + 0x68], edi
test edi, edi
jbe 0x10103882
mov esi, dword [esp + 0x108]
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x64], 0
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x58], ebp
add edi, esi
add edi, dword [esp + 0x120]
mov esi, dword [esp + 0xac]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0xa4], eax
add esi, edi
add edi, dword [esp + 0x84]
sub esi, dword [esp + 0xa0]
mov ecx, edi
mov edi, dword [esp + 0x68]
movzx edx, byte [esi + ebp*2]
mov byte [ebx + ebp*2], dl
movzx eax, byte [ecx + ebp*2 + 1]
mov byte [ebx + ebp*2 + 1], al
inc ebp
cmp ebp, edi
jb 0x1010325c
mov dword [esp + 0x64], ebp
mov esi, ebp
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x58]
lea edi, [esi + esi + 1]
mov dword [esp + 0x70], edi
mov esi, dword [esp + 0x88]
cmp esi, dword [esp + 0x70]
jb 0x101032c9
mov esi, dword [esp + 0x108]
mov edi, dword [esp + 0x11c]
add esi, edi
mov edi, dword [esp + 0x70]
add esi, dword [esp + 0x120]
add esi, dword [esp + 0x84]
movzx edx, byte [edi + esi - 1]
mov byte [edi + ebx - 1], dl
cmp dword [esp + 0x78], 0
je 0x101034f2
jle 0x101034f2
cmp dword [esp + 0x78], 6
jle 0x101033f9
mov esi, dword [esp + 0x108]
mov edi, dword [esp + 0xac]
add edi, esi
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x24], edi
add esi, ebx
sub esi, edi
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x11c]
jbe 0x1010331e
sub esi, dword [esp + 0x11c]
cmp esi, dword [esp + 0x78]
jge 0x10103344
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x11c]
jae 0x101033f9
mov esi, dword [esp + 0x11c]
sub esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x78]
jl 0x101033f9
mov esi, dword [esp + 0x78]
mov edi, esi
shr edi, 0x1f
add edi, esi
sar edi, 1
mov dword [esp + 0x34], edi
test edi, edi
jbe 0x10103868
mov edi, dword [esp + 0x24]
xor esi, esi
neg edi
add edi, ebx
add edi, dword [esp + 0xa0]
mov dword [esp + 0x24], edi
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0xa4], eax
mov ecx, edi
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x11c]
movzx eax, byte [edi + esi*2]
mov byte [ecx + esi*2], al
movzx edx, byte [edi + esi*2 + 1]
mov byte [ebp + esi*2 + 1], dl
inc esi
cmp esi, ebx
jb 0x1010339c
mov eax, dword [esp + 0xa4]
lea esi, [esi + esi + 1]
mov ebx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x40]
cmp esi, dword [esp + 0x78]
ja 0x101034f2
mov edi, dword [esp + 0x11c]
movzx edx, byte [esi + edi - 1]
mov edi, dword [esp + 0x18]
mov byte [edi + esi - 1], dl
jmp 0x101034f2
mov esi, dword [esp + 0x78]
mov edi, esi
shr edi, 0x1f
add edi, esi
sar edi, 1
mov dword [esp + 0x38], edi
test edi, edi
jbe 0x10103875
mov dword [esp + 0xa4], eax
mov edi, ebx
mov eax, dword [esp + 0x108]
mov esi, dword [esp + 0xac]
mov dword [esp + 0x20], 0
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xd8], ecx
add esi, eax
mov eax, dword [esp + 0xa0]
sub edi, esi
add edi, eax
mov dword [esp + 0x58], ebp
add eax, ebx
sub eax, esi
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov ebx, edi
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x11c]
movzx eax, byte [edi + ebp*2]
mov byte [ebx + ebp*2], al
movzx edx, byte [edi + ebp*2 + 1]
mov byte [ecx + ebp*2 + 1], dl
inc ebp
cmp ebp, esi
jb 0x1010346d
mov dword [esp + 0x20], ebp
mov esi, ebp
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xd8]
lea edi, [esi + esi + 1]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x3c], edi
mov esi, dword [esp + 0x78]
cmp esi, dword [esp + 0x3c]
jb 0x101034f2
mov edi, dword [esp + 0x108]
mov esi, dword [esp + 0xac]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa0]
add esi, edi
mov edi, dword [esp + 0x3c]
neg esi
add eax, ebx
add esi, eax
mov eax, dword [esp + 0x11c]
movzx eax, byte [edi + eax - 1]
mov byte [edi + esi - 1], al
mov eax, dword [esp + 0xa4]
cmp dword [esp + 0x80], 0
je 0x101037a4
jle 0x101037a4
cmp dword [esp + 0x80], 6
jle 0x101035e5
mov esi, dword [esp + 0x7c]
mov edx, ebx
sub edx, dword [esp + 0xac]
mov dword [esp + 0x2c], edx
lea edi, [ebx + esi]
mov dword [esp + 0x28], edi
cmp edi, edx
jbe 0x1010353f
mov esi, edi
sub esi, dword [esp + 0x2c]
cmp esi, dword [esp + 0x80]
jge 0x1010355c
mov esi, edx
cmp esi, dword [esp + 0x28]
jbe 0x101035e5
sub esi, dword [esp + 0x28]
cmp esi, dword [esp + 0x80]
jl 0x101035e5
mov edi, dword [esp + 0x80]
mov esi, edi
shr esi, 0x1f
add esi, edi
sar esi, 1
test esi, esi
jbe 0x1010388f
mov dword [esp + 0x9c], ebx
xor edi, edi
mov dword [esp + 0x58], ebp
mov dword [esp + 0xd8], ecx
mov ebx, dword [esp + 0x28]
mov ebp, edx
movzx edx, byte [ebp + edi*2]
mov byte [ebx + edi*2], dl
movzx ecx, byte [ebp + edi*2 + 1]
mov byte [ebx + edi*2 + 1], cl
inc edi
cmp edi, esi
jb 0x1010358e
mov ebx, dword [esp + 0x9c]
lea esi, [edi + edi + 1]
mov ecx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x4c], esi
mov esi, dword [esp + 0x4c]
cmp esi, dword [esp + 0x80]
ja 0x101037a4
mov edi, dword [esp + 0x2c]
movzx edx, byte [esi + edi - 1]
mov edi, dword [esp + 0x28]
mov byte [edi + esi - 1], dl
jmp 0x101037a4
mov esi, dword [esp + 0x80]
mov edi, esi
shr edi, 0x1f
add edi, esi
sar edi, 1
mov dword [esp + 0x48], edi
test edi, edi
jbe 0x1010389c
mov edi, ebx
xor esi, esi
sub edi, dword [esp + 0xac]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0xd8], ecx
add edi, ebx
mov ebx, edi
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x48]
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, edi
jb 0x10103632
mov ebx, dword [esp + 0x9c]
lea esi, [esi + esi + 1]
mov ecx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x80]
cmp esi, dword [esp + 0x44]
jb 0x101037a4
mov esi, ebx
sub esi, dword [esp + 0xac]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xa4], eax
add edx, ebx
mov edi, dword [esp + 0x44]
movzx eax, byte [edi + esi - 1]
mov byte [edi + edx - 1], al
mov eax, dword [esp + 0xa4]
jmp 0x101037a4
test ecx, ecx
jle 0x101037a4
cmp ecx, 6
jle 0x10103738
mov esi, ebx
sub esi, dword [esp + 0xa0]
mov dword [esp + 0x50], esi
cmp ebx, esi
jbe 0x101036ce
mov esi, ebx
sub esi, dword [esp + 0x50]
cmp ecx, esi
jle 0x101036de
cmp ebx, dword [esp + 0x50]
jae 0x10103738
mov esi, dword [esp + 0x50]
sub esi, ebx
cmp ecx, esi
jg 0x10103738
mov edi, ecx
shr edi, 0x1f
add edi, ecx
sar edi, 1
test edi, edi
jbe 0x10103a99
mov dword [esp + 0x58], ebp
xor esi, esi
mov dword [esp + 0xd8], ecx
mov ebp, dword [esp + 0x50]
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, edi
jb 0x10103700
mov ecx, dword [esp + 0xd8]
lea edi, [esi + esi + 1]
mov ebp, dword [esp + 0x58]
cmp edi, ecx
ja 0x101037a4
mov esi, dword [esp + 0x50]
movzx edx, byte [esi + edi - 1]
mov byte [edi + ebx - 1], dl
jmp 0x101037a4
mov esi, ecx
shr esi, 0x1f
add esi, ecx
sar esi, 1
mov dword [esp + 0x54], esi
test esi, esi
jbe 0x10103aa3
mov edi, ebx
xor esi, esi
sub edi, dword [esp + 0xa0]
mov dword [esp + 0x58], ebp
mov dword [esp + 0xd8], ecx
mov ebp, edi
mov edi, dword [esp + 0x54]
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, edi
jb 0x10103769
mov ecx, dword [esp + 0xd8]
lea edi, [esi + esi + 1]
mov ebp, dword [esp + 0x58]
cmp edi, ecx
ja 0x101037a4
mov esi, ebx
sub esi, dword [esp + 0xa0]
movzx edx, byte [edi + esi - 1]
mov byte [edi + ebx - 1], dl
add dword [esp + 0xac], ecx
add ebx, ecx
sub dword [esp + 0xb0], ecx
cmp eax, 5
je 0x10103ac0
mov esi, dword [esp + 0xe0]
cmp eax, 1
mov dword [esp + 0x90], esi
mov dword [esp + 0xcc], ebp
je 0x10103aad
mov esi, dword [esp + 0xe0]
mov dword [esp + 0x90], esi
mov dword [esp + 0xcc], ebp
je 0x10103aad
mov esi, dword [esp + 0xe0]
mov edx, esi
mov edi, ebp
cmp eax, 4
jne 0x101037fd
mov dword [esp + 0xe0], esi
mov dword [esp + 0xcc], edi
mov dword [esp + 0x90], edx
jmp 0x10102f11
mov dword [esp + 0xb4], esi
mov dword [esp + 0xd8], edx
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
jmp 0x10102bf9
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
jmp 0x10102bf9
mov dword [esp + 0x74], 1
jmp 0x101031c7
mov dword [esp + 0x40], 1
jmp 0x101033d2
mov dword [esp + 0x3c], 1
jmp 0x101034a9
mov dword [esp + 0x70], 1
jmp 0x10103291
mov dword [esp + 0x4c], 1
jmp 0x101035be
mov dword [esp + 0x44], 1
jmp 0x10103662
cmp dword [esp + 0x7c], 0
jle 0x101034f2
cmp dword [esp + 0x7c], 6
jle 0x10103998
mov esi, dword [esp + 0x108]
mov edi, dword [esp + 0x11c]
add edi, esi
mov esi, dword [esp + 0x84]
mov dword [esp + 8], edi
add esi, edi
mov dword [esp], esi
cmp ebx, esi
jbe 0x101038ee
mov esi, ebx
sub esi, dword [esp]
cmp esi, dword [esp + 0x7c]
jge 0x10103906
cmp ebx, dword [esp]
jae 0x10103998
mov esi, dword [esp]
sub esi, ebx
cmp esi, dword [esp + 0x7c]
jl 0x10103998
mov esi, dword [esp + 0x7c]
mov edi, esi
shr edi, 0x1f
add edi, esi
sar edi, 1
mov dword [esp + 0x10], edi
test edi, edi
jbe 0x10103a66
mov edi, dword [esp + 8]
xor esi, esi
add edi, dword [esp + 0xac]
sub edi, dword [esp + 0xa0]
mov dword [esp + 8], edi
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0xa4], eax
mov ecx, edi
mov ebp, dword [esp + 0x10]
mov edi, dword [esp]
movzx eax, byte [ecx + esi*2]
mov byte [ebx + esi*2], al
movzx edx, byte [edi + esi*2 + 1]
mov byte [ebx + esi*2 + 1], dl
inc esi
cmp esi, ebp
jb 0x10103952
mov eax, dword [esp + 0xa4]
lea edi, [esi + esi + 1]
mov ecx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x58]
cmp edi, dword [esp + 0x7c]
ja 0x101034f2
mov esi, dword [esp]
movzx edx, byte [esi + edi - 1]
mov byte [edi + ebx - 1], dl
jmp 0x101034f2
mov esi, dword [esp + 0x7c]
mov edi, esi
shr edi, 0x1f
add edi, esi
sar edi, 1
mov dword [esp + 0xc], edi
test edi, edi
jbe 0x10103a70
xor esi, esi
mov dword [esp + 4], esi
mov edi, dword [esp + 0x108]
mov esi, dword [esp + 0x11c]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0xa4], eax
add esi, edi
mov edi, dword [esp + 0xac]
mov ebp, dword [esp + 4]
add edi, esi
add esi, dword [esp + 0x84]
sub edi, dword [esp + 0xa0]
mov ecx, edi
mov edi, dword [esp + 0xc]
movzx edx, byte [ecx + ebp*2]
mov byte [ebx + ebp*2], dl
movzx eax, byte [esi + ebp*2 + 1]
mov byte [ebx + ebp*2 + 1], al
inc ebp
cmp ebp, edi
jb 0x101039fa
mov dword [esp + 4], ebp
mov esi, ebp
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xd8]
mov ebp, dword [esp + 0x58]
lea edi, [esi + esi + 1]
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x7c]
cmp esi, dword [esp + 0x14]
jb 0x101034f2
mov esi, dword [esp + 0x108]
mov edi, dword [esp + 0x11c]
add esi, edi
mov edi, dword [esp + 0x14]
add esi, dword [esp + 0x84]
movzx edx, byte [edi + esi - 1]
mov byte [edi + ebx - 1], dl
jmp 0x101034f2
mov edi, 1
jmp 0x1010397d
mov dword [esp + 0x14], 1
jmp 0x10103a2f
mov dword [esp + 0xd8], ecx
mov eax, 7
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
jmp 0x10102bf9
mov edi, 1
jmp 0x10103725
mov edi, 1
jmp 0x1010378e
mov esi, dword [esp + 0xb4]
mov edi, dword [esp + 0x90]
jmp 0x10102ab6
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
jmp 0x10102bf9
mov dword [esp + 0xb4], esi
mov dword [esp + 0xd8], edx
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
jmp 0x10102bf9
mov edi, dword [esp + 0x128]
mov edx, dword [edi + 4]
mov dword [esp + 0xa8], edx
mov eax, dword [edi]
cmp eax, 1
mov edx, dword [edi + 8]
mov edi, dword [edi + 0xc]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xd8], edi
je 0x10102a96
mov edi, esi
mov edx, ebp
cmp eax, 6
je 0x10103b92
cmp eax, 2
je 0x10103bfc
cmp eax, 3
je 0x10103bdb
cmp eax, 4
je 0x10103bb3
cmp eax, 5
je 0x10103b78
cmp eax, 1
je 0x10102a9a
cmp eax, 6
je 0x10103b92
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], esi
mov ecx, dword [esp + 0xd8]
jmp 0x101037f6
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ecx
mov esi, dword [esp + 0xb4]
jmp 0x10102ee2
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ecx
mov edx, dword [esp + 0xd8]
mov esi, dword [esp + 0xb4]
jmp 0x10102b91
mov dword [esp + 0xe0], esi
mov dword [esp + 0xcc], edx
mov dword [esp + 0xdc], ecx
mov edx, dword [esp + 0xd8]
mov esi, dword [esp + 0xb4]
jmp 0x10102f01
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xcc], edx
mov esi, dword [esp + 0xb4]
jmp 0x10102df4
mov dword [esp + 0xe0], esi
mov dword [esp + 0xcc], edx
mov dword [esp + 0xdc], ecx
mov edx, dword [esp + 0xd8]
mov esi, dword [esp + 0xb4]
jmp 0x10102ce9