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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xffffffe0
sub esp, 0xd0
mov dword [esp + 0xbc], eax
mov eax, dword [0xd48044]
mov dword [esp + 0xcc], eax
xor eax, eax
mov dword [esp + 0xac], edx
test edx, edx
je 0x5a58a8
cmp edx, 1
je 0x5a5c5d
mov edi, dword [esp + 0xbc]
mov esi, edx
movzx ecx, word [edi + 4]
add cx, word [edi]
mov word [edi], cx
mov dword [esp + 0xb0], ecx
mov dword [esp + 4], 0xffffffff
mov dword [esp], edx
call fcn.00402690
lea ecx, [edi + esi*4 - 8]
mov dword [esp + 0xb4], eax
mov dword [esp + 0x9c], ecx
cmp eax, 1
jle 0x5a5c53
mov ecx, dword [esp + 0xb0]
mov ebx, 1
mov esi, 2
xor edx, edx
mov dword [esp + 0xb8], 0
lea eax, [edi + edx]
mov dword [esp + 0xb0], eax
cmp dword [esp + 0xac], esi
jg 0x5a58c8
mov word [edi + ebx*4], cx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], 1
mov dword [esp], ecx
call fcn.00402690
mov edx, ebx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xb0], esi
mov word [eax], bx
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0xa8]
lea ecx, [edi + edx*4]
movzx eax, word [ecx]
add word [edi + ebx*4], ax
mov dword [esp + 0xa4], ecx
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00402690
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
mov dword [esp + 0xb8], eax
mov word [ecx], dx
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.00402690
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0xa4], eax
cmp eax, ecx
je 0x5a5982
mov eax, dword [esp + 0xb8]
lea edx, [eax*4]
lea eax, [edi + edx]
movzx ecx, word [eax]
cmp dword [esp + 0xac], esi
jg 0x5a5c78
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x94], edx
lea edi, [esi*4]
mov dword [esp + 0x98], edi
add edi, ebx
mov word [edi], cx
mov word [eax], si
lea esi, [ebx + edx + 4]
movzx eax, word [esi]
add word [edi], ax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], 3
mov dword [esp], eax
call fcn.00402690
mov dword [esp + 0xb0], eax
movzx eax, word [esp + 0xa4]
mov word [esi], ax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.00402690
mov edx, dword [esp + 0x94]
mov ecx, eax
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xb4]
cmp ecx, eax
jge 0x5a5982
sub eax, ecx
mov dword [esp + 0x68], ecx
sub eax, 1
mov dword [esp + 0x70], eax
cmp eax, 7
jbe 0x5a5bf6
mov edi, dword [esp + 0xb0]
mov ebx, eax
lea eax, [edx + 8]
lea ecx, [edx + 0xc]
mov esi, eax
lea eax, [edi + ebx*2 + 1]
mov dword [esp + 0x64], edi
mov ebx, dword [esp + 0xac]
lea edi, [eax*4]
lea eax, [edx + 0x82]
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], edi
mov edi, dword [esp + 0x98]
lea ebx, [ebx*4 - 6]
add edi, 4
cmp ecx, eax
setge al
add edx, 0x86
cmp edx, esi
mov esi, dword [esp + 0xa4]
setle dl
or edx, eax
lea eax, [esi - 2]
cmp edi, eax
setge al
cmp dword [esp + 0xa8], ebx
setge byte [esp + 0xa4]
or al, byte [esp + 0xa4]
test dl, al
je 0x5a5c00
mov eax, esi
add eax, 2
cmp edi, eax
setge dl
cmp ecx, ebx
setge al
or al, dl
je 0x5a5c00
mov eax, dword [esp + 0x70]
cmp eax, 0xf
jbe 0x5a5c71
mov edx, dword [esp + 0xbc]
shr eax, 4
mov ebx, dword [esp + 0xa8]
vpbroadcastd ymm0, dword [esp + 0xa0]
shl eax, 7
vpaddd ymm0, ymm0, ymmword [0xd42580]
add ebx, edx
add edi, edx
add edx, ecx
add eax, ebx
mov dword [esp + 0x6c], eax
mov eax, 0x10
vmovd xmm7, eax
mov eax, 8
vpbroadcastd ymm7, xmm7
vmovdqu ymmword [esp + 0x30], ymm7
vmovd xmm7, eax
mov eax, 0xffff
vpbroadcastd ymm7, xmm7
vmovd xmm2, eax
vmovdqu ymmword [esp + 0x10], ymm7
vpbroadcastd ymm2, xmm2
lea esi, [esi]
vmovdqu ymm3, ymmword [ebx + 0x60]
vmovdqu ymm6, ymmword [ebx]
vmovdqu ymm1, ymm0
sub ebx, 0xffffff80
vmovdqu ymm5, ymmword [ebx - 0x60]
vmovdqu ymm4, ymmword [ebx - 0x40]
add edi, 0x40
sub edx, 0xffffff80
vpextrw word [edi - 0x10], xmm3, 0
vpextrw word [edi - 0xc], xmm3, 4
vextracti128 xmm3, ymm3, 1
vpextrw word [edi - 0x40], xmm6, 0
vpextrw word [edi - 8], xmm3, 0
vpextrw word [edi - 4], xmm3, 4
vpaddd ymm3, ymm1, ymmword [esp + 0x10]
vpand ymm1, ymm2, ymm1
vpextrw word [edi - 0x3c], xmm6, 4
vpextrw word [edi - 0x30], xmm5, 0
vpextrw word [edi - 0x2c], xmm5, 4
vpextrw word [edi - 0x20], xmm4, 0
vpand ymm3, ymm2, ymm3
vpextrw word [edi - 0x1c], xmm4, 4
vextracti128 xmm6, ymm6, 1
vextracti128 xmm4, ymm4, 1
vpackusdw ymm1, ymm1, ymm3
vextracti128 xmm5, ymm5, 1
vpextrw word [edi - 0x18], xmm4, 0
vpextrw word [edi - 0x14], xmm4, 4
vpermq ymm1, ymm1, 0xd8
vpextrw word [edi - 0x38], xmm6, 0
vpextrw word [edi - 0x34], xmm6, 4
vpextrw word [edi - 0x28], xmm5, 0
vpextrw eax, xmm1, 1
vpextrw ecx, xmm1, 2
vpextrw esi, xmm1, 0
vpextrw word [edi - 0x24], xmm5, 4
mov dword [esp + 0xa8], eax
vpaddd ymm0, ymm0, ymmword [esp + 0x30]
mov word [ebx - 0x78], ax
vpextrw eax, xmm1, 3
mov word [ebx - 0x70], cx
mov word [ebx - 0x68], ax
mov dword [esp + 0xa4], ecx
vpextrw ecx, xmm1, 4
mov dword [esp + 0xa0], eax
vpextrw eax, xmm1, 5
mov word [ebx - 0x80], si
mov word [ebx - 0x60], cx
mov dword [esp + 0x98], ecx
vpextrw ecx, xmm1, 6
mov dword [esp + 0x94], eax
mov word [ebx - 0x58], ax
vpextrw eax, xmm1, 7
vextracti128 xmm1, ymm1, 1
mov word [ebx - 0x50], cx
mov word [ebx - 0x48], ax
mov dword [esp + 0x90], ecx
vpextrw ecx, xmm1, 0
mov dword [esp + 0x8c], eax
vpextrw eax, xmm1, 1
mov word [ebx - 0x40], cx
mov word [ebx - 0x38], ax
mov dword [esp + 0x88], ecx
vpextrw ecx, xmm1, 2
mov dword [esp + 0x84], eax
vpextrw eax, xmm1, 3
mov word [ebx - 0x30], cx
mov word [ebx - 0x28], ax
mov dword [esp + 0x80], ecx
vpextrw ecx, xmm1, 4
mov dword [esp + 0x7c], eax
vpextrw eax, xmm1, 5
mov word [ebx - 0x20], cx
mov word [ebx - 0x18], ax
mov dword [esp + 0x78], ecx
vpextrw ecx, xmm1, 6
mov dword [esp + 0x74], eax
vpextrw eax, xmm1, 7
mov word [ebx - 0x10], cx
mov word [ebx - 8], ax
vpand ymm1, ymm2, ymmword [edx - 0x60]
vpand ymm3, ymm2, ymmword [edx - 0x80]
vpand ymm4, ymm2, ymmword [edx - 0x20]
vpackusdw ymm3, ymm3, ymm1
vpand ymm1, ymm2, ymmword [edx - 0x40]
vpermq ymm3, ymm3, 0xd8
vpackusdw ymm1, ymm1, ymm4
vpand ymm3, ymm2, ymm3
vpand ymm4, ymm2, ymmword [edi - 0x20]
vpermq ymm1, ymm1, 0xd8
vpand ymm1, ymm2, ymm1
vpackusdw ymm3, ymm3, ymm1
vpand ymm1, ymm2, ymmword [edi - 0x40]
vpermq ymm3, ymm3, 0xd8
vpackusdw ymm1, ymm1, ymm4
vpermq ymm1, ymm1, 0xd8
vpaddw ymm1, ymm1, ymm3
vpextrw word [edi - 0x40], xmm1, 0
vpextrw word [edi - 0x3c], xmm1, 1
vpextrw word [edi - 0x38], xmm1, 2
vpextrw word [edi - 0x34], xmm1, 3
vpextrw word [edi - 0x30], xmm1, 4
vpextrw word [edi - 0x2c], xmm1, 5
vpextrw word [edi - 0x28], xmm1, 6
vpextrw word [edi - 0x24], xmm1, 7
vextracti128 xmm1, ymm1, 1
vpextrw word [edi - 0x20], xmm1, 0
vpextrw word [edi - 0x1c], xmm1, 1
vpextrw word [edi - 0x18], xmm1, 2
vpextrw word [edi - 0x14], xmm1, 3
vpextrw word [edi - 0x10], xmm1, 4
vpextrw word [edi - 0xc], xmm1, 5
vpextrw word [edi - 8], xmm1, 6
vpextrw word [edi - 4], xmm1, 7
mov word [edx - 0x80], si
movzx esi, word [esp + 0xa8]
mov word [edx - 0x78], si
movzx esi, word [esp + 0xa4]
mov word [edx - 0x70], si
movzx esi, word [esp + 0xa0]
mov word [edx - 0x68], si
movzx esi, word [esp + 0x98]
mov word [edx - 0x60], si
movzx esi, word [esp + 0x94]
mov word [edx - 0x58], si
movzx esi, word [esp + 0x90]
mov word [edx - 0x50], si
movzx esi, word [esp + 0x8c]
mov word [edx - 0x48], si
movzx esi, word [esp + 0x88]
mov word [edx - 0x40], si
movzx esi, word [esp + 0x84]
mov word [edx - 0x38], si
movzx esi, word [esp + 0x80]
mov word [edx - 0x30], si
movzx esi, word [esp + 0x7c]
mov word [edx - 0x28], si
movzx esi, word [esp + 0x78]
mov word [edx - 0x20], si
movzx esi, word [esp + 0x74]
mov word [edx - 0x10], cx
mov word [edx - 0x18], si
mov word [edx - 8], ax
cmp dword [esp + 0x6c], ebx
jne 0x5a5008
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0xb8]
mov ebx, edi
mov dword [esp], eax
and ebx, 0xfffffff0
mov dword [esp + 4], ebx
vzeroupper
call fcn.00402690
mov dword [esp], ebx
sub edi, ebx
mov dword [esp + 0xb8], eax
mov dword [esp + 4], 2
call fcn.00402710
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
call fcn.00402690
mov dword [esp + 0x70], edi
mov dword [esp + 0xb0], eax
cmp edi, 7
jbe 0x5a55a3
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0xbc]
vmovd xmm7, dword [esp + 0xb8]
mov edi, dword [esp + 0x68]
lea eax, [eax + ebx*2]
shl eax, 2
add ebx, edi
vpshufd xmm1, xmm7, 0
mov edi, ecx
lea edx, [ecx + eax]
lea eax, [edi + eax + 4]
vmovdqu xmm3, xmmword [edx + 0x10]
vmovdqu xmm2, xmmword [edx + 0x20]
lea ecx, [ecx + ebx*4]
vmovdqu xmm0, xmmword [edx + 0x30]
vmovdqu xmm4, xmmword [edx]
vpextrw word [edi + ebx*4 + 8], xmm3, 0
vpextrw word [edi + ebx*4 + 0xc], xmm3, 4
vpextrw word [edi + ebx*4 + 0x10], xmm2, 0
vpextrw word [edi + ebx*4 + 0x14], xmm2, 4
vpextrw word [edi + ebx*4], xmm4, 0
vpextrw word [edi + ebx*4 + 4], xmm4, 4
vpextrw word [edi + ebx*4 + 0x18], xmm0, 0
vpextrw word [edi + ebx*4 + 0x1c], xmm0, 4
vpaddd xmm2, xmm1, xmmword [0xd425f0]
mov edi, 0xffff
vpaddd xmm0, xmm1, xmmword [0xd425e0]
vmovd xmm1, edi
vpshufd xmm1, xmm1, 0
vpand xmm2, xmm1, xmm2
vpand xmm0, xmm1, xmm0
vpackusdw xmm0, xmm0, xmm2
vpextrw ebx, xmm0, 3
vpextrw edi, xmm0, 1
vpextrw esi, xmm0, 0
mov word [edx + 0x18], bx
mov dword [esp + 0xa4], ebx
vpextrw ebx, xmm0, 4
mov word [edx + 0x20], bx
mov dword [esp + 0xa0], ebx
vpextrw ebx, xmm0, 5
mov word [edx + 0x28], bx
mov dword [esp + 0x98], ebx
vpextrw ebx, xmm0, 6
mov word [edx + 8], di
mov word [edx + 0x30], bx
mov dword [esp + 0xa8], edi
vpextrw edi, xmm0, 2
mov dword [esp + 0x94], ebx
vpextrw ebx, xmm0, 7
mov word [edx + 0x38], bx
mov word [edx], si
mov word [edx + 0x10], di
vpand xmm0, xmm1, xmmword [eax]
vpand xmm2, xmm1, xmmword [eax + 0x10]
vpand xmm3, xmm1, xmmword [eax + 0x30]
vpackusdw xmm0, xmm0, xmm2
vpand xmm2, xmm1, xmmword [eax + 0x20]
vpand xmm0, xmm1, xmm0
vpackusdw xmm2, xmm2, xmm3
vpand xmm2, xmm1, xmm2
vpackusdw xmm0, xmm0, xmm2
vpand xmm2, xmm1, xmmword [ecx]
vpand xmm1, xmm1, xmmword [ecx + 0x10]
vpackusdw xmm1, xmm2, xmm1
vpaddw xmm0, xmm0, xmm1
vpextrw word [ecx], xmm0, 0
vpextrw word [ecx + 4], xmm0, 1
vpextrw word [ecx + 8], xmm0, 2
vpextrw word [ecx + 0xc], xmm0, 3
vpextrw word [ecx + 0x10], xmm0, 4
vpextrw word [ecx + 0x14], xmm0, 5
vpextrw word [ecx + 0x18], xmm0, 6
vpextrw word [ecx + 0x1c], xmm0, 7
movzx ecx, word [esp + 0xa8]
mov word [eax + 0x38], bx
mov ebx, dword [esp + 0x70]
mov word [eax], si
mov word [eax + 8], cx
movzx ecx, word [esp + 0xa4]
and ebx, 0xfffffff8
mov word [eax + 0x10], di
mov word [eax + 0x18], cx
movzx ecx, word [esp + 0xa0]
mov word [eax + 0x20], cx
movzx ecx, word [esp + 0x98]
mov word [eax + 0x28], cx
movzx ecx, word [esp + 0x94]
mov word [eax + 0x30], cx
mov dword [esp + 4], ebx
vmovd dword [esp], xmm7
call fcn.00402690
mov dword [esp + 4], 2
mov dword [esp + 0xb8], eax
mov dword [esp], ebx
call fcn.00402710
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
call fcn.00402690
mov dword [esp + 0xb0], eax
mov edi, dword [esp + 0xbc]
mov ebx, eax
mov esi, dword [esp + 0xb8]
shl ebx, 2
lea edx, [edi + ebx]
mov dword [esp + 0xb0], ebx
mov eax, edi
lea ebx, [esi*4]
movzx ecx, word [edx]
add eax, ebx
mov word [eax], cx
mov ecx, dword [esp + 0xb0]
mov word [edx], si
lea edx, [edi + ecx + 4]
movzx ecx, word [edx]
add word [eax], cx
mov word [edx], si
mov dword [esp], esi
mov dword [esp + 4], 1
call fcn.00402690
mov esi, dword [esp + 0xb4]
cmp esi, eax
jle 0x5a5982
mov ecx, dword [esp + 0xb0]
lea edx, [edi + ebx + 4]
mov dword [esp + 0xa8], ebx
mov ebx, dword [esp + 0xbc]
lea ecx, [edi + ecx + 8]
movzx edi, word [ecx]
mov word [edx], di
mov edi, dword [esp + 0xb0]
mov word [ecx], ax
lea ecx, [ebx + edi + 0xc]
movzx edi, word [ecx]
add word [edx], di
mov word [ecx], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.00402690
cmp esi, eax
jle 0x5a5982
mov ecx, dword [esp + 0xb0]
mov edx, ebx
lea ecx, [ebx + ecx + 0x10]
mov ebx, dword [esp + 0xa8]
movzx edi, word [ecx]
lea edx, [edx + ebx + 8]
mov ebx, dword [esp + 0xbc]
mov word [edx], di
mov edi, dword [esp + 0xb0]
mov word [ecx], ax
lea ecx, [ebx + edi + 0x14]
movzx edi, word [ecx]
add word [edx], di
mov word [ecx], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], 3
mov dword [esp], eax
call fcn.00402690
cmp esi, eax
jle 0x5a5982
mov ecx, dword [esp + 0xb0]
mov edx, ebx
lea ecx, [ebx + ecx + 0x18]
mov ebx, dword [esp + 0xa8]
movzx edi, word [ecx]
lea edx, [edx + ebx + 0xc]
mov ebx, dword [esp + 0xbc]
mov word [edx], di
mov edi, dword [esp + 0xb0]
mov word [ecx], ax
lea ecx, [ebx + edi + 0x1c]
movzx edi, word [ecx]
add word [edx], di
mov word [ecx], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], 4
mov dword [esp], eax
call fcn.00402690
cmp esi, eax
jle 0x5a5982
mov ecx, dword [esp + 0xb0]
mov edx, ebx
lea ecx, [ebx + ecx + 0x20]
mov ebx, dword [esp + 0xa8]
movzx edi, word [ecx]
lea edx, [edx + ebx + 0x10]
mov ebx, dword [esp + 0xbc]
mov word [edx], di
mov edi, dword [esp + 0xb0]
mov word [ecx], ax
lea ecx, [ebx + edi + 0x24]
movzx edi, word [ecx]
add word [edx], di
mov word [ecx], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], 5
mov dword [esp], eax
call fcn.00402690
cmp esi, eax
jle 0x5a5982
mov ecx, dword [esp + 0xb0]
mov edx, ebx
lea ecx, [ebx + ecx + 0x28]
mov ebx, dword [esp + 0xa8]
movzx edi, word [ecx]
lea edx, [edx + ebx + 0x14]
mov ebx, dword [esp + 0xbc]
mov word [edx], di
mov edi, dword [esp + 0xb0]
mov word [ecx], ax
lea ecx, [ebx + edi + 0x2c]
movzx edi, word [ecx]
add word [edx], di
mov word [ecx], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], 6
mov dword [esp], eax
call fcn.00402690
cmp esi, eax
jle 0x5a5982
mov ecx, dword [esp + 0xb0]
mov edx, ebx
lea ecx, [ebx + ecx + 0x30]
mov ebx, dword [esp + 0xa8]
movzx edi, word [ecx]
lea edx, [edx + ebx + 0x18]
mov ebx, dword [esp + 0xbc]
mov word [edx], di
mov edi, dword [esp + 0xb0]
mov word [ecx], ax
lea ecx, [ebx + edi + 0x34]
movzx edi, word [ecx]
add word [edx], di
mov word [ecx], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], 7
mov dword [esp], eax
call fcn.00402690
cmp esi, eax
jle 0x5a5982
mov ecx, dword [esp + 0xb0]
mov edi, ebx
mov edx, ebx
lea ecx, [ebx + ecx + 0x38]
mov ebx, dword [esp + 0xa8]
movzx esi, word [ecx]
lea edx, [edx + ebx + 0x1c]
mov word [edx], si
mov word [ecx], ax
mov ecx, edi
mov edi, dword [esp + 0xb0]
lea ecx, [ecx + edi + 0x3c]
movzx ebx, word [ecx]
add word [edx], bx
mov word [ecx], ax
jmp 0x5a5982
mov ebx, dword [esp + 0xb8]
mov esi, eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xbc]
sub eax, ebx
lea edi, [ecx + eax*4]
mov eax, ebx
lea esi, [esi]
lea esi, [esi]
mov word [edi + eax*4], si
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call fcn.00402690
test eax, eax
jne 0x5a5890
mov eax, dword [esp + 0xcc]
sub eax, dword [0xd48044]
jne 0x5a5c8b
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx edx, word [edi + esi*4]
cmp cx, dx
jae 0x5a5b60
mov eax, dword [esp + 0xb8]
mov word [edi + ebx*4], cx
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00402690
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xb0], esi
mov word [eax], bx
movzx edx, word [edi + ebx*4]
mov eax, dword [esp + 0xb0]
movzx ecx, word [edi + eax*4]
mov eax, dword [esp + 0xb8]
cmp ebx, eax
jle 0x5a5b18
lea esi, [edi + eax*4]
movzx eax, word [esi]
cmp ax, cx
jae 0x5a5b18
add eax, edx
mov word [edi + ebx*4], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00402690
mov word [esi], bx
mov esi, dword [esp + 0xb0]
mov dword [esp + 0xb8], eax
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.00402690
mov ebx, eax
cmp dword [esp + 0xb4], eax
jne 0x5a5bb0
mov eax, dword [esp + 0xac]
mov dword [esp + 4], 0xfffffffd
xor ebx, ebx
mov dword [esp], eax
call fcn.00402690
mov ecx, dword [esp + 0x9c]
mov word [ecx], bx
mov ecx, dword [esp + 0xbc]
lea eax, [ecx + eax*4]
nop
movzx edx, word [eax]
mov ebx, eax
sub eax, 4
movzx edx, word [ecx + edx*4]
add edx, 1
mov word [eax + 4], dx
cmp ecx, ebx
jne 0x5a59b0
mov eax, dword [esp + 0xac]
mov dword [esp + 4], 0xfffffffe
xor edi, edi
xor esi, esi
mov dword [esp], eax
call fcn.00402690
mov dword [esp + 0xb0], 1
mov dword [esp + 0xac], eax
mov ebx, eax
test eax, eax
jns 0x5a5a29
jmp 0x5a5b05
mov dword [esp], esi
mov dword [esp + 4], 1
call fcn.00402690
mov dword [esp], ebx
mov dword [esp + 4], 0xffffffff
mov esi, eax
call fcn.00402690
mov ebx, eax
cmp eax, 0xffffffff
je 0x5a5a38
mov eax, dword [esp + 0xbc]
movzx eax, word [eax + ebx*4]
cmp eax, edi
je 0x5a5a00
mov dword [esp + 4], 2
mov dword [esp], esi
call fcn.00402710
mov dword [esp + 0xb8], eax
cmp dword [esp + 0xb0], esi
jle 0x5a5bd0
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xbc]
mov ecx, edi
lea eax, [eax + edx*4]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb0]
sub edx, eax
mov eax, dword [esp + 0xbc]
add edx, esi
lea edx, [eax + edx*4]
mov eax, dword [esp + 0xa8]
lea esi, [esi]
mov word [eax], cx
sub eax, 4
cmp eax, edx
jne 0x5a5a98
mov eax, dword [esp + 0xb0]
mov dword [esp], edi
mov dword [esp + 4], 1
sub esi, eax
add dword [esp + 0xb4], esi
call fcn.00402690
mov ecx, dword [esp + 0xb8]
mov edi, eax
test ecx, ecx
jle 0x5a58a8
mov edx, dword [esp + 0xac]
test edx, edx
js 0x5a5868
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xac], ebx
xor esi, esi
mov dword [esp + 0xb0], eax
mov eax, ebx
mov ebx, eax
test eax, eax
jns 0x5a5a29
mov dword [esp + 0xb8], 0
jmp 0x5a5a5c
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00402690
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov esi, eax
add ecx, edx
mov word [edi + ebx*4], cx
jmp 0x5a5963
mov dword [esp + 0xa8], edx
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.00402690
mov edx, dword [esp + 0xa8]
mov dword [esp + 0xb0], eax
mov word [edi + ebx*4], dx
cmp dword [esp + 0xac], eax
jg 0x5a590c
mov eax, dword [esp + 0xb8]
mov edx, ebx
mov dword [esp + 0xa8], eax
jmp 0x5a4dab
mov eax, dword [esp + 0xb8]
movzx ecx, word [edi + eax*4]
lea edx, [eax*4]
jmp 0x5a4d5f
mov dword [esp], edi
mov dword [esp + 4], 1
call fcn.00402690
mov edi, eax
mov eax, dword [esp + 0xb8]
test eax, eax
jg 0x5a5ae2
jmp 0x5a58a8
lea eax, [edx + 8]
mov dword [esp + 0xa8], eax
mov ebx, dword [esp + 0xa8]
mov edi, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0xb4]
add ebx, edi
nop
movzx edx, word [ebx]
add ebx, 8
mov word [edi + eax*4], dx
movzx edx, word [ebx - 4]
mov word [ebx - 8], ax
add word [edi + eax*4], dx
mov word [ebx - 4], ax
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00402690
cmp esi, eax
jne 0x5a5c20
jmp 0x5a5982
xor esi, esi
mov word [ecx], si
jmp 0x5a59c7
mov eax, dword [esp + 0xbc]
mov edi, 1
mov word [eax], di
jmp 0x5a58a8
xor ebx, ebx
jmp 0x5a538b
mov ebx, dword [esp + 0xa4]
mov esi, dword [esp + 0xb0]
jmp 0x5a4d5f
call fcn.00401690