Function at 0x42b2a0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x43fb9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c0
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor edi, edi
mov esi, 4
push edi
lea ecx, [ebx + 0x36c]
mov dword [ebx + 0xf84], edi
mov dword [ebx + 0x1068], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], 1
call sub.MFC42.DLL_CWnd::EnableWindow
lea ecx, [ebx + 0x784]
call fcn.00417400
mov eax, dword [ebx + 0x121c]
mov edx, dword [ebx + 0x1218]
cmp eax, eax
mov ecx, eax
je 0x42b319
mov ebp, dword [ecx]
add ecx, esi
mov dword [edx], ebp
add edx, esi
cmp ecx, eax
jne 0x42b30d
mov eax, dword [ebx + 0x121c]
mov dword [ebx + 0x121c], edx
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0xf6c]
cmp eax, edi
je 0x42b343
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [ebx + 0xf6c], edi
mov dword [ebx + 0xf70], edi
mov dword [ebx + 0xf74], edi
xor esi, esi
mov eax, dword [ebx + 0x1074]
cmp eax, edi
je 0x42b37e
mov ecx, dword [ebx + 0x1078]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0x42b37e
mov edx, eax
mov eax, dword [edx + esi*4]
mov eax, dword [eax]
cmp eax, edi
je 0x42b37b
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
inc esi
jmp 0x42b351
mov eax, dword [ebx + 0x8e0]
mov dword [esp + 0x40], edi
cmp eax, edi
jne 0x42b398
cmp dword [0x452204], edi
jne 0x42b5ed
push 0x10
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
mov dword [esp + 0x20], ebp
cmp ebp, edi
mov dword [esp + 0x8d8], edi
je 0x42b585
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x8d8], 4
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x8d8], 5
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 4]
push 0x104
push 0x104
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esi + 0x6c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str...LeakCheck.dll
push 0x104
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x155]
mov byte [esp + 0x154], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
push 0x103
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x158]
push eax
push ecx
call fcn.00403a40
lea edi, [esp + 0x160]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x5c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x2e
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]
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 0x14
test eax, eax
je 0x42b4bd
mov byte [eax], 0
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42b572
lea ecx, [esp + 0x154]
push str.4.1.0.1001
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jge 0x42b4ff
cmp esi, 4
jle 0x42b572
mov edx, dword [esp + 0x14]
push ebp
push 0x4460a8
push 0
push 0
push 0x446108
push edx
call fcn.00418db0
lea eax, [ebp + 4]
push eax
mov eax, dword [esp + 0x30]
push 0x4460b8
push 0
push 0
push 0x446118
push eax
call fcn.00418db0
mov ecx, dword [esp + 0x44]
lea eax, [ebp + 8]
push eax
push 0x4460c8
push 0
push 0
push 0x446128
push ecx
call fcn.00418db0
mov edx, dword [esp + 0x5c]
add esp, 0x48
lea eax, [ebp + 0xc]
push eax
push 0x4460e8
push 0
push 0
push 0x446148
push edx
call fcn.00418db0
add esp, 0x18
lea ecx, [esp + 0x14]
mov byte [esp + 0x8d8], 4
call sub.MFC42.DLL_CString::CString
jmp 0x42b587
xor ebp, ebp
lea ecx, [ebx + 0x1070]
mov dword [0x452204], ebp
push 0x452204
push 1
mov eax, dword [ecx + 8]
mov dword [esp + 0x8e0], 0xffffffff
push eax
call fcn.00406f30
mov eax, dword [0x452204]
mov eax, dword [eax]
test eax, eax
je 0x42b5cb
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x40]
push eax
jmp 0x42b5d5
mov dword [esp + 0x40], 4
push 4
call fcn.0043a1c0
mov ecx, eax
call fcn.0043a220
mov dword [ebx + 0x8e0], 0
xor edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov ecx, dword [0x452204]
mov dword [esp + 0x30], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x8d8], 6
mov eax, dword [ecx]
mov dword [esp + 0x28], edi
cmp eax, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], edi
je 0x42b634
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push edi
push eax
call dword [edx + 0x60]
mov edx, dword [esp + 0x8e0]
push 0x64
push 0x14
push 0x4cd
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x42b84e
mov edx, dword [ebx + 0xf70]
mov ecx, dword [ebx + 0xf74]
cmp edx, ecx
jne 0x42b69f
cmp ecx, edi
mov esi, 1
je 0x42b673
lea esi, [edx + edx]
mov ecx, dword [ebx + 0xf6c]
lea eax, [esi*4]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_realloc]
add esp, 8
cmp eax, edi
je 0x42b6be
mov dword [ebx + 0xf6c], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0xf74], esi
mov esi, dword [ebx + 0xf70]
mov edx, dword [ebx + 0xf6c]
inc esi
mov ecx, esi
mov dword [ebx + 0xf70], esi
lea ecx, [edx + ecx*4 - 4]
cmp ecx, edi
je 0x42b6c2
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
cmp ecx, edx
lea ebp, [eax + 4]
jne 0x42b707
cmp edx, edi
mov esi, 1
je 0x42b6dd
lea esi, [ecx + ecx]
mov ecx, dword [esp + 0x34]
lea eax, [esi*4]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_realloc]
add esp, 8
cmp eax, edi
je 0x42b71d
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], esi
mov edx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x38], ecx
lea ecx, [edx + ecx*4 - 4]
cmp ecx, edi
je 0x42b721
mov eax, dword [ebp]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x34]
cmp ecx, 0x64
je 0x42b731
cmp ecx, edi
jne 0x42b819
mov ecx, dword [eax + 0x30]
mov ebp, 1
cmp ecx, ebp
jne 0x42b819
mov ecx, dword [0x452204]
mov edx, dword [eax + 4]
mov ecx, dword [ecx]
cmp ecx, edi
je 0x42b77b
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov eax, dword [ecx]
push esi
lea esi, [esp + 0x34]
push esi
push edx
push ecx
call dword [eax + 0x58]
test eax, eax
jl 0x42b773
cmp dword [esp + 0x1c], edi
jne 0x42b815
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], edi
mov esi, dword [esp + 0x18]
push edi
cmp esi, edi
push edi
jne 0x42b7cf
push 0xffffffffffffffff
push ebp
push 2
push edi
push edi
push 0xef
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
push edi
lea ecx, [ebx + 0x784]
call fcn.00416be0
mov ecx, dword [esp + 0x10]
push ebp
push edi
push ebp
push ecx
mov ecx, ebx
call fcn.0042c340
test eax, eax
je 0x42b80f
push 0x14
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
push 0x15
jmp 0x42b7fc
xor ecx, ecx
cmp esi, 5
setl cl
push ecx
push eax
mov ecx, ebx
call fcn.0042c340
test eax, eax
je 0x42b80f
inc esi
cmp esi, 5
mov dword [esp + 0x18], esi
jge 0x42b7f6
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0x14
push 0x64
push esi
mov edx, dword [esp + 0x8e8]
push 0x4cd
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
or dword [esp + 0x2c], ebp
jmp 0x42b819
inc dword [esp + 0x28]
mov ecx, dword [0x452204]
mov esi, dword [esp + 0x14]
xor eax, eax
inc esi
mov dword [esp + 0x10], eax
mov ecx, dword [ecx]
cmp ecx, edi
mov dword [esp + 0x14], esi
je 0x42b84e
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
mov eax, esi
push eax
push ecx
call dword [edx + 0x60]
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x42b657
mov ecx, dword [0x452204]
mov dword [esp + 0x14], edi
mov ecx, dword [ecx]
cmp ecx, edi
je 0x42b86e
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push edi
push ecx
call dword [edx + 0x60]
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x42b9b1
mov esi, dword [esp + 0x18]
xor edi, edi
mov ecx, dword [eax + 0x34]
cmp ecx, 0x64
je 0x42b88c
cmp ecx, edi
jne 0x42b97c
cmp dword [eax + 0x30], edi
jne 0x42b97c
mov ecx, dword [0x452204]
mov edx, dword [eax + 4]
mov ecx, dword [ecx]
cmp ecx, edi
je 0x42b8cf
lea ebp, [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov eax, dword [ecx]
push ebp
lea ebp, [esp + 0x34]
push ebp
push edx
push ecx
call dword [eax + 0x58]
test eax, eax
jl 0x42b8c7
cmp dword [esp + 0x1c], edi
jne 0x42b978
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], edi
cmp esi, edi
jne 0x42b8ff
push edi
push edi
push 0xffffffffffffffff
push 1
push 2
push edi
push edi
push 0xef
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
push edi
lea ecx, [ebx + 0x784]
call fcn.00416be0
mov eax, dword [esp + 0x10]
test byte [esp + 0x2c], 1
je 0x42b929
xor ecx, ecx
cmp esi, 5
push edi
push edi
setl cl
push ecx
push eax
mov ecx, ebx
call fcn.0042c340
test eax, eax
je 0x42b96c
inc esi
cmp esi, 5
mov dword [esp + 0x18], esi
jge 0x42b953
jmp 0x42b94b
xor ecx, ecx
cmp esi, 5
push 1
push edi
setl cl
push ecx
push eax
mov ecx, ebx
call fcn.0042c340
test eax, eax
je 0x42b96c
inc esi
cmp esi, 5
mov dword [esp + 0x18], esi
jge 0x42b953
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x8e0]
lea edx, [esi + 0x14]
push 0x64
push edx
push 0x4cd
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x2c]
or al, 2
mov dword [esp + 0x2c], eax
jmp 0x42b97c
inc dword [esp + 0x28]
mov ecx, dword [0x452204]
mov ebp, dword [esp + 0x14]
xor eax, eax
inc ebp
mov dword [esp + 0x10], eax
mov ecx, dword [ecx]
cmp ecx, edi
mov dword [esp + 0x14], ebp
je 0x42b9b1
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
mov eax, ebp
push eax
push ecx
call dword [edx + 0x60]
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x42b87c
mov ebp, dword [esp + 0x18]
cmp ebp, 5
jle 0x42ba76
push 0x210
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
test esi, esi
je 0x42b9f9
mov ecx, 0x41
xor eax, eax
lea edi, [esi + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esi + 0x10c]
rep stosd dword es:[edi], eax
jmp 0x42b9fb
xor esi, esi
add ebp, 0xfffffffb
mov dword [esi], 5
push ebp
push 0
push 0xf0
lea edi, [esi + 8]
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
mov ebp, dword [sym.imp.MSVCRT.dll__snprintf]
push eax
push 0x103
push edi
call ebp
add esp, 0x10
push 0
push 0xf1
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
lea ecx, [esi + 0x10c]
push 0x103
push ecx
call ebp
add esp, 0xc
lea ecx, [ebx + 0x784]
mov byte [esi + 0x10b], 0
push esi
push 0
push 0xffffffffffffffff
push 1
push 3
push 0
push edi
push 0
call fcn.00416be0
mov eax, dword [esp + 0x10]
mov edx, dword [0x452204]
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], esi
mov ecx, dword [edx]
cmp ecx, esi
je 0x42ba9c
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push esi
push ecx
call dword [eax + 0x60]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x42bbda
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
add ecx, 0x14
xor edi, edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x34]
cmp ecx, 0x64
je 0x42bba5
cmp ecx, edi
je 0x42bba5
cmp dword [eax + 0x30], 1
jne 0x42bba5
mov ecx, dword [0x452204]
mov edx, dword [eax + 4]
mov ecx, dword [ecx]
cmp ecx, edi
je 0x42bb0d
lea ebp, [esp + 0x20]
mov dword [esp + 0x20], edi
mov eax, dword [ecx]
push ebp
lea ebp, [esp + 0x34]
push ebp
push edx
push ecx
call dword [eax + 0x58]
test eax, eax
jl 0x42bb05
cmp dword [esp + 0x20], edi
jne 0x42bba1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], edi
cmp esi, edi
jne 0x42bb3f
push edi
push edi
push 0xffffffffffffffff
push 1
push 2
push 1
push edi
push 0xf2
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
push 1
lea ecx, [ebx + 0x784]
call fcn.00416be0
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp esi, 4
push edi
push 1
setl cl
push ecx
push eax
mov ecx, ebx
call fcn.0042c340
test eax, eax
je 0x42bb95
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc esi
inc edx
inc ecx
cmp esi, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
jge 0x42bb7b
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x8e0]
push 0x64
push edx
push 0x4cd
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x2c]
or al, 4
mov dword [esp + 0x2c], eax
jmp 0x42bba5
inc dword [esp + 0x28]
mov ecx, dword [0x452204]
mov ebp, dword [esp + 0x14]
xor eax, eax
inc ebp
mov dword [esp + 0x10], eax
mov ecx, dword [ecx]
cmp ecx, edi
mov dword [esp + 0x14], ebp
je 0x42bbda
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
mov eax, ebp
push eax
push ecx
call dword [edx + 0x60]
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x42bab5
mov ecx, dword [0x452204]
mov dword [esp + 0x14], 0
mov ecx, dword [ecx]
test ecx, ecx
je 0x42bbff
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push 0
push ecx
call dword [edx + 0x60]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42bd2f
mov ecx, dword [esp + 0x18]
lea ebp, [ecx + 0x14]
mov ecx, dword [eax + 0x34]
cmp ecx, 0x64
je 0x42bcf9
xor edi, edi
cmp ecx, edi
je 0x42bcfb
cmp dword [eax + 0x30], edi
jne 0x42bcfb
mov ecx, dword [0x452204]
mov edx, dword [eax + 4]
mov ecx, dword [ecx]
cmp ecx, edi
je 0x42bc67
lea esi, [esp + 0x20]
mov dword [esp + 0x20], edi
mov eax, dword [ecx]
push esi
lea esi, [esp + 0x34]
push esi
push edx
push ecx
call dword [eax + 0x58]
test eax, eax
jl 0x42bc5f
cmp dword [esp + 0x20], edi
jne 0x42bcf3
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], edi
mov esi, dword [esp + 0x24]
cmp esi, edi
jne 0x42bc9d
push edi
push edi
push 0xffffffffffffffff
push 1
push 2
push 1
push edi
push 0xf2
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
push 1
lea ecx, [ebx + 0x784]
call fcn.00416be0
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp esi, 4
push edi
push 1
setl cl
push ecx
push eax
mov ecx, ebx
call fcn.0042c340
test eax, eax
je 0x42bce7
mov edx, dword [esp + 0x18]
inc esi
inc edx
inc ebp
cmp esi, 4
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], edx
jge 0x42bcd1
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x8e0]
push 0x64
push ebp
push 0x4cd
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x2c]
or al, 8
mov dword [esp + 0x2c], eax
jmp 0x42bcfb
inc dword [esp + 0x28]
jmp 0x42bcfb
xor edi, edi
mov eax, dword [0x452204]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
inc edx
mov eax, dword [eax]
mov dword [esp + 0x14], edx
cmp eax, edi
je 0x42bd2f
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x18]
push edx
push eax
call dword [ecx + 0x60]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x42bc0e
mov ebp, dword [esp + 0x24]
cmp ebp, 4
jle 0x42bdf0
push 0x210
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
test esi, esi
je 0x42bd77
mov ecx, 0x41
xor eax, eax
lea edi, [esi + 8]
mov dword [esi], 0
mov dword [esi + 4], 0
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esi + 0x10c]
rep stosd dword es:[edi], eax
jmp 0x42bd79
xor esi, esi
add ebp, 0xfffffffc
mov dword [esi], 4
push ebp
push 0
push 0xf3
lea edi, [esi + 8]
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
mov ebp, dword [sym.imp.MSVCRT.dll__snprintf]
push eax
push 0x103
push edi
call ebp
add esp, 0x10
push 0
push 0xf1
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
lea eax, [esi + 0x10c]
push 0x103
push eax
call ebp
add esp, 0xc
lea ecx, [ebx + 0x784]
mov byte [esi + 0x10b], 0
push esi
push 0
push 0xffffffffffffffff
push 1
push 3
push 1
push edi
push 0
call fcn.00416be0
mov ebp, dword [esp + 0x18]
push ebp
call fcn.0043a1c0
mov ecx, eax
call fcn.0043a240
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x14]
cmp eax, 0x5a
jg 0x42be12
mov eax, 0x5a
mov edx, dword [esp + 0x8e0]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x64
push eax
push 0x4cd
push edx
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [ebx + 0x784]
push 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
push 1
lea ecx, [ebx + 0x36c]
call sub.MFC42.DLL_CWnd::EnableWindow
lea ecx, [ebx + 0x444]
push 1
call sub.MFC42.DLL_CWnd::EnableWindow
lea ecx, [ebx + 0x51c]
push 1
call sub.MFC42.DLL_CWnd::EnableWindow
mov eax, dword [ebx + 0x34c]
push 0
push 0
push 0xf1
push eax
call esi
lea ecx, [ebx + 0x32c]
push 1
call sub.MFC42.DLL_CWnd::EnableWindow
test byte [esp + 0x2c], 0xc
jne 0x42bea0
mov ecx, dword [ebx + 0x34c]
push 0
push 1
push 0xf1
push ecx
call esi
test ebp, ebp
jne 0x42c1b1
mov ecx, ebx
call fcn.00413db0
test eax, eax
lea ebp, [ebx + 0xf80]
push 0
je 0x42bebf
push 0x6d
jmp 0x42bec1
push 0x6e
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 0x40]
lea eax, [edx - 1]
cmp eax, 5
ja case.default.0x42bee5
jmp dword [eax*4 + 0x42c320]
push 0
push 0
push 0xffffffffffffffff
push 1
push 2
push 0
push 0
push 0xf4
jmp 0x42bf68
push 0
push 0
push 0xffffffffffffffff
push 1
push 2
push 0
push 0
push 0xf5
jmp 0x42bf68
push 0
push 0
push 0xffffffffffffffff
push 1
push 2
push 0
push 0
push 0xf6
jmp 0x42bf68
push 0
push 0
push 0xffffffffffffffff
push 1
push 2
push 0
push 0
push 0xf7
jmp 0x42bf68
push 0
push 0
push 0xffffffffffffffff
push 1
push 2
push 0
push 0
push 0xf8
jmp 0x42bf68
push 0
push 0
push 0xffffffffffffffff
push 1
push 2
push 0
push 0
push 0xf9
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
push 0
mov ecx, edi
call fcn.00416be0
jmp 0x42c185
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString_3
push 0
lea ecx, [esp + 0x25c]
mov byte [esp + 0x8dc], 7
call fcn.0040f5f0
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
mov byte [esp + 0x8dc], 8
call fcn.0042de70
lea esi, [ebx + 0x122c]
mov ecx, esi
call fcn.00405610
push 0
push 0xfa
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
mov ecx, esi
call fcn.00405830
mov eax, dword [esp + 0x34]
test eax, eax
je 0x42c000
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x34]
xor eax, eax
push ecx
lea ecx, [esp + 0x25c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.00411070
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42c072
push eax
push 1
push 0xfb
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
lea edx, [esp + 0x28]
push eax
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x1c], eax
push 0x7d1
push 0
push 0xfc
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.00405700
push 0x7d2
push 0
push 0xfe
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
push 0
push 0xfd
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
mov ecx, esi
call fcn.00405700
push 0x7d3
push 0
push 0x100
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
push 0
push 0xff
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
mov ecx, esi
call fcn.00405700
mov eax, dword [esp + 0x28]
test eax, eax
jbe 0x42c13d
mov edx, eax
mov dword [ebx + 0x15fc], 1
push edx
push 1
push 0x101
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
lea eax, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x1c], ecx
push 0x7d4
push 0
push 0x102
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
mov edx, dword [esp + 0x20]
push eax
push edx
mov ecx, esi
call fcn.00405700
mov ecx, esi
call fcn.00405660
push 5
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esp + 0x258]
mov dword [ebx + 0x1600], 1
mov byte [esp + 0x8d8], 7
call fcn.0040f9e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x8d8], 6
call sub.MFC42.DLL_CString::CString
push 0
lea ecx, [ebx + 0x444]
call sub.MFC42.DLL_CWnd::EnableWindow
push 0
lea ecx, [ebx + 0x51c]
call sub.MFC42.DLL_CWnd::EnableWindow
push 0
lea ecx, [ebx + 0x32c]
call sub.MFC42.DLL_CWnd::EnableWindow
jmp 0x42c276
call fcn.004038b0
test eax, eax
je 0x42c24e
mov dword [esp + 0x20], 0
xor esi, esi
mov eax, dword [0x452204]
mov eax, dword [eax]
test eax, eax
je 0x42c1f5
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push esi
push eax
call dword [ecx + 0x50]
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x1c], eax
je 0x42c1f5
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42c1f5
inc esi
jmp 0x42c1c8
test esi, esi
jle 0x42c233
push 5
lea ecx, [ebx + 0x6b8]
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, dword [esp + 0x18]
lea ebp, [ebx + 0xf80]
add esi, eax
push eax
push esi
push 1
push 0x103
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
push ebp
call sub.MFC42.DLL_CString::Format
add esp, 0x10
jmp 0x42c276
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
sub eax, ecx
push ecx
push eax
push 1
lea ebp, [ebx + 0xf80]
push 0x104
jmp 0x42c21b
mov eax, dword [esp + 0x18]
lea ebp, [ebx + 0xf80]
push eax
push 1
push 0x105
call fcn.004232b0
mov ecx, eax
call fcn.00423b90
push eax
push ebp
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, dword [esp + 0x8e0]
push 0x64
push 0x64
push 0x4cd
push ecx
mov dword [ebx + 0xf84], 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, ebx
call fcn.0042da80
mov edx, dword [ebp]
lea ecx, [ebx + 0xefc]
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [ebx + 0xf1c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
push str.SaveFile
push str.SOFTWARE360Safeleak
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x42c2f1
mov ecx, ebx
call fcn.0042ea10
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x42c307
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov ecx, dword [esp + 0x8c0]
mov dword fs:[0], ecx
add esp, 0x8cc
ret 4