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

Disassembly:
test ecx, ecx
js 0x499011
cmp ecx, eax
jge 0x499011
mov edi, dword [esi]
lea edx, [ecx + ecx*2]
shl edx, 3
add edi, edx
mov dword [esp + 0x60], edx
mov eax, dword [edi + 4]
test eax, 0x1000
je 0x498e83
movups xmm0, xmmword [edi + 8]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x64], eax
cmp eax, 1
movups xmmword [esp + 0x70], xmm0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x48], 1
mov dword [esp + 0x18], eax
jbe 0x498a8e
mov edx, dword [esp + 0x70]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x74]
add edi, 0x24
nop
test esi, esi
js 0x499011
mov eax, dword [esp + 0x5c]
cmp esi, dword [eax + 4]
jge 0x499011
cmp edx, dword [edi - 4]
cmovge edx, dword [edi - 4]
cmp ecx, dword [edi]
mov dword [esp + 0x20], edx
cmovge ecx, dword [edi]
mov edx, dword [esp + 0x18]
cmp edx, dword [edi + 4]
mov dword [esp + 0x4c], ecx
cmovle edx, dword [edi + 4]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
cmp edx, dword [edi + 8]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x64]
xor ecx, ecx
mov dword [esp + 0x68], ecx
test edi, edi
je 0x498e77
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], eax
nop dword [eax + eax]
mov dword [esp + 0x54], 0
test ecx, ecx
je 0x498aed
add eax, 0xffffffff
js 0x499011
cmp eax, dword [esi + 4]
jge 0x499011
mov eax, dword [esi]
add eax, 0xffffffe8
add eax, edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x48]
and al, 0x48
mov edi, dword [esp + 0x10]
lea ecx, [edi + 0x64]
test edx, edx
js 0x499011
cmp eax, dword [esi + 4]
jge 0x499011
mov esi, dword [esi]
xor eax, eax
add esi, edx
xorps xmm0, xmm0
test ecx, ecx
mov dword [esp + 0x38], esi
movaps xmmword [esp + 0x70], xmm0
cmovne eax, edi
push dword [esi]
mov dword [esp + 0x54], eax
push dword [eax + 4]
call dword [0x5c3450]
mov edi, eax
lea eax, [esp + 0x70]
push eax
push edi
call dword [0x5c34c8]
test eax, eax
je 0x498e4a
push 2
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x58]
push dword [eax + 4]
push 0
call dword [0x5c3470]
mov edx, dword [esi + 4]
test dl, 0x20
je 0x498b98
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 8]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
sub eax, dword [esi + 0x70]
sub eax, ecx
sub eax, dword [esp + 0x20]
add eax, dword [esp + 0x3c]
mov eax, eax
test eax, eax
jns 0x498b83
add eax, 1
sar eax, 1
add eax, dword [esp + 0x20]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x70], eax
add eax, ecx
jmp 0x498cae
test dl, 5
je 0x498cb2
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, ecx
push eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [edx + 0x70]
sub eax, ecx
add eax, dword [esp + 0x40]
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
call dword [0x5c33ac]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov edx, dword [esi + 4]
mov dword [esp + 0x70], eax
test dl, 1
je 0x498ca8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push dword [esp + 0x58]
sub eax, dword [edx + 0x70]
sub eax, ecx
add eax, dword [esp + 0x40]
push eax
mov eax, dword [esi + 0x10]
sub eax, ecx
push eax
call dword [0x5c33ac]
add eax, dword [esp + 0x20]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x498ca3
push dword [eax]
mov eax, dword [esp + 0x54]
push dword [eax + 4]
call dword [0x5c3450]
mov esi, eax
xorps xmm0, xmm0
lea eax, [esp + 0x80]
movaps xmmword [esp + 0x80], xmm0
push eax
mov edx, dword [esi + 4]
jmp 0x498cb2
sub eax, dword [esi + 8]
add eax, dword [esi + 0x10]
mov dword [esp + 0x78], eax
test dl, 0x40
je 0x498cf0
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
sub eax, dword [esi + 0x74]
sub eax, ecx
sub eax, dword [esp + 0x4c]
add eax, dword [esp + 0x40]
mov eax, eax
test eax, eax
jns 0x498cdb
add eax, 1
sar eax, 1
add eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x74], eax
add eax, ecx
jmp 0x498e08
test dl, 0xa
je 0x498e0c
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
test dl, 0x10
je 0x498e1f
push 1
push 0
push edi
call dword [0x5c3534]
mov edx, dword [esi + 4]
test dl, 0x7f
je 0x498e4a
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
sub eax, edx
mov ecx, dword [esp + 0x70]
push 0x14
push eax
mov eax, dword [esp + 0x80]
test byte [eax + eax*4], ah
add byte [eax], al
add byte [ebx], ch
rcl dword [eax + 0x52], 0x51
push 0
push edi
call dword [0x5c34b8]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x48]
inc ecx
mov edx, dword [esp + 0x60]
inc eax
mov edi, dword [esp + 0x64]
add edx, 0x18
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], edx
cmp ecx, edi
jl 0x498ac0
mov ecx, dword [esp + 0x44]
dec ecx
add ecx, edi
jmp 0x498fbb
mov edx, dword [esp + 0x10]
xor eax, eax
push dword [edi]
xorps xmm0, xmm0
movaps xmmword [esp + 0x74], xmm0
lea ecx, [edx + 0x64]
test ecx, ecx
cmovne eax, edx
mov dword [esp + 0x5c], eax
add eax, dword [esp + 0x78]
mov dword [esp + 0x70], eax
test cl, 0x40
je 0x498f4d
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x40]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
add eax, ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x7c], eax
jmp 0x498f79
test cl, 0xa
je 0x498f79
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x14]
sub eax, dword [edx + 0x74]
add eax, dword [esp + 0x40]
and al, 0x40
mov edx, dword [edi + 0x14]
mov dword [esp + 0x7c], eax
test cl, 8
je 0x498f79
mov eax, dword [edi + 0xc]
sub eax, edx
add eax, dword [esp + 0x7c]
mov dword [esp + 0x74], eax
test cl, 0x10
je 0x498f8c
push 1
push 0
push esi
call dword [0x5c3534]
mov ecx, dword [edi + 4]
test cl, 0x7f
je 0x498fb7
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
sub eax, edx
mov ecx, dword [esp + 0x70]
push 0x14
push eax
mov eax, dword [esp + 0x80]
sub eax, ecx
push eax
push edx
push ecx
push 0
push esi
call dword [0x5c34b8]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x5c]
inc ecx
mov dword [esp + 0x44], ecx
mov eax, dword [esi + 4]
cmp ecx, eax
jl 0x4989b0
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x6c], 0
je 0x498fe9
push 0
push 1
push 0xb
push dword [edi + 4]
call dword [0x5c34a0]
push 0x185
push 0
push 0
push dword [edi + 4]
call dword [0x5c3600]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.0055ddcc
mov esp, ebp
pop ebp
ret 8
push 1
push 0xc000008c
call fcn.004db419
int3