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

Disassembly:
push 0xffffffffffffffff
push 0x484fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a89e8]
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 0x4149b7
mov ecx, dword [ecx + 8]
sub ecx, eax
sar ecx, 2
je 0x4149b7
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.00409d10
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.00409d10
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 0x414722
call ebp
mov edi, esi
mov esi, dword [esp + 0x70]
cmp dword [esp + 0x6c], esi
jbe 0x414730
call ebp
cmp edi, esi
je 0x414770
cmp edi, dword [esp + 0x70]
jb 0x41473c
call ebp
mov esi, dword [edi]
cmp dword [esi + 0x14], ebx
jbe 0x41474f
push esi
lea ecx, [esp + 0x50]
call fcn.0040c4c0
mov dword [eax], esi
cmp dword [esi + 0x30], ebx
jbe 0x414763
lea edx, [esi + 0x1c]
push edx
lea ecx, [esp + 0x5c]
call fcn.0040c4c0
mov dword [eax], esi
cmp edi, dword [esp + 0x70]
jb 0x41476b
call ebp
add edi, 4
jmp 0x414724
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
jbe 0x41477e
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 0x414796
call ebp
mov eax, dword [esp + 0x14]
cmp eax, eax
je 0x4147a0
call ebp
mov eax, dword [esp + 0x14]
cmp edi, esi
je 0x41492c
cmp edi, dword [eax + 8]
jb 0x4147af
call ebp
mov esi, dword [edi]
cmp dword [esi + 0x14], ebx
jbe 0x414873
mov ebp, dword [esp + 0x50]
push esi
lea ecx, [esp + 0x50]
call fcn.00408b40
cmp eax, dword [esp + 0x50]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
je 0x4147f2
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 0x4147f2
lea eax, [esp + 0x24]
jmp 0x414806
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 0x414817
lea edx, [esp + 0x4c]
cmp ecx, edx
je 0x41481d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, ebp
je 0x414860
push esi
lea ecx, [esp + 0x50]
call fcn.0040c4c0
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 0x41484d
mov edx, dword [edi + 0x58]
mov dword [esi + 0x58], edx
jmp 0x414905
mov eax, dword [esp + 0x18]
mov dword [esi + 0x58], ebx
mov dword [eax + 0xc], 1
jmp 0x414905
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x58], ebx
mov dword [ecx + 8], 1
jmp 0x414905
mov edx, dword [esp + 0x5c]
lea edi, [esi + 0x1c]
push edi
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4c], edx
call fcn.00408b40
cmp eax, dword [esp + 0x5c]
lea ecx, [esp + 0x58]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
je 0x4148b2
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 0x4148b2
lea eax, [esp + 0x34]
jmp 0x4148c6
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 0x4148d7
lea edx, [esp + 0x58]
cmp ecx, edx
je 0x4148dd
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, dword [esp + 0x48]
je 0x4148f7
push edi
lea ecx, [esp + 0x5c]
call fcn.0040c4c0
mov eax, dword [eax]
mov eax, dword [eax + 0x58]
mov dword [esi + 0x58], eax
jmp 0x414905
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 0x414918
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 0x414784
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.004143e0
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.004143e0
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.0040b7e0
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x9c]
mov eax, dword [edi + 4]
mov esi, dword [eax + 0x44]
and esi, dword [0x48d5cc]
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 [0x48d5cc]
test dword [ecx + 0x44], edx
je 0x4149f4
cmp esi, ebx
jne 0x4149f4
mov eax, 1
jmp 0x4149f6
xor eax, eax
lea ecx, [esp + 0x64]
mov dword [edi + 0x14], eax
mov dword [esp + 0x94], 0xffffffff
call fcn.0040b7e0
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