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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4339ca
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x445bbc]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x445bbc]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov byte [esp + 0x17], 0
call fcn.00401094
cmp byte [eax], 0
je 0x404c8f
mov ecx, dword [eax + 0x38]
mov ecx, dword [ecx]
mov edx, dword [eax + 0x24]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], ecx
mov byte [eax + 0x48], 1
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
and dword [esp + 0xa0], 0
call fcn.00401094
mov esi, eax
cmp byte [esi], 0
je 0x404eb2
push 0x438ff0
lea ecx, [esp + 0x24]
call dword [0x43435c]
cmp byte [esi + 0x48], 0
je 0x404eb2
mov ebx, dword [esi + 0x38]
mov ecx, dword [esi + 0x24]
add esi, 0x40
mov eax, dword [esi]
test eax, eax
je 0x404cdd
cmp eax, ecx
je 0x404ce3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esi + 4], ebx
je 0x404eb2
call fcn.00412301
push eax
lea ecx, [esp + 0x24]
call dword [0x434330]
call fcn.0040fce8
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x404d10
lea eax, [esp + 0x24]
push eax
call fcn.00401094
lea ebx, [esp + 0x1c]
mov ecx, eax
call fcn.00411c3f
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x404ca1
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push 0x10
pop ecx
mov byte [esp + 0xa0], 1
cmp dword [ebx + 0x70], ecx
jb 0x404d4c
mov esi, dword [ebx + 0x5c]
jmp 0x404d4f
lea esi, [ebx + 0x5c]
cmp dword [ebx + 0x8c], ecx
jb 0x404d5c
mov edx, dword [ebx + 0x78]
jmp 0x404d5f
lea edx, [ebx + 0x78]
cmp dword [ebx + 0x38], ecx
jb 0x404d69
mov eax, dword [ebx + 0x24]
jmp 0x404d6c
lea eax, [ebx + 0x24]
cmp dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
jae 0x404d7a
lea ecx, [esp + 0x24]
lea edi, [esp + 0x3c]
push edi
mov edi, dword [esp + 0x20]
push esi
push edx
push eax
mov esi, edi
call fcn.00404a11
or byte [esp + 0x17], al
cmp byte [esp + 0x17], 1
jne 0x404e9b
cmp dword [ebx], 1
jne 0x404e1f
cmp byte [ebp + 8], 0
jne 0x404e1f
cmp byte [edi + 0x242], 0
jne 0x404e1f
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0xa0], 2
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x404dd1
lea eax, [esp + 0x40]
lea ecx, [esp + 0x58]
push ecx
push dword [esp + 0x54]
push eax
call fcn.0041598d
add esp, 0xc
cmp dword [ebx + 0x1c], 0x10
jb 0x404dee
mov ebx, dword [ebx + 8]
jmp 0x404df1
add ebx, 8
cmp dword [esp + 0x70], 0x10
mov ecx, dword [esp + 0x5c]
jae 0x404e00
lea ecx, [esp + 0x5c]
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x404e0f
lea eax, [esp + 0x24]
push ebx
push ecx
push eax
mov ebx, edi
call fcn.00405229
lea ecx, [esp + 0x58]
jmp 0x404e8d
lea ecx, [esp + 0x74]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0xa0], 3
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x404e40
lea eax, [esp + 0x40]
lea ecx, [esp + 0x74]
push ecx
push dword [esp + 0x54]
push eax
call fcn.0041598d
add esp, 0xc
cmp dword [ebx + 0x1c], 0x10
jb 0x404e5d
mov ebx, dword [ebx + 8]
jmp 0x404e60
add ebx, 8
cmp dword [esp + 0x8c], 0x10
mov ecx, dword [esp + 0x78]
jae 0x404e72
lea ecx, [esp + 0x78]
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x404e81
lea eax, [esp + 0x24]
push ebx
push ecx
push eax
call fcn.004053ac
lea ecx, [esp + 0x74]
mov byte [esp + 0xa0], 1
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x404ca1
mov ecx, edi
call fcn.0040514a
or dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0042860c
mov esp, ebp
pop ebp
ret 4