Function at 0x40e2b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov al, byte [esp + 0x60]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x60], 1
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x40e2fc
xor esi, esi
jmp 0x40e304
mov esi, dword [edi + 8]
sub esi, eax
sar esi, 4
push ebx
push 0x45c6c0
lea ecx, [esp + 0x38]
call fcn.0040e5f0
lea ecx, [esp + 0x50]
mov byte [esp + 0x60], 2
call sub.MFC42u.DLL_CString::CString_3
push str.Extract_files_...
mov byte [esp + 0x64], 3
mov dword [esp + 0x34], 0x44c8d4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x50], bl
mov dword [esp + 0x58], 0x8000
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x34]
push eax
push str.Extract_files_...
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_unsigned_short_int_const___unsigned_int_]
push esi
lea ecx, [esp + 0x34]
call fcn.004084b0
call fcn.0040e790
cmp dword [0x45c6bc], ebx
jne 0x40e39c
call sub.MFC42u.DLL_AfxGetThread
cmp eax, ebx
je 0x40e39c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
cmp eax, ebx
je 0x40e39c
cmp dword [eax + 0x20], ebx
je 0x40e39c
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call sub.MFC42u.DLL_CWnd::GetWindowTextW
push ebp
mov byte [esp + 0x64], 4
mov dword [esp + 0x70], ebx
xor ebp, ebp
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x40e517
mov edx, dword [edi + 8]
sub edx, eax
mov eax, dword [esp + 0x70]
sar edx, 4
cmp eax, edx
jae 0x40e517
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x34]
call dword [eax + 0x20]
test eax, eax
je 0x40e477
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x34]
call dword [edx + 0x20]
mov esi, eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x34]
call dword [eax + 0x1c]
cmp eax, esi
jae 0x40e3fc
inc dword [esp + 0x48]
jmp 0x40e400
mov dword [esp + 0x48], ebx
mov esi, dword [0x45c6b4]
mov edx, dword [esp + 0x34]
inc esi
lea ecx, [esp + 0x34]
mov dword [0x45c6b4], esi
call dword [edx + 0x1c]
mov edx, dword [esp + 0x34]
lea eax, [eax + eax*4]
lea ecx, [esp + 0x34]
lea eax, [eax + eax*4]
lea esi, [eax*4 - 0x64]
call dword [edx + 0x20]
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x34]
mov esi, eax
call dword [edx + 0x1c]
lea eax, [eax + eax*4]
lea ecx, [esp + 0x34]
lea ebx, [eax + eax*4]
mov eax, dword [esp + 0x34]
shl ebx, 2
call dword [eax + 0x20]
mov ecx, eax
mov eax, ebx
xor edx, edx
div ecx
cmp esi, eax
je 0x40e475
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
push edx
lea ecx, [esp + 0x38]
call dword [eax + 0x18]
xor ebx, ebx
mov eax, dword [edi + 4]
push ebx
mov cl, byte [eax + ebp]
lea esi, [eax + ebp]
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
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 [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]
lea ecx, [esp + 0x24]
mov eax, dword [edx]
push eax
push ebx
push esi
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_]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x64], 5
cmp eax, ebx
je 0x40e4ca
lea ecx, [esp + 0x24]
push ecx
call fcn.0040e5c0
add esp, 4
cmp ax, 0x5c
je 0x40e4f5
cmp ax, 0x2f
je 0x40e4f5
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0040e7d0
add esp, 8
test al, al
je 0x40e4f5
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
push 1
push edx
lea ecx, [esp + 0x20]
call fcn.00427d70
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 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_]
mov ecx, dword [esp + 0x70]
inc ecx
add ebp, 0x10
mov dword [esp + 0x70], ecx
jmp 0x40e3a8
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x18]
mov al, byte [esp + 0x14]
cmp ecx, ebx
mov byte [esi], al
pop ebp
jne 0x40e52e
xor eax, eax
jmp 0x40e537
mov eax, dword [esp + 0x18]
sub eax, ecx
sar eax, 4
cmp eax, ebx
jge 0x40e53d
xor eax, eax
shl eax, 4
push eax
call sub.MFC42u.DLL_operatornew
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi + 4], eax
push eax
push ecx
push edx
mov ecx, esi
call fcn.00428080
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x30], 0x44c8d4
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 7
call fcn.00409230
lea ecx, [esp + 0x50]
mov byte [esp + 0x60], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 1
call fcn.004083a0
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], bl
call fcn.004270e0
mov ecx, dword [esp + 0x58]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret