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

Disassembly:
push 0xffffffffffffffff
push 0x4b6eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x5c
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x1bc], 0
call sub.MFC42.DLL_CString::ReverseFind
mov ebp, eax
cmp ebp, 0xffffffff
je 0x45ba75
mov eax, dword [esp + 0x1c0]
mov eax, dword [eax - 8]
dec eax
cmp ebp, eax
je 0x45ba75
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov ebx, dword [esi + 0xb0]
inc ebp
lea ecx, [esp + 0x18]
lea edi, [esi + 0xb0]
push ebp
push ecx
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x1c0], 1
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__mbsicoll]
add esp, 8
lea ecx, [esp + 0x18]
mov ebx, eax
call sub.MFC42.DLL_CString::CString
test ebx, ebx
je 0x45ae5f
mov edx, dword [edi]
lea ecx, [esp + 0x1c0]
mov eax, dword [edx - 8]
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicoll]
add esp, 8
lea ecx, [esp + 0x18]
mov ebx, eax
call sub.MFC42.DLL_CString::CString
test ebx, ebx
jne 0x45ba64
mov ecx, dword [edi]
lea edx, [esp + 0x18]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x1c0]
push eax
push edx
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x1bc], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b8], 1
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x1c4]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x45ba64
mov ecx, dword [esp + 0x1c0]
mov ecx, dword [ecx - 8]
dec ecx
cmp eax, ecx
je 0x45ba64
test eax, eax
je 0x45ba64
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x1c8]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x1bc], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b8], 1
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x1c0]
lea ecx, [esp + 0x1c]
push eax
push edi
push ecx
call sub.MFC42.DLL_operator_4
push 0x4e2f04
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x1c4], 4
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
lea ecx, [esp + 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b8], 1
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x1c0]
lea ecx, [esp + 0x20]
push edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::MakeLower
mov dword [esp + 0x10], ebx
lea edi, [esi + 0x44]
xor ebp, ebp
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x45ae25
xor eax, eax
jmp 0x45ae2d
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jge 0x45ae51
mov eax, dword [esi + 0x48]
mov eax, dword [eax + ebp + 4]
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x45ae51
inc ebx
add ebp, 0x20
jmp 0x45ae1a
mov dword [esp + 0x10], ebx
mov ebx, 1
jmp 0x45aefe
lea ecx, [esp + 0x18]
push ebp
push ecx
lea ecx, [esp + 0x1c8]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1bc], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::MakeLower
xor ebx, ebx
lea edi, [esi + 0x44]
mov dword [esp + 0x10], ebx
xor ebp, ebp
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x45aeb3
xor eax, eax
jmp 0x45aebb
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 5
cmp ebx, eax
jge 0x45aedf
mov eax, dword [esi + 0x48]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + ebp + 4]
push eax
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x45aedf
inc ebx
add ebp, 0x20
jmp 0x45aea8
mov ecx, dword [esp + 0x1c0]
lea eax, [esp + 0x70]
push eax
push ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x1c], edx
test eax, eax
je 0x45b8a4
cmp eax, 0xffffffff
je 0x45b8a4
mov al, byte [esp + 0x70]
test ebx, ebx
jne 0x45af71
test al, 0x10
jne 0x45af61
lea edx, [esp + 0x9c]
push 0x4e16e0
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x45af61
lea eax, [esp + 0x9c]
push 0x4e1890
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x45af85
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x45ba64
test al, 0x10
jne 0x45af85
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x45ba64
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b8], 6
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x1004
push eax
mov byte [esp + 0x1c8], 7
call ebp
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
test eax, eax
mov dword [esp + 0x18], 0
jne 0x45afd5
xor ecx, ecx
jmp 0x45afdd
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 5
mov edx, dword [esp + 0x10]
cmp edx, ecx
je 0x45b1fc
mov eax, dword [esi + 0x48]
mov edi, edx
test ebx, ebx
jne 0x45b02f
shl edi, 5
mov ecx, dword [edi + eax + 8]
test ecx, ecx
je 0x45b06c
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b8], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b8], 1
call sub.MFC42.DLL_CString::CString
jmp 0x45ba64
shl edi, 5
mov ecx, dword [edi + eax + 8]
test ecx, ecx
jne 0x45b06c
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b8], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b8], 1
call sub.MFC42.DLL_CString::CString
jmp 0x45ba64
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [edi + eax]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 0x48]
lea edx, [esp + 0x9c]
push edx
lea ecx, [edi + eax + 4]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 0x48]
lea ecx, [edi + eax + 4]
call sub.MFC42.DLL_CString::MakeLower
test ebx, ebx
je 0x45b0a8
or eax, 0xffffffff
or edx, 0xffffffff
jmp 0x45b0c8
mov eax, dword [esp + 0x8c]
push 1
push 0
push 0
push eax
call fcn.004ac900
mov ecx, dword [esp + 0x90]
xor ebx, ebx
add eax, ecx
adc edx, ebx
mov ecx, dword [esi + 0x48]
push 0xffffffffffffffff
mov dword [edi + ecx + 0x10], eax
mov dword [edi + ecx + 0x14], edx
lea edx, [esp + 0x88]
lea ecx, [esp + 0x20]
push edx
call sub.MFC42.DLL_CTime::CTime_1
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x1c]
mov dword [edi + eax + 0x18], ecx
mov eax, dword [esi + 0x48]
add edi, eax
lea ecx, [esp + 0x2c]
push edi
call sub.MFC42.DLL_CString::operator_1
lea edx, [edi + 4]
lea ecx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [edi + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x3c], ecx
mov edx, dword [edi + 0x14]
mov dword [esp + 0x40], edx
mov eax, dword [edi + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov ecx, dword [edi + 0x1c]
mov eax, dword [esi + 0x74]
mov dword [esp + 0x48], ecx
xor edi, edi
test eax, eax
je 0x45b154
mov ecx, dword [esi + 0x78]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x45b154
mov ecx, dword [esi + 0x74]
cmp dword [ecx + edi*4], edx
je 0x45b154
inc edi
jmp 0x45b139
mov edx, dword [esi + 0x74]
mov ecx, dword [esi + 0x78]
lea edx, [edx + edi*4]
lea eax, [edx + 4]
cmp eax, ecx
je 0x45b172
sub edx, eax
mov ebx, dword [eax]
mov dword [eax + edx], ebx
add eax, 4
cmp eax, ecx
jne 0x45b166
mov eax, dword [esi + 0x78]
push 2
add eax, 0xfffffffc
push edi
mov dword [esi + 0x78], eax
mov edx, dword [esi + 0x20]
push 0x102c
push edx
mov ebx, 1
mov dword [esp + 0x2c], eax
call ebp
test eax, eax
je 0x45b19a
mov dword [esp + 0x18], ebx
push 2
push 0
push edi
mov ecx, esi
mov dword [esi + 0x40], ebx
call sub.MFC42.DLL_CListCtrl::SetItemState
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x1004
push eax
inc edi
call ebp
cmp edi, eax
jge 0x45b1e6
mov ecx, dword [esi + 0x20]
push 2
push edi
push 0x102c
push ecx
call ebp
test eax, eax
je 0x45b1d2
mov dword [esi + 0x40], ebx
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x1004
push edx
inc edi
call ebp
cmp edi, eax
jl 0x45b1bd
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jmp 0x45b2bc
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x30]
push edx
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::MakeLower
test ebx, ebx
mov dword [esp + 0x34], ebx
je 0x45b23c
or eax, 0xffffffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
jmp 0x45b264
mov eax, dword [esp + 0x8c]
push 1
push 0
push 0
push eax
call fcn.004ac900
mov ecx, dword [esp + 0x90]
xor ebx, ebx
add eax, ecx
adc edx, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
lea edx, [esp + 0x84]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CTime::CTime_1
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 8]
push ecx
push 1
push eax
mov ecx, edi
call fcn.0045d760
mov eax, dword [esi + 0x20]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0x1004
push eax
mov dword [esp + 0x2c], edx
call ebp
mov ecx, dword [esi + 0x20]
inc eax
push 0
push eax
push 0x102f
push ecx
call ebp
mov ebx, 1
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esi + 0x90]
mov byte [esp + 0x1b8], 0xa
cmp dword [esi + edx*4 + 0xb8], 2
jne 0x45b32b
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x30]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0045baf0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x1bc], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1b8], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x14]
cmp eax, ebx
jle 0x45b716
mov ecx, eax
mov dword [esp + 0x28], 1
lea ebx, [ecx - 1]
cmp ebx, 1
jl 0x45b540
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x48]
lea eax, [ebx + edx]
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esi + 0x74]
sar ebp, 1
mov edi, dword [eax + ebp*4]
shl edi, 5
add edi, ecx
lea ecx, [esp + 0x50]
push edi
call sub.MFC42.DLL_CString::CString_1
lea eax, [edi + 4]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x1bc], 0xc
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [edi + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [edi + 0x10]
mov dword [esp + 0x60], edx
mov eax, dword [edi + 0x14]
mov dword [esp + 0x64], eax
mov edx, dword [edi + 0x18]
mov dword [esp + 0x68], edx
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x6c], eax
mov edx, dword [esi + 0x90]
mov byte [esp + 0x1b8], 0xd
mov eax, dword [esi + edx*4 + 0xb8]
test eax, eax
jne 0x45b3f9
mov eax, dword [esi + 0x94]
lea edx, [esp + 0x54]
cmp eax, 1
mov eax, dword [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x38]
push ecx
push edx
jne 0x45b3ec
call fcn.00455690
add esp, 0x10
jmp 0x45b4f8
call fcn.00455650
add esp, 0x10
jmp 0x45b4f8
mov edi, 1
cmp eax, edi
jne 0x45b43a
mov eax, dword [esi + 0x94]
lea edx, [esp + 0x54]
cmp eax, edi
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
push ecx
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x70]
push ecx
push edx
jne 0x45b430
call fcn.00455a30
jmp 0x45b4f5
call fcn.004558f0
jmp 0x45b4f5
cmp eax, 2
jne 0x45b4bc
push ecx
push ecx
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0045baf0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b8], 0xe
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esi + 0x94]
mov ecx, dword [esp + 0x34]
cmp eax, edi
lea edx, [esp + 0x30]
lea eax, [esp + 0x54]
push edx
mov edx, dword [esp + 0x5c]
push eax
push ecx
lea eax, [esp + 0x58]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
jne 0x45b49d
call fcn.00455750
jmp 0x45b4a2
call fcn.004556d0
add esp, 0x18
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], eax
mov byte [esp + 0x1b8], 0xd
call sub.MFC42.DLL_CString::CString
jmp 0x45b4fc
cmp eax, 3
jne 0x45b4fc
mov eax, dword [esi + 0x94]
lea edx, [esp + 0x30]
cmp eax, edi
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x50]
push edx
lea ecx, [esp + 0x78]
push eax
push ecx
jne 0x45b4f0
call fcn.00455860
jmp 0x45b4f5
call fcn.004557d0
add esp, 0x18
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45b50d
lea edx, [ebp + 1]
mov dword [esp + 0x28], edx
jmp 0x45b512
lea ebx, [ebp - 1]
mov ebp, ebx
lea ecx, [esp + 0x54]
mov byte [esp + 0x1b8], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x1b8], 0xa
call sub.MFC42.DLL_CString::CString
cmp dword [esp + 0x28], ebx
jle 0x45b34d
jmp 0x45b544
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x74]
lea ebx, [ebp + 1]
lea edi, [esi + 0x70]
mov dword [esp + 0x10], ebx
lea ebp, [eax + ebx*4]
mov eax, dword [edi + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
jae 0x45b627
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x45b58c
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x45b58c
mov ecx, edi
call fcn.0040c1e0
mov ebx, eax
jmp 0x45b591
mov ebx, 1
mov ecx, edi
call fcn.0040c1e0
add eax, ebx
mov dword [esp + 0x28], eax
jns 0x45b5a2
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebx, eax
mov eax, dword [edi + 4]
mov ecx, edi
push ebx
push ebp
push eax
call fcn.00477960
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], eax
push ecx
push 1
push eax
mov ecx, edi
call fcn.00477990
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 8]
add edx, 4
mov ecx, edi
push edx
push eax
push ebp
call fcn.00477960
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, edi
call fcn.0040c200
mov eax, dword [edi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x2c]
add esp, 4
lea ecx, [ebx + eax*4]
mov dword [edi + 0xc], ecx
mov ecx, edi
call fcn.0040c1e0
lea edx, [ebx + eax*4 + 4]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [edi + 8], edx
jmp 0x45b6b5
mov ecx, eax
sub ecx, ebp
sar ecx, 2
cmp ecx, 1
jae 0x45b676
lea edx, [ebp + 4]
mov ecx, edi
push edx
push eax
push ebp
call fcn.00477960
mov eax, dword [edi + 8]
lea ecx, [esp + 0x14]
mov edx, eax
push ecx
sub edx, ebp
mov ecx, 1
sar edx, 2
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.00477990
mov eax, dword [edi + 8]
cmp ebp, eax
je 0x45b6b1
mov edx, dword [esp + 0x14]
mov dword [ebp], edx
add ebp, 4
cmp ebp, eax
jne 0x45b666
jmp 0x45b6b1
push eax
push eax
add eax, 0xfffffffc
mov ecx, edi
push eax
call fcn.00477960
mov ecx, dword [edi + 8]
lea eax, [ecx - 4]
cmp ebp, eax
je 0x45b69c
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, ebp
mov dword [ecx], edx
jne 0x45b68d
lea eax, [ebp + 4]
cmp ebp, eax
je 0x45b6b1
mov ecx, dword [esp + 0x14]
mov dword [ebp], ecx
add ebp, 4
cmp ebp, eax
jne 0x45b6a3
add dword [edi + 8], 4
mov edx, dword [esi + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
push edx
call ebp
lea edi, [eax - 1]
cmp edi, ebx
jle 0x45b6f2
mov ecx, dword [esi + 0x20]
lea eax, [edi - 1]
push 2
push eax
push 0x102c
push ecx
call ebp
test eax, eax
je 0x45b6ed
mov dword [esi + 0x40], 1
dec edi
cmp edi, ebx
jg 0x45b6d1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45b86c
push 2
push 2
push ebx
mov ecx, esi
mov dword [esi + 0x40], 1
call sub.MFC42.DLL_CListCtrl::SetItemState
jmp 0x45b86c
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov edx, dword [esp + 0x14]
lea edi, [esi + 0x70]
sub ecx, eax
mov dword [esp + 0x14], edx
sar ecx, 2
cmp ecx, ebx
mov ebp, eax
jae 0x45b7e4
mov edx, dword [edi + 4]
test edx, edx
je 0x45b748
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, ebx
ja 0x45b74a
mov ecx, ebx
test edx, edx
jne 0x45b752
xor eax, eax
jmp 0x45b757
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x1c], eax
jge 0x45b763
xor eax, eax
lea edx, [eax*4]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebx, eax
mov eax, dword [edi + 4]
mov ecx, edi
push ebx
push ebp
push eax
call fcn.00477960
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
push ecx
push 1
push eax
mov ecx, edi
call fcn.00477990
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 8]
add edx, 4
mov ecx, edi
push edx
push eax
push ebp
call fcn.00477960
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push ecx
push edx
mov ecx, edi
call fcn.0040c200
mov eax, dword [edi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x20]
add esp, 4
lea ecx, [ebx + eax*4]
mov dword [edi + 0xc], ecx
mov ecx, edi
call fcn.0040c1e0
lea edx, [ebx + eax*4 + 4]
mov dword [edi + 4], ebx
mov dword [edi + 8], edx
jmp 0x45b86c
mov ecx, eax
sub ecx, ebp
sar ecx, 2
cmp ecx, ebx
jae 0x45b82d
lea edx, [ebp + 4]
mov ecx, edi
push edx
push eax
push ebp
call fcn.00477960
mov eax, dword [edi + 8]
lea ecx, [esp + 0x14]
mov edx, eax
push ecx
sub edx, ebp
mov ecx, edi
sar edx, 2
sub ebx, edx
push ebx
push eax
call fcn.00477990
mov eax, dword [edi + 8]
cmp ebp, eax
je 0x45b868
mov ecx, dword [esp + 0x14]
mov dword [ebp], ecx
add ebp, 4
cmp ebp, eax
jne 0x45b81d
jmp 0x45b868
push eax
push eax
add eax, 0xfffffffc
mov ecx, edi
push eax
call fcn.00477960
mov ecx, dword [edi + 8]
lea eax, [ecx - 4]
cmp ebp, eax
je 0x45b853
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, ebp
mov dword [ecx], edx
jne 0x45b844
lea eax, [ebp + 4]
cmp ebp, eax
je 0x45b868
mov ecx, dword [esp + 0x14]
mov dword [ebp], ecx
add ebp, 4
cmp ebp, eax
jne 0x45b85a
add dword [edi + 8], 4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b8], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x1b8], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1b8], 1
call sub.MFC42.DLL_CString::CString
jmp 0x45ba2b
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x45b8af
xor eax, eax
jmp 0x45b8b7
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 5
cmp edx, eax
je 0x45ba31
mov ecx, dword [esi + 0x48]
mov eax, edx
test ebx, ebx
jne 0x45b8d8
shl eax, 5
mov edx, dword [eax + ecx + 8]
test edx, edx
je 0x45b8e7
jmp 0x45ba64
shl eax, 5
mov edx, dword [eax + ecx + 8]
test edx, edx
je 0x45ba64
mov edx, dword [edi + 8]
lea ebp, [eax + ecx + 0x20]
cmp ebp, edx
mov dword [esp + 0x18], edx
je 0x45b90f
lea ebx, [ebp - 0x20]
push ebp
mov ecx, ebx
call fcn.0045bab0
mov eax, dword [esp + 0x18]
add ebp, 0x20
add ebx, 0x20
cmp ebp, eax
jne 0x45b8f9
mov ebx, dword [edi + 8]
lea ebp, [ebx - 0x20]
cmp ebp, ebx
je 0x45b929
push 0
mov ecx, ebp
call fcn.0045db40
add ebp, 0x20
cmp ebp, ebx
jne 0x45b919
mov eax, dword [edi + 8]
add eax, 0xffffffe0
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x74]
xor edi, edi
test ecx, ecx
je 0x45b958
mov edx, dword [esi + 0x78]
sub edx, ecx
sar edx, 2
cmp edi, edx
jae 0x45b958
mov eax, dword [esi + 0x74]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + edi*4]
cmp eax, edx
je 0x45b958
inc edi
jmp 0x45b937
mov edx, dword [esi + 0x74]
mov ecx, dword [esi + 0x78]
lea edx, [edx + edi*4]
lea eax, [edx + 4]
cmp eax, ecx
je 0x45b976
sub edx, eax
mov ebx, dword [eax]
mov dword [edx + eax], ebx
add eax, 4
cmp eax, ecx
jne 0x45b96a
mov eax, dword [esi + 0x78]
mov edx, 1
add eax, 0xfffffffc
mov dword [esp + 0x18], eax
mov dword [esi + 0x78], eax
mov ecx, dword [esi + 0x74]
test ecx, ecx
jne 0x45b993
xor eax, eax
jmp 0x45b99b
mov eax, dword [esi + 0x78]
sub eax, ecx
sar eax, 2
cmp edx, eax
jge 0x45b9b6
mov ecx, dword [esi + 0x74]
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + edx*4]
mov ecx, dword [ecx + edx*4]
cmp ecx, ebx
jbe 0x45b9b3
dec ecx
mov dword [eax], ecx
inc edx
jmp 0x45b988
push 2
mov ebp, 1
push 0
push edi
mov ecx, esi
mov dword [esi + 0x40], ebp
call sub.MFC42.DLL_CListCtrl::SetItemState
mov edx, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
push edx
inc edi
call ebx
cmp edi, eax
jge 0x45ba0d
mov eax, dword [esi + 0x20]
push 2
push edi
push 0x102c
push eax
call ebx
test eax, eax
je 0x45b9f9
mov dword [esi + 0x40], ebp
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x1004
push ecx
inc edi
call ebx
cmp edi, eax
jl 0x45b9e4
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x1004
push edx
call ebx
dec eax
push 0
push eax
mov eax, dword [esi + 0x20]
push 0x102f
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x45ba47
cmp eax, 0xffffffff
je 0x45ba47
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x1004
push edx
call ebp
push eax
mov eax, dword [esi + 0x20]
push 0
push 0x1015
push eax
call ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x1b8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1b0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1ac
ret 4