Function at 0x403080
Capabilities:
Create thread

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x814]
lea esi, [ebp - 0x616]
push ebx
push ecx
sub esp, 0x848
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [sym.imp.user32.dll_LoadStringW]
mov dword [ebp - 0x81c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x820], edx
mov dword [ebp - 0x824], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0xc], 0xff
mov dword [ebp - 0x828], eax
mov eax, dword [0x4117cc]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x8066
mov dword [esp], eax
call ebx
mov eax, dword [0x4117cc]
sub esp, 0x10
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], esi
mov dword [esp + 4], 0x8067
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x820]
sub esp, 0x10
cmp edx, 0x4e
je 0x4036f0
jbe 0x403180
cmp edx, 0x110
je 0x403490
cmp edx, 0x111
jne 0x40377d
mov edi, dword [ebp - 0x824]
movzx eax, di
cmp di, 0x3f5
je 0x4037f0
cmp eax, 0x3f6
je 0x4038c8
xor edx, edx
cmp eax, 0x3f4
jne 0x403170
mov dword [ebp - 0x81c], edx
call sym._ApplicationPage_OnEndTask
mov edx, dword [ebp - 0x81c]
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp edx, 2
je 0x403790
cmp edx, 5
mov edx, 0
jne 0x403170
cmp dword [ebp - 0x824], 1
je 0x403170
mov eax, dword [ebp - 0x828]
lea ebx, [ebp - 0x418]
mov dword [ebp - 0x830], edx
mov dword [esp + 4], ebx
movzx ecx, ax
shr eax, 0x10
mov esi, eax
sub esi, dword [0x411878]
mov dword [0x411878], eax
mov edi, ecx
mov eax, dword [0x4117c0]
sub edi, dword [0x41187c]
mov dword [0x41187c], ecx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x824], esi
sub esp, 8
mov dword [ebp - 0x820], edi
add eax, esi
sub eax, dword [ebp - 0x414]
mov dword [esp + 0x18], 0x216
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x410]
mov dword [esp + 0xc], 0
add eax, edi
sub eax, dword [ebp - 0x418]
mov edi, dword [sym.imp.user32.dll_SetWindowPos]
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov eax, dword [0x4117c0]
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
mov eax, dword [0x4117c0]
mov esi, dword [sym.imp.user32.dll_InvalidateRect]
sub esp, 0x1c
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
mov ecx, dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [0x4117b8]
sub esp, 0xc
mov dword [ebp - 0x828], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x81c]
mov eax, dword [0x4117b8]
sub esp, 8
mov dword [esp + 4], edx
mov edx, dword [sym.imp.user32.dll_MapWindowPoints]
mov dword [esp + 8], ebx
mov dword [ebp - 0x82c], edx
mov dword [esp + 0xc], 2
mov dword [esp], eax
call edx
mov eax, dword [ebp - 0x820]
add eax, dword [ebp - 0x418]
sub esp, 0x10
mov ecx, dword [ebp - 0x824]
add ecx, dword [ebp - 0x414]
mov dword [esp + 8], eax
mov eax, dword [0x4117b8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], 0x215
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
mov eax, dword [0x4117b8]
sub esp, 0x1c
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
mov eax, dword [0x4117c8]
mov edx, dword [ebp - 0x828]
sub esp, 0xc
mov dword [esp + 4], ebx
mov dword [esp], eax
call edx
mov edx, dword [ebp - 0x81c]
mov eax, dword [0x4117c8]
sub esp, 8
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x82c]
mov dword [esp + 0xc], 2
mov dword [esp], eax
call edx
mov eax, dword [ebp - 0x820]
add eax, dword [ebp - 0x418]
sub esp, 0x10
mov edx, dword [ebp - 0x824]
add edx, dword [ebp - 0x414]
mov dword [esp + 8], eax
mov eax, dword [0x4117c8]
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], 0x215
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
mov eax, dword [0x4117c8]
sub esp, 0x1c
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
mov eax, dword [0x4117c4]
mov ecx, dword [ebp - 0x828]
sub esp, 0xc
mov dword [esp + 4], ebx
mov dword [esp], eax
call ecx
mov eax, dword [0x4117c4]
sub esp, 8
mov dword [esp + 8], ebx
mov ebx, dword [ebp - 0x81c]
mov dword [esp + 0xc], 2
mov dword [esp + 4], ebx
mov ebx, dword [ebp - 0x82c]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x820]
add eax, dword [ebp - 0x418]
sub esp, 0x10
mov edx, dword [ebp - 0x824]
add edx, dword [ebp - 0x414]
mov dword [esp + 8], eax
mov eax, dword [0x4117c4]
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], 0x215
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
mov eax, dword [0x4117c4]
sub esp, 0x1c
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x830]
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov ebx, dword [ebp - 0x81c]
lea eax, [ebp - 0x418]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x410]
sub esp, 8
mov dword [0x41187c], eax
mov eax, dword [ebp - 0x40c]
mov dword [esp], ebx
mov dword [0x411878], eax
mov dword [esp + 0x18], 0x215
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x1e
mov dword [esp + 8], 0xf
mov dword [esp + 4], 0
call dword [sym.imp.user32.dll_SetWindowPos]
mov dword [ebp - 0x81c], ebx
sub esp, 0x1c
mov dword [esp], ebx
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x3f8
call ebx
mov dword [0x4117c0], eax
mov eax, dword [ebp - 0x81c]
sub esp, 8
mov dword [esp + 4], 0x3f4
mov dword [esp], eax
call ebx
mov dword [0x4117b8], eax
mov eax, dword [ebp - 0x81c]
sub esp, 8
mov dword [esp + 4], 0x3f5
mov dword [esp], eax
call ebx
mov dword [0x4117c8], eax
mov eax, dword [ebp - 0x81c]
sub esp, 8
mov dword [esp + 4], 0x3f6
mov dword [esp], eax
call ebx
mov dword [ebp - 0x20c], edi
lea edi, [ebp - 0x218]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [0x4117c4], eax
mov eax, dword [0x4117c0]
sub esp, 8
mov dword [ebp - 0x218], 6
mov dword [ebp - 0x210], 0xfa
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1061
mov dword [esp], eax
call ebx
mov eax, dword [0x4117c0]
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x218], 6
sub esp, 0x10
mov dword [ebp - 0x210], 0x5f
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 0x1061
mov dword [esp], eax
call ebx
mov esi, dword [sym.imp.comctl32.dll_ImageList_Create]
sub esp, 0x10
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 9
mov dword [esp + 4], 0x10
mov dword [esp], 0x10
call esi
sub esp, 0x14
mov dword [esp + 0xc], eax
mov eax, dword [0x4117c0]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x1003
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 9
mov dword [esp + 4], 0x20
mov dword [esp], 0x20
call esi
sub esp, 0x14
mov dword [esp + 0xc], eax
mov eax, dword [0x4117c0]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1003
mov dword [esp], eax
call ebx
sub esp, 0x10
call sym._UpdateApplicationListControlViewSetting
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._ApplicationPageRefreshThread_4
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateThread]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edx, 1
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [0x4117cc]
lea edi, [ebp - 0x418]
mov dword [esp + 0xc], 0xff
lea esi, [ebp - 0x218]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x8064
mov dword [esp], eax
call ebx
mov eax, dword [0x4117cc]
sub esp, 0x10
mov dword [esp + 0xc], 0xff
mov dword [esp + 8], esi
mov dword [esp + 4], 0x8065
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x828]
mov eax, dword [0x4117c0]
sub esp, 0x10
mov ebx, dword [ecx]
cmp ebx, eax
je 0x4037b8
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x101f
mov dword [esp], eax
call esi
sub esp, 0x10
cmp ebx, eax
je 0x403870
xor edx, edx
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [0x4117bc]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
xor edx, edx
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, dword [ecx + 8]
cmp eax, 0xfffffffb
je 0x403900
ja 0x4037e0
cmp eax, 0xffffff4f
je 0x403800
cmp eax, 0xffffff9b
jne 0x40377d
call sym._ApplicationPageUpdate
xor edx, edx
jmp 0x40377f
cmp eax, 0xfffffffd
jne 0x40377d
call sym._ApplicationPage_OnSwitchTo
xor edx, edx
jmp 0x40377f
call sym._ApplicationPage_OnSwitchTo
xor edx, edx
jmp 0x403170
mov eax, dword [ebp - 0x828]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x403972
cmp eax, 1
jne 0x40377d
mov ebx, dword [ebp - 0x828]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
mov ebx, dword [ecx + 0x208]
test ebx, ebx
je 0x4039be
cmp edx, 1
ja 0x403858
jmp 0x4039af
dec edx
add eax, 2
add edi, 2
mov word [eax - 2], cx
cmp edx, 1
je 0x403860
movzx ecx, word [edi]
test cx, cx
jne 0x403848
xor ecx, ecx
xor edx, edx
mov word [eax], cx
jmp 0x40377f
mov eax, dword [ebp - 0x828]
mov eax, dword [eax + 8]
cmp eax, 0xfffffebe
je 0x403934
cmp eax, 0xfffffffb
jne 0x40377d
mov eax, dword [0x4117c0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1032
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
jle 0x403928
call sym._ApplicationPageShowContextMenu2
xor edx, edx
jmp 0x40377f
mov eax, dword [0x4117d0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x8003
mov dword [esp + 4], 0x111
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
xor edx, edx
sub esp, 0x10
jmp 0x403170
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1032
mov dword [esp], ebx
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
test eax, eax
jg 0x4038b6
call sym._ApplicationPageShowContextMenu1
xor edx, edx
jmp 0x40377f
mov eax, dword [0x4117c0]
mov dword [esp + 0xc], sym._ApplicationPageCompareFunc_12
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1030
mov dword [esp], eax
call esi
mov edx, dword [0x411784]
xor eax, eax
sub esp, 0x10
test edx, edx
sete al
xor edx, edx
mov dword [0x411784], eax
jmp 0x40377f
mov eax, dword [ebp - 0x828]
lea ebx, [ecx + 4]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
sub ebx, eax
cmp edx, 1
ja 0x4039a1
jmp 0x4039af
dec edx
add eax, 2
mov word [eax - 2], cx
cmp edx, 1
je 0x403860
movzx ecx, word [eax + ebx]
test cx, cx
jne 0x403990
jmp 0x403860
test edx, edx
jne 0x403860
xor edx, edx
jmp 0x40377f
cmp edx, 1
ja 0x4039dc
jmp 0x4039af
dec edx
add eax, 2
add esi, 2
mov word [eax - 2], cx
cmp edx, 1
je 0x403860
movzx ecx, word [esi]
test cx, cx
jne 0x4039c8
jmp 0x403860