Function at 0x421d80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x449314]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 8
push eax
mov edi, ecx
mov dword [ebp - 0x428], 1
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [edi]
test eax, eax
jne 0x421df8
mov ecx, dword [0x449ff8]
test ecx, ecx
je 0x421fb5
mov esi, dword [ecx]
mov eax, esi
mov edx, dword [ecx + 4]
or eax, edx
je 0x421fb5
test byte [ecx + 8], 2
je 0x421fb5
cmp byte [ecx + 0xf], 9
jb 0x421fb5
push 0
push 0x20
jmp 0x421fa4
push 0x3ed
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [edi + 8], eax
lea eax, [ebp - 0x424]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x418]
sub eax, dword [ebp - 0x420]
sub eax, 0x1c
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x41c]
sub eax, dword [ebp - 0x424]
push 0
push dword [edi + 8]
sub eax, 0x1c
mov dword [edi + 0x34], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [edi + 0xc]
push 0
push dword [edi]
push dword [edi + 0x30]
push dword [edi + 0x34]
push 0
push 0xe
push 0x4081000d
push str.ListView
push str.SysListView32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 4], eax
test eax, eax
jne 0x421eb0
mov ecx, dword [0x449ff8]
test ecx, ecx
je 0x421fb5
mov esi, dword [ecx]
mov eax, esi
mov edx, dword [ecx + 4]
or eax, edx
je 0x421fb5
test byte [ecx + 8], 2
je 0x421fb5
cmp byte [ecx + 0xf], 9
jb 0x421fb5
push 0
push 0x21
jmp 0x421fa4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
cmp dword [edi + 4], 0
je 0x421fb5
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x8c
push dword [0x44a050]
call esi
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0x8d
push dword [0x44a050]
call esi
mov ecx, dword [edi + 0x34]
lea eax, [ebp - 0x20c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x44c], eax
mov eax, ecx
shr eax, 2
sub ecx, eax
mov dword [ebp - 0x458], 0xf
lea eax, [ebp - 0x458]
mov dword [ebp - 0x454], 0
push eax
push 0
push 0x1061
push dword [edi + 4]
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x450], ecx
call esi
mov dword [edi + 0x24], eax
cmp eax, 0xffffffff
jne 0x421fca
mov ecx, dword [0x449ff8]
test ecx, ecx
je 0x421fb5
mov esi, dword [ecx]
mov eax, esi
mov edx, dword [ecx + 4]
or eax, edx
je 0x421fb5
test byte [ecx + 8], 2
je 0x421fb5
cmp byte [ecx + 0xf], 9
jb 0x421fb5
push 0
push 0x15
push 0x440158
push 0x2b
push edx
push esi
call fcn.0041bd20
add esp, 0x18
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043624e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x414]
mov dword [ebp - 0x444], 1
mov dword [ebp - 0x44c], eax
mov eax, dword [edi + 0x34]
shr eax, 2
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x458]
push eax
push 1
push 0x1061
push dword [edi + 4]
call esi
mov dword [edi + 0x28], eax
cmp eax, 0xffffffff
jne 0x422031
mov ecx, dword [0x449ff8]
test ecx, ecx
je 0x421fb5
mov esi, dword [ecx]
mov eax, esi
mov edx, dword [ecx + 4]
or eax, edx
je 0x421fb5
test byte [ecx + 8], 2
je 0x421fb5
cmp byte [ecx + 0xf], 9
jb 0x421fb5
push 0
push 0x16
jmp 0x421fa4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0043624e
mov esp, ebp
pop ebp
ret