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

Disassembly:
push 0xffffffffffffffff
push 0x43bc08
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x444fe0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov ecx, 0x448520
call fcn.0042dde0
mov edi, dword [esp + 0x84]
mov ecx, dword [edi + 0x18]
lea ebx, [edi + 0x1c]
movzx eax, ax
push ebx
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
call fcn.00427610
mov eax, dword [0x448588]
xor esi, esi
mov dword [esp + 0x7c], esi
cmp eax, esi
jne 0x42df6b
cmp byte [0x44855d], 0
je 0x42df51
cmp dword [0x448534], esi
je 0x42df51
mov eax, dword [0x448528]
cmp eax, esi
je 0x42df17
push str.ItemsView
push esi
call eax
mov esi, eax
or ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
test esi, esi
je 0x42df51
lea edx, [esp + 0x1c]
push edx
push 0xeda
push 0
push 0
push esi
call dword [0x448534]
mov ebx, eax
mov eax, dword [0x44852c]
test eax, eax
je 0x42df45
push esi
call eax
test ebx, ebx
jge 0x42df89
mov dword [esp + 0x1c], ebp
mov ebx, dword [esp + 0x18]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov dword [0x448584], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [0x448588], eax
mov esi, dword [esp + 0x70]
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [edi + 0x10]
test al, 6
je 0x42dfa3
mov dword [esp + 0x14], 4
jmp 0x42dffd
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x42df4d
push eax
mov dword [0x448584], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebx, dword [esp + 0x18]
jmp 0x42df66
mov dword [esp + 0x14], 1
test al, 1
je 0x42dfb9
mov dword [esp + 0x14], 3
jmp 0x42dffd
mov ecx, dword [edi + 0x14]
cmp dword [0x448508], ecx
jne 0x42dfce
mov dword [esp + 0x14], 2
jmp 0x42dffd
test al, 0x20
je 0x42dfdc
mov dword [esp + 0x14], 5
jmp 0x42dffd
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebp
jne 0x42dffd
test byte [edi + 0x10], 0x10
je 0x42dffd
mov dword [esp + 0x14], 6
mov eax, dword [0x448540]
xor ebp, ebp
cmp eax, ebp
je 0x42e04e
cmp dword [0x448524], 8
jl 0x42e04e
call eax
cmp eax, ebp
je 0x42e04e
mov ecx, dword [0x448528]
mov eax, dword [edi + 0x14]
cmp ecx, ebp
je 0x42e04e
push str.BUTTON
push eax
call ecx
mov ecx, eax
mov dword [esp + 0x1c], ecx
cmp ecx, ebp
je 0x42e052
mov eax, dword [0x448538]
cmp eax, ebp
je 0x42e07c
mov edx, dword [esp + 0x14]
push ebp
push ebx
push edx
push 1
push esi
push ecx
call eax
jmp 0x42e07c
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x14]
sub eax, 3
mov ecx, 0x10
je 0x42e06c
sub eax, 1
jne 0x42e071
mov ecx, 0x110
jmp 0x42e071
mov ecx, 0x210
push ecx
push 4
push ebx
push esi
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov ebx, dword [edi + 0x20]
mov eax, dword [edi + 0x28]
sub eax, ebx
cmp eax, 7
jle 0x42e370
mov ecx, dword [esp + 0x18]
mov ebp, dword [ecx]
mov esi, dword [edi + 0x24]
sub esi, ebp
cmp esi, 7
jle 0x42e370
cmp dword [esp + 0x14], 3
jne 0x42e0b0
add ebp, 4
add ebx, 4
jmp 0x42e0b6
add ebp, 3
add ebx, 3
mov edi, dword [esp + 0x8c]
lea edx, [eax + ebx - 7]
lea esi, [esi + ebp - 7]
mov dword [esp + 0x50], edx
test edi, edi
je 0x42e138
mov eax, dword [esp + 0x88]
cmp word [eax], 0
je 0x42e0de
mov ecx, ebp
jmp 0x42e0ed
mov ecx, esi
sub ecx, ebp
sub ecx, dword [esp + 0x90]
sar ecx, 1
add ecx, ebp
mov eax, edx
mov edx, dword [esp + 0x94]
sub eax, ebx
sub eax, edx
sar eax, 1
add eax, ebx
cmp dword [esp + 0x90], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jle 0x42e134
test edx, edx
jle 0x42e134
push 3
push 0
push 0
push edx
mov edx, dword [esp + 0xa0]
push edx
push edi
push eax
mov eax, dword [esp + 0x8c]
push ecx
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x88]
cmp word [ecx], 0
je 0x42e2dc
mov edx, dword [esp + 0x70]
push edx
mov ecx, 0x448520
call fcn.0042de40
mov dword [esp + 0x24], ebp
test edi, edi
je 0x42e16b
xor edi, edi
add ebp, 0x21
mov dword [esp + 0x24], ebp
jmp 0x42e170
mov edi, 1
mov edx, dword [esp + 0x50]
movzx eax, word [esp + 0x20]
mov ecx, edx
sub ecx, eax
mov eax, ecx
sub eax, ebx
sar eax, 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ecx
test eax, eax
jle 0x42e19f
sub edx, eax
sub ecx, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ecx
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
mov dword [esp + 0x38], ecx
mov ecx, edi
or ecx, 0x424
push ecx
mov dword [esp + 0x44], edx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x90]
push 0xffffffffffffffff
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x7c]
push ebp
push esi
call ebx
cmp dword [esp + 0x8c], 0
mov eax, dword [esp + 0x3c]
jne 0x42e200
sub eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
sub edx, eax
sub edx, ecx
sar edx, 1
add ecx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ecx
add eax, ecx
cmp dword [esp + 0x14], 4
mov dword [esp + 0x2c], eax
jne 0x42e23f
push 0
call fcn.00429030
add esp, 4
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, edi
or eax, 0x24
push eax
lea ecx, [esp + 0x28]
push ecx
push 0xffffffffffffffff
push ebp
push esi
call ebx
mov eax, 1
sub dword [esp + 0x24], eax
sub dword [esp + 0x28], eax
push 9
jmp 0x42e241
push 1
call fcn.00429030
add esp, 4
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
or edi, 0x24
push edi
lea edx, [esp + 0x28]
push edx
push 0xffffffffffffffff
push ebp
push esi
call ebx
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0x10]
test al, 0x10
je 0x42e370
mov edx, dword [esp + 0x14]
cmp edx, 4
je 0x42e370
test eax, 0x200
jne 0x42e370
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x42e2b7
mov eax, dword [0x44853c]
test eax, eax
je 0x42e2d1
lea edi, [esp + 0x24]
push edi
mov edi, dword [esp + 0x1c]
push edi
push edx
push 1
push esi
push ecx
call eax
lea ecx, [esp + 0x24]
push ecx
push esi
jmp 0x42e36a
mov eax, 2
sub dword [esp + 0x24], eax
add dword [esp + 0x2c], eax
mov eax, 1
sub dword [esp + 0x28], eax
add dword [esp + 0x30], eax
lea ecx, [esp + 0x24]
push ecx
push esi
jmp 0x42e36a
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0x10]
test al, 0x10
je 0x42e370
mov edi, dword [esp + 0x14]
cmp edi, 4
je 0x42e370
test eax, 0x200
jne 0x42e370
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x42e326
mov eax, dword [0x44853c]
test eax, eax
je 0x42e360
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x78]
push edi
push 1
push edx
push ecx
call eax
jmp 0x42e360
sub esi, ebp
sub esi, 0x20
mov eax, edx
sub eax, ebx
sub eax, 0x20
sar esi, 1
add esi, ebp
sar eax, 1
add eax, ebx
mov dword [esp + 0x24], esi
add esi, 0x20
cmp eax, ebx
lea ecx, [eax + 0x20]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ecx
jge 0x42e358
mov dword [esp + 0x28], ebx
cmp ecx, edx
jle 0x42e360
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x42e384
mov eax, dword [0x44852c]
test eax, eax
je 0x42e384
push ecx
call eax
lea ecx, [esp + 0x54]
call fcn.00427670
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret