Function at 0x403030
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x808]
lea esi, [ebp - 0x60a]
push ebx
sub esp, 0x82c
mov eax, dword [0x4117cc]
mov ebx, dword [sym.imp.user32.dll_LoadStringW]
mov dword [esp + 0xc], 0xff
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 + 0xc]
sub esp, 0x10
cmp edx, 0x4e
je 0x403650
jbe 0x403100
cmp edx, 0x110
je 0x403400
cmp edx, 0x111
jne 0x4036da
cmp word [ebp + 0x10], 0x3f5
movzx eax, word [ebp + 0x10]
je 0x403750
cmp eax, 0x3f6
je 0x403820
xor edx, edx
cmp eax, 0x3f4
jne 0x4030eb
mov dword [ebp - 0x80c], edx
call sym._ApplicationPage_OnEndTask
mov edx, dword [ebp - 0x80c]
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp edx, 2
je 0x4036f0
cmp edx, 5
mov edx, 0
jne 0x4030eb
cmp dword [ebp + 0x10], 1
je 0x4030eb
mov eax, dword [ebp + 0x14]
movzx ecx, word [ebp + 0x14]
lea ebx, [ebp - 0x40c]
mov dword [ebp - 0x81c], edx
mov dword [esp + 4], ebx
shr eax, 0x10
mov edi, ecx
sub edi, dword [0x41187c]
mov dword [0x41187c], ecx
mov esi, eax
sub esi, dword [0x411878]
mov dword [0x411878], eax
mov eax, dword [0x4117c0]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowRect]
mov eax, dword [ebp - 0x400]
mov dword [ebp - 0x810], esi
sub esp, 8
mov dword [ebp - 0x80c], edi
add eax, esi
sub eax, dword [ebp - 0x408]
mov dword [esp + 0x18], 0x216
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x404]
mov dword [esp + 0xc], 0
add eax, edi
sub eax, dword [ebp - 0x40c]
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 - 0x814], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call ecx
mov edx, dword [ebp + 8]
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 - 0x818], edx
mov dword [esp + 0xc], 2
mov dword [esp], eax
call edx
mov eax, dword [ebp - 0x80c]
add eax, dword [ebp - 0x40c]
sub esp, 0x10
mov ecx, dword [ebp - 0x810]
add ecx, dword [ebp - 0x408]
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 - 0x814]
sub esp, 0xc
mov dword [esp + 4], ebx
mov dword [esp], eax
call edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x818]
sub esp, 8
mov dword [esp + 4], eax
mov eax, dword [0x4117c8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
mov dword [esp], eax
call edx
mov eax, dword [ebp - 0x80c]
add eax, dword [ebp - 0x40c]
sub esp, 0x10
mov edx, dword [ebp - 0x810]
add edx, dword [ebp - 0x408]
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 - 0x814]
sub esp, 0xc
mov dword [esp + 4], ebx
mov dword [esp], eax
call ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x4117c4]
sub esp, 8
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov ebx, dword [ebp - 0x818]
mov dword [esp + 0xc], 2
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x80c]
add eax, dword [ebp - 0x40c]
sub esp, 0x10
mov edx, dword [ebp - 0x810]
add edx, dword [ebp - 0x408]
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 - 0x81c]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret 0x10
lea eax, [ebp - 0x40c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov eax, dword [ebp - 0x404]
sub esp, 8
mov dword [0x41187c], eax
mov eax, dword [ebp - 0x400]
mov dword [esp + 0x18], 0x215
mov dword [0x411878], eax
mov eax, dword [ebp + 8]
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
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowPos]
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 0x1c
mov dword [esp + 4], 0x3f8
mov dword [esp], eax
call ebx
mov dword [0x4117c0], eax
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], 0x3f4
mov dword [esp], eax
call ebx
mov dword [0x4117b8], eax
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], 0x3f5
mov dword [esp], eax
call ebx
mov dword [0x4117c8], eax
mov eax, dword [ebp + 8]
sub esp, 8
mov dword [esp + 4], 0x3f6
mov dword [esp], eax
call ebx
mov dword [ebp - 0x200], edi
lea edi, [ebp - 0x20c]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [0x4117c4], eax
mov eax, dword [0x4117c0]
sub esp, 8
mov dword [ebp - 0x20c], 6
mov dword [ebp - 0x204], 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 - 0x200], esi
mov dword [ebp - 0x20c], 6
sub esp, 0x10
mov dword [ebp - 0x204], 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 - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [0x4117cc]
lea edi, [ebp - 0x40c]
mov dword [esp + 0xc], 0xff
lea esi, [ebp - 0x20c]
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 eax, dword [ebp + 0x14]
sub esp, 0x10
mov ebx, dword [eax]
mov eax, dword [0x4117c0]
cmp ebx, eax
je 0x403710
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 0x4037c8
xor edx, edx
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
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 - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
cmp eax, 0xfffffffb
je 0x403850
ja 0x403740
cmp eax, 0xffffff4f
je 0x403760
cmp eax, 0xffffff9b
jne 0x4036da
call sym._ApplicationPageUpdate
xor edx, edx
jmp 0x4036dc
cmp eax, 0xfffffffd
jne 0x4036da
call sym._ApplicationPage_OnSwitchTo
xor edx, edx
jmp 0x4036dc
call sym._ApplicationPage_OnSwitchTo
xor edx, edx
jmp 0x4030eb
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4038c2
cmp eax, 1
jne 0x4036da
mov eax, dword [ebp + 0x14]
mov ebx, dword [ecx + 0x208]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
test ebx, ebx
je 0x40391c
cmp eax, 1
ja 0x4037b0
jmp 0x40390d
dec eax
add edx, 2
add edi, 2
mov word [edx - 2], cx
cmp eax, 1
je 0x4037b8
movzx ecx, word [edi]
test cx, cx
jne 0x4037a0
xor ecx, ecx
mov word [edx], cx
xor edx, edx
jmp 0x4036dc
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
cmp eax, 0xfffffebe
je 0x403884
cmp eax, 0xfffffffb
jne 0x4036da
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 0x403878
call sym._ApplicationPageShowContextMenu2
xor edx, edx
jmp 0x4036dc
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 0x4030eb
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 0x40380b
call sym._ApplicationPageShowContextMenu1
xor edx, edx
jmp 0x4036dc
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 0x4036dc
mov eax, dword [ebp + 0x14]
lea ebx, [ecx + 4]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
sub ebx, eax
cmp edx, 1
ja 0x4038ed
jmp 0x403902
dec edx
add eax, 2
mov word [eax - 2], cx
cmp edx, 1
je 0x4038f6
movzx ecx, word [eax + ebx]
test cx, cx
jne 0x4038e0
xor esi, esi
xor edx, edx
mov word [eax], si
jmp 0x4036dc
test edx, edx
jne 0x4038f6
xor edx, edx
jmp 0x4036dc
test eax, eax
jne 0x4037b8
xor edx, edx
jmp 0x4036dc
cmp eax, 1
ja 0x40393c
jmp 0x40390d
dec eax
add edx, 2
add esi, 2
mov word [edx - 2], cx
cmp eax, 1
je 0x4037b8
movzx ecx, word [esi]
test cx, cx
jne 0x403928
jmp 0x4037b8