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

Disassembly:
push 0xffffffffffffffff
push 0x45968d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x374
push ebx
push esi
mov bl, byte [esp + 0x38c]
mov eax, dword [0x4623bc]
cmp bl, 5
mov dword [esp + 0x384], 0
mov dword [esp + 0x40], eax
jne 0x42e007
mov ecx, dword [0x462d94]
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x2b]
push edi
push edx
lea eax, [esp + 0x13]
push 0
push eax
lea ecx, [esp + 0x28]
call fcn.0042f4d0
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0xb9]
mov byte [esp + 0xb8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x466370]
mov byte [esp + 0x388], 1
cmp eax, 0x64
jle 0x42e04f
mov eax, 0x64
mov esi, dword [0x46636c]
mov word [esp + 0xba], 0x10a
test esi, esi
mov dword [esp + 0xbc], eax
jne 0x42e070
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 ecx, eax
lea edi, [esp + 0xbe]
mov edx, ecx
add eax, 6
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x30], eax
and ecx, 3
lea eax, [esp + 0x394]
rep movsb byte es:[edi], byte [esi]
push 0x462398
lea ecx, [esp + 0x38]
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 eax, dword [eax + 4]
mov byte [esp + 0x388], 2
test eax, eax
jne 0x42e0bc
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 + 0x130]
push ebp
push edx
push eax
call dword [0x4672a4]
mov edi, eax
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], edi
mov byte [esp + 0x390], 1
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, 0xffffffff
je 0x42e45d
push 0
call dword [sym.imp.MSVCRT.dll_time]
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp word [esp + 0x160], 0x2e
je 0x42e3f5
lea eax, [esp + 0x160]
push 0x2e
push eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x42e3f5
mov cx, word [eax + 2]
cmp cx, 0x74
je 0x42e3f5
cmp cx, 0x54
je 0x42e3f5
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, 3
ja 0x42e3f5
lea ecx, [esp + 0x160]
lea edx, [esp + 0x398]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
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 [esp + 0x3c]
mov byte [esp + 0x38c], 3
test eax, eax
jne 0x42e187
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 ecx, [esp + 0x78]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__wstat]
add esp, 8
test eax, eax
jne 0x42e3d9
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x42e40d
cmp eax, 0x4ffc00
jg 0x42e40d
mov edx, dword [esp + 0x98]
mov eax, esi
mov ecx, dword [esp + 0x48]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x42e1fd
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x42e1dd
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]
push eax
call dword [0x4672bc]
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x390], 1
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 0x42e3f5
mov eax, dword [esp + 0x94]
mov bl, 1
cmp esi, eax
jle 0x42e2f5
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x42e223
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]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x1c]
push edx
push 1
push ecx
push 0
push eax
call fcn.0040bc80
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x42e2f5
mov eax, dword [ebp]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 4]
cmp ecx, edx
jne 0x42e2c6
mov ecx, dword [esp + 0x34]
lea edi, [edx + ebp]
mov edx, ecx
lea esi, [esp + 0xbc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 6
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
add edx, 4
add eax, ecx
mov dword [esp + 0x20], edx
mov dword [ebp], eax
mov eax, dword [esp + 0x20]
push eax
push ebp
call fcn.00427280
mov ecx, eax
call fcn.00428240
push ebp
mov esi, eax
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp esi, 0xffffffff
je 0x42e437
call fcn.00427280
mov ecx, eax
call fcn.004282f0
test al, al
je 0x42e2e5
mov eax, dword [esp + 0x3c]
xor bl, bl
test eax, eax
jne 0x42e2de
jmp 0x42e2d9
push ebp
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x40]
add esp, 4
xor bl, bl
test eax, eax
jne 0x42e2de
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]
push eax
call dword [0x4672bc]
push 0xa
call dword [0x46733c]
test bl, bl
je 0x42e3d2
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x54], cl
lea ecx, [esp + 0x54]
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 edx, dword [esp + 0x8c]
mov eax, 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]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x38]
mov ecx, dword [eax]
mov byte [esp + 0x38c], 4
push ecx
push 0
push edx
lea ecx, [esp + 0x5c]
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__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x94]
push eax
lea edx, [esp + 0xa8]
push ecx
push edx
call fcn.00430b20
add esp, 0xc
mov ecx, dword [eax]
add eax, 8
mov dword [esp + 0x60], ecx
mov edx, dword [eax - 4]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x390], 5
mov dword [esp + 0x68], edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea eax, [esp + 0x60]
lea ecx, [esp + 0x9c]
push eax
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x394], 6
call fcn.0042f510
push 1
lea ecx, [esp + 0x6c]
mov byte [esp + 0x390], 5
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_]
push 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0x390], 4
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_]
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x390], 3
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 bl, byte [esp + 0x394]
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x390], 1
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 esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x134]
push edx
push edi
call dword [0x4672ac]
test eax, eax
je 0x42e452
jmp 0x42e100
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x42e41a
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]
push eax
call dword [0x4672bc]
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x390], 1
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 0x42e3f5
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x390], 1
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 bl, byte [esp + 0x394]
mov eax, dword [esp + 0x14]
push eax
call dword [0x4672e8]
mov ebp, dword [esp + 0x2c]
mov eax, dword [0x4623c8]
mov edi, dword [esp + 0x24]
cmp ebp, eax
jbe 0x42e4d0
mov esi, dword [edi]
cmp esi, edi
je 0x42e4d0
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x42e480
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]
push eax
call dword [0x4672bc]
mov eax, dword [0x4623c8]
dec ebp
cmp ebp, eax
jle 0x42e4cc
mov eax, dword [esi + 8]
mov ecx, dword [0x467870]
cmp eax, ecx
je 0x42e4a9
push eax
call fcn.00430880
add esp, 4
jmp 0x42e4c0
mov eax, dword [esi + 4]
cmp esi, dword [eax + 8]
jne 0x42e4bb
mov esi, eax
mov eax, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x42e4b1
cmp dword [esi + 8], eax
je 0x42e4c2
mov esi, eax
mov edi, dword [esp + 0x24]
cmp esi, edi
jne 0x42e474
jmp 0x42e4d0
mov edi, dword [esp + 0x24]
cmp bl, 0x2d
je 0x42e4f2
cmp bl, 0x2e
je 0x42e4f2
cmp bl, 0x2f
je 0x42e4f2
cmp bl, 0x2c
je 0x42e4f2
cmp bl, 0x2b
je 0x42e4f2
cmp bl, 0x35
jne 0x42e57e
mov esi, dword [edi]
cmp esi, edi
je 0x42e57e
mov ebx, dword [esp + 0x3a8]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx]
mov ebp, dword [ebx + 4]
cdq
add eax, ecx
mov ecx, dword [0x4623c4]
adc edx, ebp
cmp edx, ecx
jl 0x42e53d
jg 0x42e524
cmp eax, dword [0x4623c0]
jbe 0x42e53d
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x42e530
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]
push eax
call dword [0x4672bc]
mov edi, dword [esp + 0x24]
jmp 0x42e542
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov eax, dword [esi + 8]
mov ecx, dword [0x467870]
cmp eax, ecx
je 0x42e561
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
je 0x42e57a
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x42e557
jmp 0x42e57a
mov eax, dword [esi + 4]
cmp esi, dword [eax + 8]
jne 0x42e573
mov esi, eax
mov eax, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x42e569
cmp dword [esi + 8], eax
je 0x42e57a
mov esi, eax
cmp esi, edi
jne 0x42e503
mov ecx, dword [esp + 0x2c]
mov esi, edi
xor ebx, ebx
mov byte [esp + 0x38c], 0
mov eax, dword [esi]
cmp ecx, ebx
mov dword [esp + 0x14], eax
pop ebp
je 0x42e5dd
mov ecx, eax
cmp eax, ecx
jne 0x42e5dd
cmp esi, esi
jne 0x42e5dd
mov ecx, dword [edi + 4]
push ecx
lea ecx, [esp + 0x20]
call fcn.00430310
mov edx, dword [esp + 0x20]
mov eax, dword [0x467870]
lea ecx, [esp + 0x14]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
push ecx
mov dword [eax], eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
mov dword [eax + 8], eax
call fcn.0042f500
jmp 0x42e603
cmp eax, esi
je 0x42e607
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.00430670
lea edx, [esp + 0x14]
push edi
push edx
lea ecx, [esp + 0x24]
call fcn.0042fee0
mov eax, dword [esp + 0x10]
cmp eax, esi
jne 0x42e5e1
mov edi, dword [esp + 0x20]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
xor esi, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [0x46786c]
pop edi
dec eax
mov dword [0x46786c], eax
jne 0x42e63e
mov esi, dword [0x467870]
mov dword [0x467870], ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x42e655
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x394]
pop esi
cmp ecx, ebx
pop ebx
je 0x42e695
mov al, byte [ecx - 1]
test al, al
je 0x42e689
cmp al, 0xff
je 0x42e689
dec al
mov byte [ecx - 1], al
mov al, 1
mov ecx, dword [esp + 0x374]
mov dword fs:[0], ecx
add esp, 0x380
ret
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x374]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x380
ret