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

Disassembly:
push 0xffffffffffffffff
push 0x45932d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xafc
push ebx
push ebp
push esi
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x46d]
mov byte [esp + 0x46c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor esi, esi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x6e]
mov word [esp + 0x6c], si
push 0x462398
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xb24]
lea ecx, [esp + 0x2c]
mov bl, 1
push eax
push ecx
mov dword [esp + 0xb20], esi
mov byte [esp + 0x1f], bl
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0xc
mov eax, dword [eax + 4]
mov byte [esp + 0xb14], bl
cmp eax, esi
jne 0x429a1a
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x66c]
push edx
push eax
call dword [0x4672a4]
mov edi, eax
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], edi
mov byte [esp + 0xb18], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
cmp edi, esi
je 0x429fe9
cmp edi, 0xffffffff
je 0x429fe9
push esi
call dword [sym.imp.MSVCRT.dll_time]
mov ebp, dword [esp + 0xb3c]
add esp, 4
mov dword [esp + 0x3c], eax
cmp word [esp + 0x698], 0x2e
je 0x429f70
lea eax, [esp + 0x698]
push 0x2e
push eax
xor bl, bl
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
cmp eax, esi
je 0x429af6
lea ecx, [esp + 0x6c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.MSVCRT.dll__wcslwr]
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [esp + 0x78]
push str..tmp
push eax
call edi
add esp, 0x14
test eax, eax
je 0x429f70
lea ecx, [esp + 0x6c]
push str..temp
push ecx
call edi
add esp, 8
test eax, eax
je 0x429f70
cmp word [esp + 0x6e], 0x6c
jne 0x429af6
cmp word [esp + 0x70], 0x6e
jne 0x429af6
cmp word [esp + 0x72], 0x6b
jne 0x429af6
mov bl, 1
lea edx, [esp + 0x698]
lea eax, [esp + 0xb20]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
add esp, 0xc
mov al, byte [esp + 0x66c]
mov byte [esp + 0xb14], 2
test al, 0x10
je 0x429b79
test bl, bl
jne 0x429f36
mov edx, dword [esp + 0xb34]
mov eax, dword [esp + 0xb30]
push esi
push ebp
push edx
push eax
sub esp, 0x10
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x4623a0
push edx
push ecx
call sub.MSVCP60.dll_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____cdecl_std::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__
mov eax, dword [esp + 0xb48]
add esp, 0xc
push eax
call fcn.00429990
add esp, 0x24
test al, al
je 0x429f8c
jmp 0x429f36
test bl, bl
je 0x429c3c
mov ebx, dword [sym.imp.MSVCRT.dll_wcslen]
push 0x46635c
call ebx
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
push 1
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x429bc2
mov ecx, dword [esp + 0x18]
push esi
push 0x46635c
push ecx
call fcn.004091c0
add esp, 0xc
lea ecx, [esp + 0x14]
push esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Eos_unsigned_int_]
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x429bdc
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x8bc]
lea ecx, [esp + 0x6c]
push edx
push 0x200
push ecx
push eax
call fcn.0040c290
add esp, 0x10
test al, al
je 0x429c8d
lea edx, [esp + 0x6c]
push edx
call ebx
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
push 1
push esi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Grow_unsigned_int__bool_]
test al, al
je 0x429c3a
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x6c]
push esi
push eax
push ecx
call fcn.004091c0
add esp, 0xc
lea ecx, [esp + 0x14]
push esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Eos_unsigned_int_]
xor esi, esi
cmp dword [0x46782c], esi
jbe 0x429e0d
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0x2e
mov eax, dword [edx]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::rfind_unsigned_short_int_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
jne 0x429ca8
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xb18], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x429f70
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xb18], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
xor esi, esi
jmp 0x429f70
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
inc eax
mov ecx, dword [edx]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x30]
mov byte [esp + 0xb14], 3
cmp eax, esi
jne 0x429d17
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb18], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xb14], 0
cmp ecx, esi
je 0x429f64
mov al, byte [ecx - 1]
test al, al
je 0x429f58
cmp al, 0xff
je 0x429f58
dec al
mov byte [ecx - 1], al
jmp 0x429f64
lea eax, [esp + 0x28]
lea ecx, [esp + 0x68]
push eax
push ecx
mov ecx, 0x467820
call fcn.0042fbc0
mov eax, dword [eax]
mov ecx, dword [0x467824]
cmp eax, ecx
mov dword [esp + 0x24], eax
je 0x429d57
add eax, 0xc
lea edx, [esp + 0x28]
push eax
push edx
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
add esp, 8
test al, al
jne 0x429d57
lea eax, [esp + 0x24]
jmp 0x429d64
mov eax, dword [0x467824]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
mov ecx, dword [0x467824]
mov edx, dword [eax]
cmp ecx, edx
jne 0x429dd3
mov ecx, dword [esp + 0x2c]
cmp ecx, esi
je 0x429d96
mov al, byte [ecx - 1]
test al, al
je 0x429d8a
cmp al, 0xff
je 0x429d8a
dec al
mov byte [ecx - 1], al
jmp 0x429d96
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], esi
cmp ecx, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov byte [esp + 0xb14], 0
je 0x429f64
mov al, byte [ecx - 1]
test al, al
je 0x429f58
cmp al, 0xff
je 0x429f58
dec al
mov byte [ecx - 1], al
jmp 0x429f64
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0xb14], 2
cmp ecx, esi
je 0x429e01
mov al, byte [ecx - 1]
test al, al
je 0x429df5
cmp al, 0xff
je 0x429df5
dec al
mov byte [ecx - 1], al
jmp 0x429e01
lea eax, [ecx - 2]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x429e1a
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__wstat]
add esp, 8
test eax, eax
jne 0x429f36
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jle 0x429f36
lea ecx, [esp + 0x46c]
push 0x200
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00408f60
add esp, 0xc
cmp eax, esi
jle 0x429f36
cmp eax, 0x200
jge 0x429f36
mov byte [esp + eax + 0x46c], 0
mov eax, dword [esp + 0xb1c]
cmp eax, 0xffffffff
jne 0x429ebb
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0xb30]
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
mov edx, dword [ebp]
lea ecx, [esp + 0x478]
push eax
push ecx
add edx, ebx
push str._s_t_d_t_d_t_d_t_d_n
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x1c
jmp 0x429ef3
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0xb30]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x60]
push ecx
mov ecx, dword [ebp]
push edx
push eax
lea eax, [esp + 0x480]
push eax
add ecx, ebx
push str._s_t_d_t_t_d_t_d_t_d_t_d_n
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x20
mov ecx, dword [ebp]
mov edx, dword [esp + 0xb34]
add ecx, eax
mov eax, ecx
mov dword [ebp], ecx
sub edx, eax
cmp edx, 0x400
jge 0x429f36
mov ecx, dword [esp + 0xb3c]
mov edx, dword [esp + 0xb30]
push ecx
push eax
mov eax, dword [esp + 0xb24]
push edx
push eax
call fcn.004292d0
add esp, 0x10
test al, al
je 0x429fa7
mov dword [ebp], esi
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xb14], 0
cmp ecx, esi
je 0x429f64
mov al, byte [ecx - 1]
test al, al
je 0x429f58
cmp al, 0xff
je 0x429f58
dec al
mov byte [ecx - 1], al
jmp 0x429f64
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x66c]
push ecx
push edx
call dword [0x4672ac]
test eax, eax
je 0x429fda
jmp 0x429a69
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x17], 0
mov byte [esp + 0xb18], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
jmp 0x429fda
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x13], 0
cmp ecx, esi
mov byte [esp + 0xb14], 0
je 0x429fda
mov al, byte [ecx - 1]
test al, al
je 0x429fce
cmp al, 0xff
je 0x429fce
dec al
mov byte [ecx - 1], al
jmp 0x429fda
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x38]
push eax
call dword [0x4672e8]
mov bl, byte [esp + 0x13]
mov ecx, dword [esp + 0xb24]
cmp ecx, esi
je 0x42a012
mov al, byte [ecx - 1]
test al, al
je 0x42a006
cmp al, 0xff
je 0x42a006
dec al
mov byte [ecx - 1], al
jmp 0x42a012
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xb0c]
pop edi
pop esi
mov al, bl
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb08
ret