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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x571a3d
mov eax, dword fs:[0]
push eax
sub esp, 0x400
mov eax, dword [0x59ad00]
xor eax, esp
mov dword [esp + 0x3f8], eax
push ebx
push esi
push edi
mov eax, dword [0x59ad00]
xor eax, esp
push eax
lea eax, [esp + 0x410]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, edx
mov edx, dword [edi + 4]
mov esi, ecx
mov ecx, dword [edi]
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], edi
cmp ecx, edx
je 0x41cc03
mov eax, edx
cmp edx, edx
je 0x41cc00
mov edi, edi
mov ebx, dword [eax]
mov dword [ecx], ebx
mov ebx, dword [eax + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [ecx + 8], ebx
mov ebx, dword [eax + 0xc]
mov dword [ecx + 0xc], ebx
add eax, 0x10
add ecx, 0x10
cmp eax, edx
jne 0x41cbe0
mov dword [edi + 4], ecx
push 1
lea ecx, [esp + 0x60]
call fcn.0041bf20
push 0x40
push 1
xor ebx, ebx
push esi
lea ecx, [esp + 0x78]
mov dword [esp + 0x424], ebx
call fcn.00418b40
push ebx
test eax, eax
jne 0x41cc3f
mov ecx, dword [esp + 0x60]
mov ecx, dword [ecx + 4]
push 2
lea ecx, [esp + ecx + 0x64]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x41cc51
mov edx, dword [esp + 0x60]
mov ecx, dword [edx + 4]
push ebx
lea ecx, [esp + ecx + 0x64]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
cmp dword [esp + ecx + 0x68], ebx
jne 0x41cd91
mov edx, dword [str._TMP_rblim.res]
mov eax, dword [0x57bafc]
mov ecx, dword [0x57bb00]
push 0x1f1
mov dword [esp + 0x210], ecx
mov dword [esp + 0x208], edx
mov dx, word [0x57bb04]
mov dword [esp + 0x20c], eax
mov al, byte [0x57bb06]
lea ecx, [esp + 0x217]
push ebx
push ecx
mov word [esp + 0x21c], dx
mov byte [esp + 0x21e], al
call sub.MSVCR100.dll_memset
lea edx, [esp + 0x210]
push 0x200
push edx
call fcn.00535d40
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x21c]
push ecx
mov byte [esp + 0x434], 1
call fcn.0041c890
mov esi, vtable.CCtrCompare2d_class_Vector2d_.0
add esp, 0x1c
mov dword [esp + 0x20], esi
lea edx, [esp + 0x20]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
sub eax, edi
sar eax, 4
mov byte [esp + 0x418], 4
cmp eax, 3
jbe 0x41cdbd
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x40]
push edx
push eax
push edi
call fcn.0041c0a0
add esp, 0x10
cmp eax, ebx
mov eax, dword [esp + 0x10]
jne 0x41cd56
cmp eax, dword [esp + 0x14]
jne 0x41cdbd
cmp eax, ebx
je 0x41cd63
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x418], 2
call fcn.00419920
mov dword [esp + 0x20], esi
cmp edi, ebx
je 0x41cd91
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xc4]
mov dword [esp + 0x418], 0xffffffff
call fcn.0041bff0
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
or eax, 0xffffffff
jmp 0x41d0bd
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
fld dword [eax + 4]
call fcn.00551b80
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x40], eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x48]
push edx
call fcn.00508130
mov dword [esp + 0x1cc], 0xf
mov dword [esp + 0x1c8], ebx
mov byte [esp + 0x1b8], bl
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
push 0xa
lea ecx, [esp + ecx + 0x60]
mov byte [esp + 0x41c], 5
call dword [sym.imp.MSVCP100.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx ecx, al
push ecx
lea edx, [esp + 0x1bc]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.0041ad70
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 0xc
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x41d01c
lea esp, [esp]
push 1
push 1
lea ecx, [esp + 0x1c0]
push ecx
lea ecx, [esp + 0x118]
call fcn.00419fa0
lea edx, [esp + 0x1b4]
push edx
lea eax, [esp + 0x1b4]
push eax
lea ecx, [esp + 0x1b4]
push ecx
lea ecx, [esp + 0x118]
mov byte [esp + 0x424], 6
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___float__]
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___float__]
mov ecx, eax
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___float__]
lea edx, [esp + 0x1ac]
push edx
push 1
call fcn.0053cc70
fld dword [esp + 0x1b4]
fld dword [esp + 0x58]
add esp, 8
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x41cfb6
fld dword [esp + 0x1b0]
fld dword [esp + 0x54]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x41cfb4
fld dword [esp + 0x48]
fcomp st(2)
fnstsw ax
test ah, 1
jne 0x41cfb4
fld dword [esp + 0x4c]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x41cfb4
mov esi, dword [esp + 0x10]
fxch st(1)
cmp esi, dword [esp + 0x14]
jne 0x41cf46
mov ecx, dword [esp + 0x24]
fstp qword [esp + 0x1d4]
lea eax, [esp + 0x1d4]
push eax
fstp qword [esp + 0x1e0]
call fcn.00408100
jmp 0x41cfb8
fstp qword [esp + 0x1e4]
fstp qword [esp + 0x1ec]
jmp 0x41cf60
mov eax, dword [esi]
lea edi, [esp + 0x1e4]
call fcn.00419e90
test al, al
jne 0x41cf81
add esi, 4
cmp esi, dword [esp + 0x14]
jne 0x41cf60
mov edi, dword [esp + 0x28]
jmp 0x41cfb8
fld dword [esp + 0x1ac]
lea ecx, [esp + 0x1f4]
fstp qword [esp + 0x1f4]
push ecx
fld dword [esp + 0x1b4]
mov ecx, dword [esp + 0x28]
fstp qword [esp + 0x200]
call fcn.00408100
mov edi, dword [esp + 0x28]
jmp 0x41cfb8
fstp st(1)
fstp st(0)
lea ecx, [esp + 0x10c]
mov byte [esp + 0x418], 5
call fcn.00419ed0
mov edx, dword [esp + 0x5c]
mov ecx, dword [edx + 4]
push 0xa
lea ecx, [esp + ecx + 0x60]
call dword [sym.imp.MSVCP100.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
push eax
lea ecx, [esp + 0x1bc]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.0041ad70
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
and dl, 6
movsx eax, dl
add esp, 0xc
neg eax
sbb eax, eax
not eax
test ecx, eax
jne 0x41ce60
mov esi, vtable.CCtrCompare2d_class_Vector2d_.0
lea ecx, [esp + 0x5c]
call fcn.0041b650
cmp dword [esp + 0x1cc], 0x10
jb 0x41d03f
mov ecx, dword [esp + 0x1b8]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1cc], 0xf
mov dword [esp + 0x1c8], ebx
mov byte [esp + 0x1b8], bl
cmp eax, ebx
je 0x41d069
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x418], 2
call fcn.00419920
mov dword [esp + 0x20], esi
cmp edi, ebx
je 0x41d097
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0xc4]
mov dword [esp + 0x418], 0xffffffff
call fcn.0041bff0
lea ecx, [esp + 0xc4]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x410]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3f8]
xor ecx, esp
call fcn.00551a8e
mov esp, ebp
pop ebp
ret