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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55a418
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x58829c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x58829c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0xcc]
movss xmm0, dword [ebx + 0xd4]
mov esi, dword [ebp + 8]
mov dword [esp + 0x18], esi
movss dword [eax + 0x28], xmm0
mov eax, dword [ebx + 0xcc]
movss xmm0, dword [ebx + 0x118]
movss dword [eax + 0x24], xmm0
cmp byte [esi], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x496814
xor ecx, ecx
jmp 0x496829
mov ecx, esi
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496820
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.00401ea0
mov dword [esp + 0x78], 0
lea eax, [esp + 0x20]
movss xmm0, dword [ebx + 0x44]
xor edi, edi
cmp dword [esp + 0x34], 0x10
movss dword [esp + 0x14], xmm0
cmovae eax, dword [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x14], edi
push eax
call fcn.00437560
add esp, 8
mov byte [esp + 0x78], 1
xor esi, esi
mov ecx, dword [esp + 0x48]
test ecx, ecx
jle 0x496956
lea esp, [esp]
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
cmp word [eax + esi*2], 0x20
je 0x4968a0
lea eax, [ecx - 1]
cmp esi, eax
jne 0x49694d
xor eax, eax
mov dword [esp + 0x64], 7
push eax
push 0x568a60
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
call fcn.00444990
mov ecx, dword [esp + 0x10]
mov eax, esi
sub eax, ecx
mov byte [esp + 0x78], 2
push eax
push ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x5c]
call fcn.00443b00
cmp dword [esp + 0x64], 8
lea eax, [esp + 0x50]
mov ecx, dword [ebx + 0xcc]
cmovae eax, dword [esp + 0x50]
push 1
push eax
call fcn.00544120
fstp dword [esp + 0x1c]
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [esp + 0x14]
jbe 0x49692e
test edi, edi
je 0x49692e
push 1
push 0x56c3e4
push 1
push edi
lea ecx, [esp + 0x48]
call fcn.004441e0
lea eax, [edi + 1]
mov dword [esp + 0x10], eax
mov byte [esp + 0x78], 1
mov edi, esi
cmp dword [esp + 0x64], 8
jb 0x496949
push dword [esp + 0x50]
call dword [sym.imp.msvcr120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [esp + 0x48]
inc esi
cmp esi, ecx
jl 0x496880
cmp dword [ebx + 0x1f8], 0xe
jne 0x49697a
movss xmm0, dword [esp + 0x14]
mov eax, dword [ebx]
push ecx
lea ecx, [esp + 0x3c]
movss dword [esp], xmm0
push ecx
mov ecx, ebx
call dword [eax + 0xf4]
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
cmovae eax, dword [esp + 0x38]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00443fc0
mov esi, eax
add esp, 8
lea eax, [esp + 0x20]
cmp eax, esi
je 0x496a12
cmp dword [esp + 0x34], 0x10
jb 0x4969b4
push dword [esp + 0x20]
call dword [sym.imp.msvcr120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
cmp dword [esi + 0x14], 0x10
jae 0x4969e7
mov eax, dword [esi + 0x10]
inc eax
je 0x4969f3
push eax
lea eax, [esp + 0x24]
push esi
push eax
call dword [sym.imp.msvcr120.dll_memmove]
add esp, 0xc
jmp 0x4969f3
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x34], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [esp + 0x64], 0x10
mov esi, dword [sym.imp.msvcr120.dll_void___cdecl_operator_delete_void__]
jb 0x496a28
push dword [esp + 0x50]
call esi
add esp, 4
mov edx, dword [esp + 0x18]
cmp byte [edx], 0
jne 0x496a35
xor ecx, ecx
jmp 0x496a49
mov ecx, edx
lea edi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x496a40
sub ecx, edi
push ecx
push edx
lea ecx, [ebx + 0x17c]
call fcn.00401ea0
lea ecx, [ebx + 0x200]
lea eax, [esp + 0x20]
cmp ecx, eax
je 0x496a6e
push 0xffffffffffffffff
push 0
push eax
call fcn.00402280
mov eax, dword [ebx + 0xcc]
mov dword [eax + 0x28], 0x3f800000
cmp dword [esp + 0x4c], 8
jb 0x496a8b
push dword [esp + 0x38]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x4c], 7
cmp dword [esp + 0x34], 0x10
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
jb 0x496ab2
push dword [esp + 0x20]
call esi
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00551c1f
mov esp, ebp
pop ebp
ret 4