Function at 0x40c260
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4319b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7d0
push ebx
push ebp
push esi
push edi
mov ecx, 0xfa
xor eax, eax
lea edi, [esp + 0x3f8]
mov dl, 0x31
rep stosd dword es:[edi], eax
mov al, 0x66
xor ebx, ebx
mov cl, 0x32
mov byte [esp + 0xb4], al
mov byte [esp + 0xb5], 0x64
mov byte [esp + 0xb6], dl
mov byte [esp + 0xb7], al
mov byte [esp + 0xb8], 0x33
mov byte [esp + 0xb9], al
mov byte [esp + 0xba], 0x63
mov byte [esp + 0xbb], 0x61
mov byte [esp + 0xbc], 0x3a
mov byte [esp + 0xbd], 0x20
mov byte [esp + 0xbe], bl
mov byte [esp + 0xa8], 0x61
mov byte [esp + 0xa9], 0x33
mov byte [esp + 0xaa], 0x35
mov byte [esp + 0xab], 0x39
mov byte [esp + 0xac], 0x38
mov byte [esp + 0xad], dl
mov byte [esp + 0xae], 0x64
mov byte [esp + 0xaf], 0x33
mov byte [esp + 0xb0], 0x3a
mov byte [esp + 0xb1], 0x20
mov byte [esp + 0xb2], bl
mov byte [esp + 0xc0], 0x30
mov byte [esp + 0xc1], 0x61
mov byte [esp + 0xc2], 0x37
mov byte [esp + 0xc3], dl
mov byte [esp + 0xc4], 0x37
mov byte [esp + 0xc5], cl
mov byte [esp + 0xc6], 0x64
mov byte [esp + 0xc7], 0x62
mov byte [esp + 0xc8], 0x3a
mov byte [esp + 0xc9], 0x20
mov byte [esp + 0xca], bl
mov byte [esp + 0xcc], 0x63
mov byte [esp + 0xcd], 0x30
mov byte [esp + 0xce], 0x30
mov byte [esp + 0xcf], 0x65
mov byte [esp + 0xd0], 0x65
mov byte [esp + 0xd1], al
mov byte [esp + 0xd2], 0x36
mov byte [esp + 0xd3], 0x65
mov byte [esp + 0xd4], 0x3a
mov byte [esp + 0xd5], 0x20
mov byte [esp + 0xd6], bl
mov byte [esp + 0xd8], 0x36
mov byte [esp + 0xd9], 0x39
mov byte [esp + 0xda], cl
mov byte [esp + 0xdb], cl
mov byte [esp + 0xdc], 0x63
mov byte [esp + 0xdd], 0x34
mov byte [esp + 0xde], cl
mov byte [esp + 0xdf], 0x62
mov byte [esp + 0xe0], 0x3a
mov byte [esp + 0xe1], 0x20
mov byte [esp + 0xe2], bl
mov byte [esp + 0x90], cl
mov byte [esp + 0x91], 0x39
mov byte [esp + 0x92], 0x36
mov byte [esp + 0x93], 0x65
mov byte [esp + 0x94], cl
mov byte [esp + 0x95], al
mov byte [esp + 0x96], 0x33
mov byte [esp + 0x97], 0x64
mov byte [esp + 0x98], bl
mov byte [esp + 0x78], 0x64
mov byte [esp + 0x79], 0x62
mov byte [esp + 0x7a], dl
mov byte [esp + 0x7b], al
mov byte [esp + 0x7c], al
mov byte [esp + 0x6c], al
mov al, 0xa
mov byte [esp + 0x15], al
mov byte [esp + 0x4d], al
mov byte [esp + 0x4f], al
mov byte [esp + 0x6f], cl
mov cl, byte [esp + 0x13]
mov al, 0x25
mov byte [esp + 0x54], al
mov byte [esp + 0x57], al
mov al, byte [esp + 0x13]
mov byte [esp + 0x5d], cl
lea ecx, [esp + 0x5c]
mov byte [esp + 0x7d], dl
mov byte [esp + 0x7e], 0x37
mov byte [esp + 0x7f], 0x38
mov byte [esp + 0x80], bl
mov byte [esp + 0x6d], 0x61
mov byte [esp + 0x6e], 0x64
mov byte [esp + 0x70], 0x39
mov byte [esp + 0x71], 0x64
mov byte [esp + 0x72], dl
mov byte [esp + 0x73], 0x65
mov byte [esp + 0x74], bl
mov byte [esp + 0x9c], 0x34
mov byte [esp + 0x9d], 0x38
mov byte [esp + 0x9e], 0x62
mov byte [esp + 0x9f], 0x38
mov byte [esp + 0xa0], 0x61
mov byte [esp + 0xa1], 0x36
mov byte [esp + 0xa2], 0x63
mov byte [esp + 0xa3], 0x34
mov byte [esp + 0xa4], bl
mov byte [esp + 0x84], 0x38
mov byte [esp + 0x85], 0x63
mov byte [esp + 0x86], 0x36
mov byte [esp + 0x87], 0x62
mov byte [esp + 0x88], dl
mov byte [esp + 0x89], 0x37
mov byte [esp + 0x8a], 0x65
mov byte [esp + 0x8b], 0x36
mov byte [esp + 0x8c], bl
mov byte [esp + 0x14], 0xd
mov byte [esp + 0x16], bl
mov byte [esp + 0x4c], 0xd
mov byte [esp + 0x4e], 0xd
mov byte [esp + 0x50], bl
mov byte [esp + 0x55], 0x73
mov byte [esp + 0x56], 0x5c
mov byte [esp + 0x58], 0x73
mov byte [esp + 0x59], bl
mov byte [esp + 0x5c], al
mov byte [esp + 0x64], bl
call fcn.0040da50
mov ebp, dword [esp + 0x7f0]
mov cl, 0x2a
mov al, 0x2e
mov byte [esp + 0x3d], cl
mov byte [esp + 0x3e], al
mov byte [esp + 0x35], cl
mov byte [esp + 0x36], al
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x7e8], ebx
mov byte [esp + 0x3c], 0x5c
mov byte [esp + 0x3f], 0x61
mov byte [esp + 0x40], 0x72
mov byte [esp + 0x41], 0x6a
mov byte [esp + 0x42], bl
mov byte [esp + 0x34], 0x5c
mov byte [esp + 0x37], 0x76
mov byte [esp + 0x38], 0x73
mov byte [esp + 0x39], 0x73
mov byte [esp + 0x3a], bl
lea edx, [esp + 0x3f8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x7f4]
and ecx, 3
cmp eax, 0xd
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x34]
je 0x40c64f
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3f8]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x2b8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3fc]
push ecx
call fcn.00419150
mov ecx, eax
call fcn.0041b4f0
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x40c91a
push ebx
call dword [sym.imp.MSVCRT.dll_time]
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x1b4]
lea edx, [esp + 0x2e4]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x58]
push ebp
lea ecx, [esp + 0x1bc]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x13c]
lea eax, [esp + 0x1c4]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__stat]
add esp, 0x18
test eax, eax
jne 0x40c8e8
mov eax, dword [esp + 0x140]
cmp eax, ebx
jle 0x40c8d4
cmp eax, 0x3938700
jg 0x40c8d4
mov ecx, dword [esp + 0x14c]
mov eax, esi
sub eax, ecx
cdq
mov ecx, eax
mov eax, dword [0x4379c8]
xor ecx, edx
lea eax, [eax + eax*2]
sub ecx, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*8]
shl edx, 7
cmp ecx, edx
jle 0x40c752
lea eax, [esp + 0x1b4]
push eax
jmp 0x40c8dc
cmp esi, dword [esp + 0x148]
jl 0x40c8e8
mov cl, byte [esp + 0x13]
lea edi, [esp + 0x1b4]
mov byte [esp + 0x1c], cl
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1b4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], ebx
push ecx
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
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_char_const___unsigned_int_]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14c]
push eax
lea edx, [esp + 0x11c]
push ecx
push edx
mov byte [esp + 0x7f4], 1
call fcn.0040def0
add esp, 0xc
mov ecx, dword [eax]
lea esi, [eax + 4]
mov dword [esp + 0xf0], ecx
push ebx
mov dl, byte [esi]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x7ec], 2
mov byte [esp + 0xf8], dl
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 [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [eax]
push ecx
push ebx
push esi
lea ecx, [esp + 0x100]
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_]
lea edx, [esp + 0xf0]
lea eax, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x7f0], 3
call fcn.0040d390
mov eax, dword [esp + 0xf8]
cmp eax, ebx
je 0x40c844
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40c83b
cmp al, 0xff
je 0x40c83b
dec al
mov byte [ecx], al
jmp 0x40c844
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x120]
mov dword [esp + 0xf8], ebx
cmp eax, ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
je 0x40c881
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40c878
cmp al, 0xff
je 0x40c878
dec al
mov byte [ecx], al
jmp 0x40c881
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x120], ebx
cmp eax, ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov byte [esp + 0x7e8], bl
je 0x40c8c2
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40c8b9
cmp al, 0xff
je 0x40c8b9
dec al
mov byte [ecx], al
jmp 0x40c8c2
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jmp 0x40c8e8
lea ecx, [esp + 0x1b4]
push ecx
call fcn.00419150
mov ecx, eax
call fcn.0041b550
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x2b8]
push edx
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b510
test eax, eax
jne 0x40c6b4
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00419150
mov ecx, eax
call fcn.0041b530
mov eax, dword [0x4379cc]
xor edi, edi
shl eax, 0x14
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x60]
mov esi, eax
mov ecx, dword [eax]
mov dword [esp + 0x44], esi
cmp eax, ecx
je 0x40cd55
jmp 0x40c945
mov edi, dword [esp + 0xec]
lea ecx, [esp + 0xe8]
mov dword [esp + 0xe8], esi
call fcn.0040dd60
mov edx, dword [esp + 0xe8]
mov cl, byte [edx + 0x10]
lea eax, [edx + 0x10]
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 byte [esp + 0x1c], cl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [edx]
push ecx
push ebx
push eax
lea ecx, [esp + 0x28]
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 eax, dword [0x4379d0]
inc edi
cmp edi, eax
mov byte [esp + 0x7e8], 4
mov dword [esp + 0xec], edi
jle 0x40c9fa
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x40c9b0
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]
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b550
mov eax, dword [esp + 0x20]
mov byte [esp + 0x7e8], bl
cmp eax, ebx
je 0x40c9e9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40c9e0
cmp al, 0xff
je 0x40c9e0
dec al
mov byte [ecx], al
jmp 0x40c9e9
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jmp 0x40cd0a
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x48], ebx
jne 0x40ca13
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]
lea edx, [esp + 0x48]
lea ecx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.00410880
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x30], eax
je 0x40ccce
mov edx, dword [esp + 0x7f8]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov ebp, dword [edx]
add ebp, ecx
mov edi, ebp
mov dword [edx], ebp
cmp edi, esi
jle 0x40ca7d
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x40ca5e
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]
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b550
mov edx, dword [esp + 0x30]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x40ccce
push ecx
push eax
call fcn.00411030
mov eax, dword [esp + 0x7fc]
add esp, 8
cmp eax, 6
jne 0x40cb37
push 0x400
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xe8], eax
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0xc
cmp eax, ebx
je 0x40cb2a
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0xe4]
sub eax, esi
mov ecx, pe_nt_image_headers32
add eax, 4
mov edi, edx
mov ebp, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, ebp
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0040bf80
mov esi, eax
mov eax, dword [esp + 0xe4]
push esi
push 5
push ebp
push eax
call fcn.00411d70
add esp, 0x10
test eax, eax
je 0x40cb2a
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
push esi
sub ecx, ebp
push 5
add ebp, edx
push ecx
push ebp
call fcn.00411d70
add esp, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xe4]
push eax
jmp 0x40cc98
cmp eax, 7
jne 0x40cb45
lea edi, [esp + 0x90]
jmp 0x40cb7a
cmp eax, 8
jne 0x40cb50
lea edi, [esp + 0x78]
jmp 0x40cb7a
cmp eax, 9
jne 0x40cb5b
lea edi, [esp + 0x6c]
jmp 0x40cb7a
cmp eax, 0xb
je 0x40cb73
cmp eax, 0xc
je 0x40cb73
cmp eax, 0xd
jne 0x40cb9e
lea edi, [esp + 0x84]
jmp 0x40cb7a
lea edi, [esp + 0x9c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x104]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.MSVCRT.dll_time]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], eax
push ecx
call dword [sym.imp.MSVCRT.dll_localtime]
add esp, 8
cmp eax, ebx
jne 0x40cbc4
mov dword [esp + 0x150], ebx
jmp 0x40cbdd
push eax
push str._Y_m_d_H_M_S
lea edx, [esp + 0x158]
push 0x64
push edx
call dword [sym.imp.MSVCRT.dll_strftime]
add esp, 0x10
push 0xfa0
call sub.MFC42.DLL_operatornew
mov ebp, eax
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, ebx
jne 0x40cbf9
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]
lea edx, [esp + 0x14]
mov ecx, eax
push edx
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x50]
push edx
lea edx, [esp + 0xcc]
push edx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x164]
push edx
lea edx, [esp + 0xf0]
push edx
lea edx, [esp + 0x30]
push edx
push ecx
lea ecx, [esp + 0xf0]
lea edx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x12c]
push edx
push ecx
lea edx, [esp + 0xe4]
lea ecx, [esp + 0x44]
push edx
push ecx
lea edx, [esp + 0xe0]
push eax
push edx
push str._s_s_s_s_s_s_s_s_s_s_s_s_s_d_s_s
push ebp
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, eax
call fcn.0040bf80
mov esi, eax
push esi
push 5
push edi
push ebp
call fcn.00411d70
add esp, 0x58
test eax, eax
je 0x40cc97
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
push esi
push 5
push eax
push ecx
call fcn.00411d70
add esp, 0x10
mov dword [esp + 0x2c], eax
push ebp
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x34]
add esp, 4
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x30]
add esp, 4
cmp eax, ebx
je 0x40ccce
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x40ccc2
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]
push 0x1e
push ebx
push eax
call fcn.00410710
add esp, 0xc
mov eax, dword [esp + 0x20]
mov byte [esp + 0x7e8], bl
cmp eax, ebx
je 0x40ccfa
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40ccf1
cmp al, 0xff
je 0x40ccf1
dec al
mov byte [ecx], al
jmp 0x40ccfa
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [esp + 0x44]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
cmp dword [esi + 0x20], ebx
jne 0x40cd1c
mov eax, dword [esi + 4]
cmp dword [eax + 4], esi
jne 0x40cd1c
mov esi, dword [esi + 8]
jmp 0x40cd45
mov eax, dword [esi]
mov ecx, dword [0x438d68]
cmp eax, ecx
je 0x40cd33
push eax
call fcn.0040de20
add esp, 4
jmp 0x40cd43
mov eax, dword [esi + 4]
cmp esi, dword [eax]
jne 0x40cd43
mov ecx, eax
mov eax, dword [eax + 4]
cmp ecx, dword [eax]
je 0x40cd3a
mov esi, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x44], esi
cmp esi, dword [eax]
jne 0x40c93e
mov edx, dword [esp + 0x68]
mov esi, eax
cmp edx, ebx
mov dword [esp + 0x7e8], 0xffffffff
mov ecx, dword [esi]
mov dword [esp + 0x18], ecx
je 0x40cdcc
mov edx, ecx
cmp ecx, edx
jne 0x40cdcc
mov edi, dword [eax + 4]
mov ecx, dword [0x438d68]
cmp edi, ecx
mov esi, edi
je 0x40cdb6
mov ecx, dword [esi + 8]
push ecx
lea ecx, [esp + 0x60]
call fcn.0040da00
mov esi, dword [esi]
push ebx
lea ecx, [edi + 0xc]
call fcn.0040e1b0
push edi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [0x438d68]
add esp, 4
cmp esi, ecx
mov edi, esi
jne 0x40cd85
mov eax, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], ebx
mov dword [eax], eax
mov eax, dword [esp + 0x60]
mov dword [eax + 8], eax
jmp 0x40cdf2
cmp ecx, esi
je 0x40cdf6
mov edi, ecx
lea ecx, [esp + 0x18]
call fcn.0040dea0
lea edx, [esp + 0x3c]
push edi
push edx
lea ecx, [esp + 0x64]
call fcn.0040d5d0
mov ecx, dword [esp + 0x18]
cmp ecx, esi
jne 0x40cdd0
mov eax, dword [esp + 0x60]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ebx
xor esi, esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov eax, dword [0x438d64]
dec eax
mov dword [0x438d64], eax
jne 0x40ce2c
mov esi, dword [0x438d68]
mov dword [0x438d68], ebx
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp esi, ebx
je 0x40ce43
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x7e0]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x7dc
ret