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

Disassembly:
push 0xffffffffffffffff
push 0x4855d0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9a08]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
xor ebx, ebx
mov esi, vtable.COwnerVector_class_CResourceItem_.0
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x64], esi
mov eax, dword [edi + 4]
mov ebp, dword [esp + 0x9c]
mov eax, dword [eax]
mov edx, dword [ebp]
mov edx, dword [edx + 0xac]
lea ecx, [esp + 0x64]
push ecx
push eax
mov ecx, ebp
mov dword [esp + 0x9c], ebx
call edx
mov eax, dword [edi + 0x68]
cmp eax, ebx
lea ecx, [edi + 0x64]
mov dword [esp + 0x14], ecx
je 0x414f77
mov ecx, dword [ecx + 8]
sub ecx, eax
sar ecx, 2
je 0x414f77
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x78], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x94], 1
call fcn.0040a1a0
mov dword [esp + 0x5c], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x5c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [eax], eax
mov eax, dword [esp + 0x5c]
mov dword [eax + 8], eax
mov dword [esp + 0x60], ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x94], 2
call fcn.0040a1a0
mov dword [esp + 0x50], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x50]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x50]
mov dword [eax], eax
mov eax, dword [esp + 0x50]
mov dword [eax + 8], eax
mov dword [esp + 0x54], ebx
mov esi, dword [esp + 0x6c]
cmp esi, dword [esp + 0x70]
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov byte [esp + 0x94], 3
jbe 0x414ce2
call ebp
mov edi, esi
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x6c], esi
jbe 0x414cf0
call ebp
cmp edi, esi
je 0x414d30
cmp edi, dword [esp + 0x70]
jb 0x414cfc
call ebp
mov esi, dword [edi]
cmp dword [esi + 0x14], ebx
jbe 0x414d0f
push esi
lea ecx, [esp + 0x50]
call fcn.0040c8a0
mov dword [eax], esi
cmp dword [esi + 0x30], ebx
jbe 0x414d23
lea edx, [esi + 0x1c]
push edx
lea ecx, [esp + 0x5c]
call fcn.0040c8a0
mov dword [eax], esi
cmp edi, dword [esp + 0x70]
jb 0x414d2b
call ebp
add edi, 4
jmp 0x414ce4
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
jbe 0x414d3e
call ebp
mov edi, esi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 8]
cmp dword [eax + 4], esi
jbe 0x414d56
call ebp
mov eax, dword [esp + 0x14]
cmp eax, eax
je 0x414d60
call ebp
mov eax, dword [esp + 0x14]
cmp edi, esi
je 0x414eec
cmp edi, dword [eax + 8]
jb 0x414d6f
call ebp
mov esi, dword [edi]
cmp dword [esi + 0x14], ebx
jbe 0x414e33
mov ebp, dword [esp + 0x50]
push esi
lea ecx, [esp + 0x50]
call fcn.00409070
cmp eax, dword [esp + 0x50]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
je 0x414db2
add eax, 0xc
push eax
push esi
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator__char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
test al, al
jne 0x414db2
lea eax, [esp + 0x24]
jmp 0x414dc6
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
lea eax, [esp + 0x2c]
mov ecx, dword [eax]
cmp ecx, ebx
mov edi, dword [eax + 4]
je 0x414dd7
lea edx, [esp + 0x4c]
cmp ecx, edx
je 0x414ddd
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, ebp
je 0x414e20
push esi
lea ecx, [esp + 0x50]
call fcn.0040c8a0
mov edi, dword [eax]
lea eax, [esi + 0x1c]
push eax
lea ecx, [edi + 0x1c]
push ecx
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
test al, al
je 0x414e0d
mov edx, dword [edi + 0x58]
mov dword [esi + 0x58], edx
jmp 0x414ec5
mov eax, dword [esp + 0x18]
mov dword [esi + 0x58], ebx
mov dword [eax + 0xc], 1
jmp 0x414ec5
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x58], ebx
mov dword [ecx + 8], 1
jmp 0x414ec5
mov edx, dword [esp + 0x5c]
lea edi, [esi + 0x1c]
push edi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], edx
call fcn.00409070
cmp eax, dword [esp + 0x5c]
lea ecx, [esp + 0x58]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
je 0x414e72
add eax, 0xc
push eax
push edi
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator__char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
test al, al
jne 0x414e72
lea eax, [esp + 0x34]
jmp 0x414e86
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x58]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
lea eax, [esp + 0x3c]
mov ecx, dword [eax]
cmp ecx, ebx
mov ebp, dword [eax + 4]
je 0x414e97
lea edx, [esp + 0x58]
cmp ecx, edx
je 0x414e9d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, dword [esp + 0x48]
je 0x414eb7
push edi
lea ecx, [esp + 0x5c]
call fcn.0040c8a0
mov eax, dword [eax]
mov eax, dword [eax + 0x58]
mov dword [esi + 0x58], eax
jmp 0x414ec5
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x58], ebx
mov dword [ecx + 0xc], 1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp eax, dword [edx + 8]
jb 0x414ed8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add dword [esp + 0x20], 4
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edi, dword [esp + 0x20]
jmp 0x414d44
mov eax, dword [esp + 0x50]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x50]
push ecx
mov esi, ecx
push edx
push esi
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
mov byte [esp + 0xa8], 2
call fcn.004149a0
mov edx, dword [esp + 0x50]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x60]
add esp, 4
push eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xa8], 1
call fcn.004149a0
mov ecx, dword [esp + 0x5c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x94], bl
call fcn.0040bb80
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x9c]
mov eax, dword [edi + 4]
mov esi, dword [eax + 0x44]
and esi, dword [0x48e654]
mov edx, dword [ebp]
lea ecx, [edi + 0x60]
push ecx
neg esi
sbb esi, esi
push eax
mov eax, dword [edx + 0xb0]
mov ecx, ebp
neg esi
call eax
mov ecx, dword [edi + 4]
mov edx, dword [0x48e654]
test dword [ecx + 0x44], edx
je 0x414fb4
cmp esi, ebx
jne 0x414fb4
mov eax, 1
jmp 0x414fb6
xor eax, eax
lea ecx, [esp + 0x64]
mov dword [edi + 0x14], eax
mov dword [esp + 0x94], 0xffffffff
call fcn.0040bb80
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4