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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517063
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5750c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
xor ebx, ebx
push 0x5c
mov dword [esi + 8], ebx
call edi
add esp, 4
cmp eax, ebx
je 0x495ec9
mov dword [esi + 4], eax
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov byte [eax + 0x58], 1
mov ecx, dword [esi + 4]
mov byte [ecx + 0x59], 1
mov dword [ebp - 4], ebx
push 0x5c
mov dword [esi + 0x18], ebx
call edi
add esp, 4
cmp eax, ebx
je 0x495ea4
mov dword [esi + 0x14], eax
mov dword [eax], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 8], eax
mov edx, dword [esi + 0x14]
mov byte [edx + 0x58], 1
mov eax, dword [esi + 0x14]
mov byte [eax + 0x59], 1
mov byte [ebp - 4], 1
push 0x38
mov dword [esi + 0x2c], ebx
call edi
add esp, 4
cmp eax, ebx
je 0x495e7f
mov dword [esi + 0x28], eax
mov dword [eax], eax
mov eax, dword [esi + 0x28]
mov dword [eax + 4], eax
mov byte [ebp - 4], 2
push 0x1c
mov dword [esi + 0x14c], ebx
call edi
add esp, 4
cmp eax, ebx
je 0x495e5a
mov dword [esi + 0x148], eax
mov dword [eax], eax
mov eax, dword [esi + 0x148]
mov dword [eax + 4], eax
mov byte [ebp - 4], 3
push 0x98
mov dword [esi + 0x15c], ebx
call edi
add esp, 4
cmp eax, ebx
je 0x495e35
mov dword [esi + 0x158], eax
mov dword [eax], eax
mov eax, dword [esi + 0x158]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x158]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x158]
mov byte [ecx + 0x94], 1
mov edx, dword [esi + 0x158]
mov byte [edx + 0x95], 1
mov byte [ebp - 4], 4
push 0x98
mov dword [esi + 0x16c], ebx
call edi
add esp, 4
cmp eax, ebx
je 0x495e10
mov dword [esi + 0x168], eax
mov dword [eax], eax
mov eax, dword [esi + 0x168]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x168]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x168]
mov byte [eax + 0x94], 1
mov ecx, dword [esi + 0x168]
mov byte [ecx + 0x95], 1
push 0x414cf0
push 0x4067a0
push 4
push 0x10
lea edi, [esi + 0x180]
push edi
mov byte [ebp - 4], 5
call fcn.0045f2ca
mov byte [ebp - 4], 6
fld dword [0x554bd0]
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
fst dword [esi + 0x110]
fst dword [esi + 0x12c]
or eax, 0xffffffff
fldz
mov dword [esi + 0x20], 0x280032
fst dword [esi + 0x128]
mov byte [esi + 0x26], bl
fld1
mov dword [esi + 0x10c], eax
fstp dword [esi + 0x134]
mov dword [esi + 0x118], eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x120], eax
fst dword [esi + 0x130]
mov word [esi + 0x124], bx
mov dword [esi + 0x108], 0x46
fxch st(1)
fstp dword [esi + 0x104]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x70], ebx
fst dword [esi + 0x17c]
mov dword [esi + 0x6c], eax
mov dword [esi + 0x64], ebx
mov dword [esi + 0x174], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
mov dword [esi + 0xdc], eax
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
lea ecx, [esi + 0x3c]
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 4
mov dword [ecx + 0x10], ebx
mov dword [ecx], ebx
mov dword [ecx + 0x18c], ebx
mov edx, dword [edi + 4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
cmp byte [eax + 0x15], bl
jne 0x495c10
fstp st(0)
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
mov ecx, edi
call fcn.0040a730
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx]
push ecx
mov dword [ebp - 0x10], eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov eax, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x14], eax
cmp byte [eax + 0x15], bl
je 0x495bdd
fldz
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
add ecx, 4
add edi, 0x10
dec dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
jne 0x495bbf
fld1
lea eax, [esi + 0x148]
fstp dword [esi + 0x144]
push eax
mov dword [esi + 0x138], ebx
fst dword [esi + 0x13c]
fstp dword [esi + 0x140]
call fcn.00401e00
mov edx, dword [esi + 0x158]
mov edi, dword [edx + 4]
mov dword [ebp - 0x1c], edi
cmp byte [edi + 0x95], bl
jne 0x495c99
lea esp, [esp]
mov eax, dword [edi + 8]
push eax
lea ecx, [esi + 0x154]
call fcn.00402890
mov ecx, dword [ebp - 0x1c]
mov edi, dword [edi]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], edi
cmp byte [edi + 0x95], bl
je 0x495c70
mov eax, dword [esi + 0x158]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x158]
mov dword [eax], eax
mov eax, dword [esi + 0x158]
mov dword [eax + 8], eax
mov dword [esi + 0x15c], ebx
mov edx, dword [esi + 0x168]
mov edi, dword [edx + 4]
mov dword [ebp - 0x1c], edi
cmp byte [edi + 0x95], bl
jne 0x495cf9
lea ecx, [ecx]
mov eax, dword [edi + 8]
push eax
lea ecx, [esi + 0x164]
call fcn.00402890
mov ecx, dword [ebp - 0x1c]
mov edi, dword [edi]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], edi
cmp byte [edi + 0x95], bl
je 0x495cd0
mov eax, dword [esi + 0x168]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x168]
mov dword [eax], eax
mov eax, dword [esi + 0x168]
mov dword [eax + 8], eax
mov dword [esi + 0x16c], ebx
mov edx, dword [esi + 4]
mov dword [esi + 0x1c0], ebx
mov byte [esi + 0x34], bl
mov word [esi + 0x24], bx
mov byte [esi + 0x68], bl
mov edi, dword [edx + 4]
mov dword [ebp - 0x1c], edi
cmp byte [edi + 0x59], bl
jne 0x495d59
mov eax, dword [edi + 8]
push eax
mov ecx, esi
call fcn.00402790
mov ecx, dword [ebp - 0x1c]
mov edi, dword [edi]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], edi
cmp byte [edi + 0x59], bl
je 0x495d37
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x28]
mov dword [ecx + 4], ecx
mov dword [esi + 0x2c], ebx
cmp eax, dword [esi + 0x28]
je 0x495d95
mov edi, dword [eax]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
cmp edi, dword [esi + 0x28]
jne 0x495d82
fldz
or eax, 0xffffffff
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], eax
mov dword [esi + 0x1e0], eax
mov dword [esi + 0x1e4], eax
mov dword [esi + 0x1e8], eax
mov dword [esi + 0x1ec], eax
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x1f4], eax
mov dword [esi + 0x1f8], eax
mov dword [esi + 0x1fc], eax
mov dword [esi + 0x200], eax
mov dword [esi + 0x204], eax
fst dword [esi + 0xfc]
fst dword [esi + 0xf8]
mov byte [esi + 0x1c4], bl
fstp dword [esi + 0x100]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x560d4c
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x560d4c
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x34], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x560d4c
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x560d4c
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x560d4c
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.MSVCR100.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x560d4c
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x34], vtable.std::bad_alloc.0
call sub.MSVCR100.dll__CxxThrowException
int3