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

Disassembly:
push 0xffffffffffffffff
push 0x50dbc9
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x564020]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x564020]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
lea ebx, [eax + 0x3c]
lea edx, [esp + 0x20]
mov dword [esp + 0x14], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x1c], ebx
call fcn.00413f80
mov dword [esp + 0x98], 0
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x10]
mov esi, eax
cmp dword [eax + 0xc], edi
jbe 0x413c69
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
test eax, eax
je 0x413c75
cmp eax, dword [esp + 0x40]
je 0x413c7b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x44]
je 0x413e1f
mov eax, dword [esp + 0x24]
mov ecx, 0x10
cmp dword [esp + 0x38], ecx
jae 0x413c98
lea eax, [esp + 0x24]
cmp dword [ebp + 0x18], ecx
jb 0x413ca2
mov esi, dword [ebp + 4]
jmp 0x413ca5
lea esi, [ebp + 4]
push eax
push esi
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
je 0x413cc4
cmp byte [esi], 0x2a
je 0x413cc4
lea esi, [esp + 0x20]
call fcn.004142b0
jmp 0x413c55
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov byte [esp + 0x98], 1
lea ebx, [ebp + 4]
mov edi, dword [eax + 0x10]
mov esi, eax
cmp dword [eax + 0xc], edi
jbe 0x413d0a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi]
test ecx, ecx
je 0x413d16
cmp ecx, dword [esp + 0x40]
je 0x413d20
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x3c]
cmp edi, dword [esp + 0x44]
je 0x413d95
mov eax, dword [esp + 0x24]
mov ecx, 0x10
cmp dword [esp + 0x38], ecx
jae 0x413d39
lea eax, [esp + 0x24]
cmp dword [ebp + 0x18], ecx
jb 0x413d42
mov esi, dword [ebx]
jmp 0x413d44
mov esi, ebx
push eax
push esi
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
je 0x413d58
cmp byte [esi], 0x2a
jne 0x413d91
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
lea esi, [esp + 0x20]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call fcn.004142b0
mov eax, dword [esp + 0x3c]
jmp 0x413cf6
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 0x10]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, eax
cmp dword [eax + 0xc], edi
jbe 0x413da7
call ebx
mov eax, dword [esi]
test eax, eax
je 0x413db3
cmp eax, dword [esp + 0x40]
je 0x413db5
call ebx
cmp edi, dword [esp + 0x44]
jne 0x413dd2
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
push ecx
call fcn.004144a0
lea ecx, [esp + 0x48]
jmp 0x413e6c
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x413de4
call ebx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x413de8
mov ecx, dword [eax]
jmp 0x413dea
xor ecx, ecx
mov edx, dword [esp + 0x6c]
cmp edx, dword [ecx + 0x10]
jb 0x413df9
call ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
add ecx, 0x1c
push ecx
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
push ecx
call fcn.00414540
lea ecx, [esp + 0x48]
jmp 0x413e6c
push 0x55c028
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_char_const__]
push ebp
lea ecx, [esp + 0x74]
mov byte [esp + 0x9c], 2
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x55c02c
lea ecx, [esp + 0x74]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
lea edx, [esp + 0x70]
push edx
call fcn.004144a0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
push eax
call fcn.004144a0
lea ecx, [esp + 0x70]
mov byte [esp + 0x98], 0
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 + 0x20]
mov dword [esp + 0x98], 0xffffffff
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 ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00419fc4
add esp, 0x88
ret 8