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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x433bbf
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.00401078
cmp byte [eax], 0
je 0x404e6a
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.00401078
mov esi, eax
cmp byte [esi], 0
je 0x40508d
push 0x43903c
lea ecx, [esp + 0x24]
call dword [0x434360]
cmp byte [esi + 0x48], 0
je 0x40508d
mov ebx, dword [esi + 0x38]
mov ecx, dword [esi + 0x24]
add esi, 0x40
mov eax, dword [esi]
test eax, eax
je 0x404eb8
cmp eax, ecx
je 0x404ebe
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esi + 4], ebx
je 0x40508d
call fcn.0041243a
push eax
lea ecx, [esp + 0x24]
call dword [0x434330]
call fcn.0040fe49
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x404eeb
lea eax, [esp + 0x24]
push eax
call fcn.00401078
lea ebx, [esp + 0x1c]
mov ecx, eax
call fcn.00411d7a
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x404e7c
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 0x404f27
mov esi, dword [ebx + 0x5c]
jmp 0x404f2a
lea esi, [ebx + 0x5c]
cmp dword [ebx + 0x8c], ecx
jb 0x404f37
mov edx, dword [ebx + 0x78]
jmp 0x404f3a
lea edx, [ebx + 0x78]
cmp dword [ebx + 0x38], ecx
jb 0x404f44
mov eax, dword [ebx + 0x24]
jmp 0x404f47
lea eax, [ebx + 0x24]
cmp dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
jae 0x404f55
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.00404c70
or byte [esp + 0x17], al
cmp byte [esp + 0x17], 1
jne 0x405076
cmp dword [ebx], 1
jne 0x404ffa
cmp byte [ebp + 8], 0
jne 0x404ffa
cmp byte [edi + 0x27a], 0
jne 0x404ffa
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 0x404fac
lea eax, [esp + 0x40]
lea ecx, [esp + 0x58]
push ecx
push dword [esp + 0x54]
push eax
call fcn.00415ac6
add esp, 0xc
cmp dword [ebx + 0x1c], 0x10
jb 0x404fc9
mov ebx, dword [ebx + 8]
jmp 0x404fcc
add ebx, 8
cmp dword [esp + 0x70], 0x10
mov ecx, dword [esp + 0x5c]
jae 0x404fdb
lea ecx, [esp + 0x5c]
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x404fea
lea eax, [esp + 0x24]
push ebx
push ecx
push eax
mov ebx, edi
call fcn.00405404
lea ecx, [esp + 0x58]
jmp 0x405068
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 0x40501b
lea eax, [esp + 0x40]
lea ecx, [esp + 0x74]
push ecx
push dword [esp + 0x54]
push eax
call fcn.00415ac6
add esp, 0xc
cmp dword [ebx + 0x1c], 0x10
jb 0x405038
mov ebx, dword [ebx + 8]
jmp 0x40503b
add ebx, 8
cmp dword [esp + 0x8c], 0x10
mov ecx, dword [esp + 0x78]
jae 0x40504d
lea ecx, [esp + 0x78]
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x40505c
lea eax, [esp + 0x24]
push ebx
push ecx
push eax
call fcn.00405587
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 0x404e7c
mov ecx, edi
call fcn.00405325
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.00428868
mov esp, ebp
pop ebp
ret 4