Function at 0x406c60
Capabilities:
Inspect load icon resource
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579885
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.0042c80a
lea esi, [edi + 0xd0]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [edi], vtable.CMyDlg.0
mov dword [ebp - 0x10], esi
call fcn.0042ce12
push 0
push 0
mov dword [esi], vtable.CPictureEx.0
lea eax, [esi + 0x80]
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
push 0
push 0
mov dword [esi + 0xe8], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xb8], 0
push eax
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0x98], 0xffffff
mov dword [esi + 0xa8], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], 0
call dword [sym.imp.USER32.dll_SetRect]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xd8], eax
push 0x800
mov byte [ebp - 4], 1
call fcn.0041aae2
add esp, 4
mov dword [edi + 0x1cc], eax
test eax, eax
je 0x40718e
lea esi, [edi + 0x1d0]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.0042ce12
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x250]
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.0042ce12
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x2d0]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.0042ce12
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x350]
mov byte [ebp - 4], 5
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.0042ce12
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x3d0]
mov byte [ebp - 4], 6
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.0042ce12
mov dword [esi], vtable.CStatic.0
lea esi, [edi + 0x450]
mov byte [ebp - 4], 7
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0042ce12
mov byte [ebp - 4], 8
mov dword [esi], vtable.CPngButton.0
call fcn.0043623f
mov ecx, eax
test ecx, ecx
je 0x407195
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x9c], eax
mov byte [ebp - 4], 9
lea ecx, [esi + 0xc0]
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
call fcn.0043415e
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd0], vtable.CFont.0
push 0
push 0
push 0xffffffffffffffff
mov byte [ebp - 4], 0xb
push 0x5c60ba
push 0
push 3
mov dword [esi + 0xec], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x8c], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [eax - 1]
mov dword [ebp - 0x10], edx
test edx, edx
jle 0x406fd5
mov eax, dword [esi + 0x9c]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or eax, ecx
jge 0x406f99
push edx
lea ecx, [esi + 0x9c]
call fcn.0040c170
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x9c]
push edx
push eax
push 0xffffffffffffffff
push 0x5c60ba
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [esi + 0x9c]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [edx - 8]
jg 0x40719f
mov dword [edx - 0xc], ecx
xor edx, edx
mov eax, dword [esi + 0x9c]
mov word [eax + ecx*2], dx
jmp 0x406fe0
lea ecx, [esi + 0x9c]
call fcn.0040bce0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xe8], 0
lea esi, [edi + 0x548]
mov byte [ebp - 4], 0xc
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0042ce12
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x5c8]
mov byte [ebp - 4], 0xd
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0042ce12
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x648]
mov byte [ebp - 4], 0xe
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0042ce12
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x6c8]
mov byte [ebp - 4], 0xf
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0042ce12
mov dword [esi], vtable.CEdit.0
lea esi, [edi + 0x748]
mov byte [ebp - 4], 0x10
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0042ce12
mov dword [esi], vtable.CButton.0
lea esi, [edi + 0x7c8]
mov byte [ebp - 4], 0x11
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0042ce12
mov dword [esi], vtable.CStatic.0
lea esi, [edi + 0x848]
mov byte [ebp - 4], 0x12
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0042ce12
mov dword [esi], vtable.CStatic.0
lea esi, [edi + 0x8c8]
mov byte [ebp - 4], 0x13
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0042ce12
mov dword [esi], vtable.CStatic.0
lea esi, [edi + 0x948]
mov byte [ebp - 4], 0x14
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.0042ce12
mov dword [esi], vtable.CProgressCtrl.0
mov byte [ebp - 4], 0x15
call fcn.00438dca
call fcn.00438dca
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
movaps xmm0, xmmword [0x5c8180]
push 0
push 1
mov dword [edi + 0x1c8], eax
sub esp, 0x10
mov eax, esp
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
movups xmmword [eax], xmm0
call fcn.0043623f
mov ecx, eax
test ecx, ecx
je 0x4071a9
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x5bfb38
mov ecx, esi
mov byte [ebp - 4], 0x16
call fcn.0040bd50
test al, al
jne 0x407171
push 0x10
push 0x5bfb38
mov ecx, esi
call fcn.0040c1e0
mov ecx, edi
mov byte [ebp - 4], 0x15
call fcn.004073f0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0
call fcn.0055c613
push 0x80004005
call fcn.00402c70
push 0x80070057
call fcn.00402c70
push 0x80004005
call fcn.00402c70
int3