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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [0x7aa024]
xor ecx, ebp
mov dword [esp + 0x98], ecx
mov word [esp + 0x50], 0xffff
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x80], xmm0
test eax, eax
je 0x5fd7bb
xor ecx, ecx
nop word cs:[eax + eax]
movzx edx, word [ebx + ecx*2]
inc word [esp + edx*2 + 0x70]
inc ecx
cmp eax, ecx
jne 0x5fd030
movzx esi, word [esp + 0x8e]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, esi
test cx, cx
jne 0x5fd139
cmp word [esp + 0x8c], 0
jne 0x5fd16d
cmp word [esp + 0x8a], 0
jne 0x5fd17b
cmp word [esp + 0x88], 0
jne 0x5fd189
cmp word [esp + 0x86], 0
jne 0x5fd197
cmp word [esp + 0x84], 0
jne 0x5fd1a5
cmp word [esp + 0x82], 0
jne 0x5fd1b3
cmp word [esp + 0x80], 0
jne 0x5fd1c1
cmp word [esp + 0x7e], 0
jne 0x5fd1d2
cmp word [esp + 0x7c], 0
jne 0x5fd1e3
cmp word [esp + 0x7a], 0
jne 0x5fd1f4
cmp word [esp + 0x78], 0
jne 0x5fd205
cmp word [esp + 0x76], 0
jne 0x5fd216
cmp word [esp + 0x74], 0
jne 0x5fd227
cmp word [esp + 0x72], 0
jne 0x5fd238
mov esi, dword [ebp + 0x14]
mov eax, dword [esi]
lea ecx, [eax + 4]
mov dword [esi], ecx
mov ecx, 0x140
mov dword [eax], ecx
mov eax, dword [esi]
lea edx, [eax + 4]
mov dword [esi], edx
mov dword [eax], ecx
xor eax, eax
inc eax
mov dword [esp + 8], eax
jmp 0x5fd747
mov dword [esp], ecx
mov ecx, 0xf
cmp edx, ecx
mov dword [esp + 0x10], ecx
cmovae edx, ecx
mov ecx, edx
xor esi, esi
inc esi
mov dl, 1
cmp word [esp + esi*2 + 0x70], 0
jne 0x5fd24f
inc esi
cmp dword [esp + 0x10], esi
jne 0x5fd14f
mov esi, dword [esp + 0x10]
jmp 0x5fd24f
mov ecx, 0xe
mov dword [esp], 0
jmp 0x5fd141
mov ecx, 0xd
mov dword [esp], 0
jmp 0x5fd141
mov ecx, 0xc
mov dword [esp], 0
jmp 0x5fd141
mov ecx, 0xb
mov dword [esp], 0
jmp 0x5fd141
mov ecx, 0xa
mov dword [esp], 0
jmp 0x5fd141
mov ecx, 9
mov dword [esp], 0
jmp 0x5fd141
mov ecx, 8
mov dword [esp], 0
jmp 0x5fd141
mov ecx, 7
mov dword [esp], 0
jmp 0x5fd141
mov ecx, 6
mov dword [esp], 0
jmp 0x5fd141
mov ecx, 5
mov dword [esp], 0
jmp 0x5fd141
mov ecx, 4
mov dword [esp], 0
jmp 0x5fd141
mov ecx, 3
mov dword [esp], 0
jmp 0x5fd141
mov ecx, 2
mov dword [esp], 0
jmp 0x5fd141
xor ecx, ecx
test edx, edx
setne cl
xor esi, esi
inc esi
xor edx, edx
mov dword [esp], 0
mov dword [esp + 0x10], esi
mov dword [esp + 4], esi
mov esi, dword [esp + 4]
cmp ecx, esi
cmovbe ecx, esi
mov dword [esp + 8], ecx
movzx ecx, word [esp + 0x72]
xor edi, edi
dec edi
cmp ecx, 2
ja 0x5fd752
movzx esi, word [esp + 0x74]
mov dword [esp + 0x34], ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + ecx*2]
mov esi, 4
sub esi, ecx
js 0x5fd752
add esi, esi
movzx ecx, word [esp + 0x76]
mov dword [esp + 0x24], ecx
sub esi, ecx
js 0x5fd752
add esi, esi
movzx ecx, word [esp + 0x78]
mov dword [esp + 0x20], ecx
sub esi, ecx
js 0x5fd752
add esi, esi
movzx ecx, word [esp + 0x7a]
sub esi, ecx
js 0x5fd7c5
add esi, esi
movzx edi, word [esp + 0x7c]
mov dword [esp + 0x1c], edi
sub esi, edi
js 0x5fd7c5
mov dword [esp + 0x30], ecx
add esi, esi
movzx edi, word [esp + 0x7e]
sub esi, edi
js 0x5fd7c5
add esi, esi
movzx ecx, word [esp + 0x80]
mov dword [esp + 0x4c], ecx
sub esi, ecx
js 0x5fd7c5
mov dword [esp + 0x18], edi
add esi, esi
movzx ecx, word [esp + 0x82]
sub esi, ecx
js 0x5fd7c5
add esi, esi
movzx edi, word [esp + 0x84]
mov dword [esp + 0x2c], edi
sub esi, edi
js 0x5fd7c5
add esi, esi
movzx edi, word [esp + 0x86]
sub esi, edi
js 0x5fd7c5
mov dword [esp + 0x14], ecx
add esi, esi
movzx ecx, word [esp + 0x88]
mov dword [esp + 0x3c], ecx
sub esi, ecx
js 0x5fd7c5
add esi, esi
movzx ecx, word [esp + 0x8a]
sub esi, ecx
js 0x5fd7c5
mov dword [esp + 0x28], edi
add esi, esi
movzx edi, word [esp + 0x8c]
mov dword [esp + 0x48], edi
sub esi, edi
js 0x5fd7c5
add esi, esi
movzx edi, word [esp]
cmp esi, edi
jb 0x5fd7c5
mov edi, 0xffffffff
jne 0x5fd7ca
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0xc]
add esi, edx
mov word [esp + 0x52], 0
mov word [esp + 0x54], dx
mov edx, dword [esp + 0x24]
add edx, esi
mov word [esp + 0x56], si
mov esi, dword [esp + 0x20]
add esi, edx
mov word [esp + 0x58], dx
mov edx, dword [esp + 0x30]
add edx, esi
mov word [esp + 0x5a], si
mov esi, dword [esp + 0x1c]
add esi, edx
mov word [esp + 0x5c], dx
mov edx, dword [esp + 0x18]
add edx, esi
mov word [esp + 0x5e], si
mov esi, dword [esp + 0x4c]
add esi, edx
mov word [esp + 0x60], dx
mov edx, dword [esp + 0x14]
add edx, esi
mov word [esp + 0x62], si
mov esi, dword [esp + 0x2c]
add esi, edx
mov word [esp + 0x64], dx
mov edx, dword [esp + 0x28]
add edx, esi
mov word [esp + 0x66], si
mov esi, dword [esp + 0x3c]
add esi, edx
mov word [esp + 0x68], dx
add ecx, esi
mov word [esp + 0x6a], si
mov edx, dword [esp + 0x48]
add edx, ecx
mov word [esp + 0x6c], cx
mov word [esp + 0x6e], dx
test eax, eax
je 0x5fd463
xor ecx, ecx
jmp 0x5fd445
inc ecx
cmp eax, ecx
je 0x5fd463
movzx edx, word [ebx + ecx*2]
test edx, edx
je 0x5fd440
movzx esi, word [esp + edx*2 + 0x50]
lea edi, [esi + 1]
mov word [esp + edx*2 + 0x50], di
mov edx, dword [ebp + 0x1c]
mov word [edx + esi*2], cx
jmp 0x5fd440
mov eax, dword [ebp + 8]
cmp eax, 1
je 0x5fd49c
test eax, eax
mov ebx, dword [esp + 4]
jne 0x5fd76a
mov dword [esp + 0x14], 0x14
mov dword [esp + 0x40], 0
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], 0
jmp 0x5fd4d1
cmp dword [esp + 8], 9
mov ebx, dword [esp + 4]
ja 0x5fd7a1
mov al, 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], 0x101
mov dword [esp + 0x2c], 0x791ef6
mov dword [esp + 0x28], 0x791eb8
mov dword [esp + 0x40], 0
xor eax, eax
inc eax
mov ecx, dword [esp + 8]
shl eax, cl
mov dword [esp + 0x44], eax
dec eax
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
xor eax, eax
dec eax
mov dword [esp + 0x3c], eax
xor edx, edx
mov dword [esp + 0x18], ecx
xor ecx, ecx
xor esi, esi
nop dword [eax]
mov dword [esp + 0x24], esi
mov eax, ebx
mov dword [esp + 0xc], ecx
sub eax, ecx
mov dword [esp], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x20], edx
movzx edx, word [eax + edx*2]
movzx ecx, dx
lea eax, [ecx + 1]
mov esi, dword [esp + 0x14]
cmp eax, esi
mov dword [esp + 4], ebx
jae 0x5fd640
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0
mov esi, 0xffffffff
mov ecx, dword [esp]
shl esi, cl
mov edi, 1
mov ecx, dword [esp + 0x18]
shl edi, cl
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
shr eax, cl
lea ecx, [esi + esi]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx + eax*2]
add ecx, 2
mov eax, edi
mov dword [esp + 0x4c], edi
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov byte [ecx + eax*4 - 2], dl
mov edx, dword [esp]
mov byte [ecx + eax*4 - 1], dl
mov word [ecx + eax*4], bx
add edi, esi
mov eax, edi
jne 0x5fd575
mov ebx, dword [esp + 4]
mov ecx, ebx
dec cl
mov edx, 1
shl edx, cl
mov esi, dword [esp + 0x24]
mov ecx, edx
shr edx, 1
test ecx, esi
jne 0x5fd5a1
lea eax, [ecx - 1]
and eax, esi
add eax, ecx
cmp ecx, 1
mov esi, eax
mov eax, 0
cmovb esi, eax
dec word [esp + ebx*2 + 0x70]
mov ecx, dword [ebp + 0xc]
mov edi, 1
je 0x5fd666
mov edx, dword [esp + 0x20]
inc edx
cmp ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jbe 0x5fd500
mov eax, esi
and eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x3c]
je 0x5fd500
mov dword [esp], eax
mov dword [esp + 0x20], edx
test ecx, ecx
cmove ecx, dword [esp + 8]
mov eax, ebx
sub eax, ecx
mov edx, edi
mov edi, ecx
mov ecx, eax
shl edx, cl
mov ecx, dword [esp + 0x10]
cmp ebx, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0xc], edi
jae 0x5fd714
sub ecx, edi
mov eax, ecx
mov ecx, ebx
xor edi, edi
inc edi
movzx esi, word [esp + ecx*2 + 0x70]
sub edx, esi
jle 0x5fd685
add edx, edx
inc ecx
cmp ecx, dword [esp + 0x10]
jb 0x5fd62a
mov ecx, eax
jmp 0x5fd689
cmp esi, ecx
ja 0x5fd720
sub ecx, esi
mov eax, dword [esp + 0x2c]
mov al, byte [eax + ecx*2]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
movzx eax, word [eax + ecx*2]
mov dword [esp + 0x30], eax
jmp 0x5fd53c
cmp ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
je 0x5fd733
mov eax, dword [ebp + 0x1c]
movzx eax, word [eax + edx*2 + 2]
movzx ebx, word [ecx + eax*2]
jmp 0x5fd5d4
sub ecx, dword [esp + 0xc]
mov edx, edi
mov dword [esp + 0x18], ecx
shl edx, cl
mov ecx, dword [esp + 0x44]
add ecx, edx
cmp ecx, 0x355
setae dl
mov dword [esp + 0x44], ecx
cmp ecx, 0x251
setae cl
test byte [esp + 0x38], dl
jne 0x5fd752
mov dword [esp + 4], ebx
and cl, byte [esp + 0x40]
jne 0x5fd752
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
lea edi, [edi + eax*4]
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx]
mov eax, dword [esp + 0x18]
mov esi, dword [esp]
mov byte [ecx + esi*4], al
mov ecx, dword [edx]
mov ebx, dword [esp + 8]
mov byte [ecx + esi*4 + 1], bl
mov ecx, dword [edx]
mov dword [esp + 0x1c], edi
mov edx, edi
sub edx, ecx
shr edx, 2
mov word [ecx + esi*4 + 2], dx
mov dword [esp + 0x3c], esi
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
jmp 0x5fd500
mov dword [esp + 0x18], eax
xor edi, edi
inc edi
jmp 0x5fd691
mov al, 0x60
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], 0
jmp 0x5fd53c
test esi, esi
jne 0x5fd7e1
mov ecx, dword [esp + 0x44]
shl ecx, 2
mov eax, dword [ebp + 0x14]
add dword [eax], ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
xor edi, edi
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.0064d372
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x2c], 0x791f74
mov dword [esp + 0x28], 0x791f34
cmp eax, 2
sete al
mov dword [esp + 0x40], eax
jne 0x5fd7a6
mov dword [esp + 0x14], 0
mov dword [esp + 0x38], 0
cmp dword [esp + 8], 9
jbe 0x5fd4d1
xor edi, edi
inc edi
jmp 0x5fd752
mov dword [esp + 0x14], 0
mov dword [esp + 0x38], 0
jmp 0x5fd4d1
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
jmp 0x5fd056
xor edi, edi
dec edi
jmp 0x5fd752
cmp dword [ebp + 8], 0
sete bl
or bl, dl
mov ebx, dword [ebp + 0xc]
je 0x5fd39c
jmp 0x5fd752
mov eax, dword [esp + 0x1c]
mov byte [eax + esi*4], 0x40
mov ecx, dword [esp]
mov byte [eax + esi*4 + 1], cl
mov word [eax + esi*4 + 2], 0
jmp 0x5fd73b