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

Disassembly:
push 0xffffffffffffffff
push 0x459187
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x668
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov esi, ecx
push ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.MSVCRT.dll_time]
mov edx, dword [0x466578]
add esp, 4
sub eax, edx
cmp eax, 0x258
jg 0x427b4b
mov al, byte [esi + 8]
test al, al
je 0x427e50
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x7a]
mov word [esp + 0x78], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x27a]
mov word [esp + 0x278], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x3a]
mov word [esp + 0x38], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x5a]
mov word [esp + 0x58], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll_wcsncpy]
push 8
lea eax, [esp + 0x3c]
push 0x4663f4
push eax
call edi
push 2
lea ecx, [esp + 0x68]
push 0x4663f4
push ecx
call edi
lea edx, [esp + 0x90]
push edx
call fcn.00409410
lea eax, [esp + 0x74]
lea ecx, [esp + 0x54]
push eax
lea edx, [esp + 0x98]
push ecx
push edx
lea eax, [esp + 0x2a0]
push str._s_s._s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x30
cmp dword [esi + 0xc], ebx
jne 0x427c33
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x427c29
mov ecx, dword [esi + 0x44]
sub ecx, eax
sar ecx, 4
je 0x427c29
mov ecx, eax
cmp ecx, ebx
jne 0x427c18
xor eax, eax
jmp 0x427c20
mov eax, dword [esi + 0x44]
sub eax, ecx
sar eax, 4
cmp dword [esi + 0x28], eax
jb 0x427d42
mov dword [esi + 0x28], ebx
mov dword [esi + 0xc], 1
mov eax, dword [esi + 0xc]
cmp eax, 1
je 0x427d69
cmp eax, 2
jne 0x427c91
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x427c70
mov edx, dword [esi + 0x34]
sub edx, eax
sar edx, 4
je 0x427c70
mov ecx, eax
cmp ecx, ebx
jne 0x427c5f
xor eax, eax
jmp 0x427c67
mov eax, dword [esi + 0x34]
sub eax, ecx
sar eax, 4
cmp dword [esi + 0x24], eax
jb 0x427db3
lea eax, [esp + 0x278]
push ebx
push eax
mov dword [esi + 0x24], ebx
call dword [sym.imp.MSVCRT.dll__waccess]
add esp, 8
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
mov dword [esi + 0xc], eax
cmp dword [esi + 0xc], 3
jne 0x427d32
mov cl, byte [esp + 0x23]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x10], cl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x10]
lea eax, [esp + 0x278]
push edx
push eax
mov dword [esp + 0x688], 1
call fcn.00427890
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
add esp, 8
test al, al
je 0x427cf3
cmp edi, ebx
jne 0x427ce3
xor eax, eax
jmp 0x427cea
mov eax, ebp
sub eax, edi
sar eax, 4
cmp dword [esi + 0x20], eax
jb 0x427dd7
cmp edi, ebp
mov dword [esi + 0x20], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x680], 0xffffffff
je 0x427d1d
push 1
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
add edi, 0x10
cmp edi, ebp
jne 0x427d08
mov edi, dword [esp + 0x14]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push 0x3e8
call dword [0x46733c]
jmp 0x427bf8
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [esi + 0x28]
shl eax, 4
mov edx, dword [ecx]
lea ecx, [esi + 0x10]
push edx
mov edx, dword [esi + 0x40]
add eax, edx
push ebx
push eax
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
inc dword [esi + 0x28]
jmp 0x427e3d
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00428300
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov dword [esp + 0x680], ebx
mov ecx, dword [edx]
push ecx
push ebx
push eax
lea ecx, [esi + 0x10]
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x684], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov dword [esi + 0xc], 2
jmp 0x427e3d
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [esi + 0x24]
shl ecx, 4
mov eax, dword [edx]
mov edx, dword [esi + 0x30]
push eax
add edx, ecx
push ebx
push edx
lea ecx, [esi + 0x10]
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
inc dword [esi + 0x24]
jmp 0x427e3d
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [esi + 0x20]
shl eax, 4
mov edx, dword [ecx]
add eax, edi
push edx
push ebx
push eax
lea ecx, [esi + 0x10]
call dword [sym.imp.MSVCP60.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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [esi + 0x20]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
inc edx
cmp edi, eax
mov dword [esi + 0x20], edx
mov dword [esp + 0x680], 0xffffffff
mov ebp, eax
je 0x427e28
push 1
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
add edi, 0x10
cmp edi, ebp
jne 0x427e13
mov edi, dword [esp + 0x14]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
push ebx
mov byte [esi + 8], 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov dword [0x466578], eax
mov ebp, dword [esp + 0x688]
mov al, byte [esi + 0x10]
add esi, 0x10
mov byte [ebp], al
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [ecx]
mov ecx, dword [esi + 8]
mov ebx, ecx
cmp eax, ebx
jae 0x427e7c
mov ebx, eax
cmp ebp, esi
jne 0x427ee7
test ebx, ebx
mov esi, eax
jbe 0x427e8c
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xran_void_]
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Split_void_]
mov eax, dword [ebp + 8]
sub eax, ebx
cmp eax, esi
jae 0x427e9f
mov esi, eax
test esi, esi
jbe 0x427ed6
mov edx, dword [ebp + 4]
sub eax, esi
add ebx, edx
push eax
lea eax, [ebx + esi]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_memmove]
mov edi, dword [ebp + 8]
add esp, 0xc
sub edi, esi
mov ecx, ebp
push 0
push edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x427ed6
push edi
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
push 0
push 0
mov ecx, ebp
call dword [sym.imp.MSVCP60.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__::erase_unsigned_int__unsigned_int_]
jmp 0x427f68
test ebx, ebx
jbe 0x427f30
cmp ebx, ecx
jne 0x427f30
mov eax, dword [esi + 4]
test eax, eax
jne 0x427efb
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
cmp byte [eax - 1], 0xfe
jae 0x427f30
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esi + 4]
test eax, eax
jne 0x427f17
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov dword [ebp + 4], eax
mov ecx, dword [esi + 8]
mov dword [ebp + 8], ecx
mov edx, dword [esi + 0xc]
mov dword [ebp + 0xc], edx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x427f68
push 1
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x427f68
mov esi, dword [esi + 4]
test esi, esi
jne 0x427f4c
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
mov ecx, dword [esp + 0x678]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x674
ret 4