Function at 0x4ea002
Capabilities:
Hide graphical window

Disassembly:
push 0x16c
mov eax, 0x516cd3
call fcn.005060cc
mov ebx, ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x148], eax
mov eax, dword [0xd58f54]
test eax, eax
je 0x4ea028
add eax, 0x5c
mov eax, dword [eax + 0x2a4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4f9
push dword [ebx + 4]
mov dword [ebx + 0x60], eax
call esi
push 0x4fa
push dword [ebx + 4]
mov dword [ebx + 0x58], eax
call esi
mov dword [ebx + 0x5c], eax
mov eax, 0x100
call fcn.004f0800
mov esi, esp
lea ecx, [ebp - 0x144]
push str.__0___
call fcn.004094e6
mov edi, eax
and dword [ebp - 4], 0
mov edx, 0x100
push 0x320
push dword [0xd584c8]
mov ecx, esi
call fcn.004e1a81
push eax
mov edx, edi
lea ecx, [ebp - 0x13c]
call fcn.00405cb9
push 0x51e644
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
call fcn.00405cb9
add esp, 0x10
lea edi, [ebx + 0x58]
push dword [eax]
push 0
push 0x143
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0x140]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ea0e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x13c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4ea106
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x144]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4ea124
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0xa
pop esi
mov edx, esi
mov ecx, edi
call fcn.004e92b7
add esi, 0xa
cmp esi, 0x5a
jle 0x4ea127
mov esi, 0x100
mov eax, esi
call fcn.004f0800
mov ecx, esp
mov edx, esi
push 0x321
push dword [0xd584c8]
call fcn.004e1a81
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
pop ecx
pop ecx
push eax
push 0
push 0x143
push dword [edi]
call esi
mov edi, 0x100
mov eax, edi
call fcn.004f0800
mov ecx, esp
mov edx, edi
push 0x322
push dword [0xd584c8]
call fcn.004e1a81
pop ecx
pop ecx
push eax
push 0
push 0x143
push dword [ebx + 0x5c]
call esi
mov eax, edi
call fcn.004f0800
mov ecx, esp
mov edx, edi
push 0x323
push dword [0xd584c8]
call fcn.004e1a81
pop ecx
pop ecx
push eax
push 0
push 0x143
push dword [ebx + 0x5c]
call esi
mov eax, edi
call fcn.004f0800
mov ecx, esp
mov edx, edi
push 0x324
push dword [0xd584c8]
call fcn.004e1a81
pop ecx
pop ecx
push eax
push 0
push 0x143
push dword [ebx + 0x5c]
call esi
mov eax, edi
call fcn.004f0800
mov ecx, esp
mov edx, edi
push 0x325
push dword [0xd584c8]
call fcn.004e1a81
pop ecx
pop ecx
push eax
push 0
push 0x143
push dword [ebx + 0x5c]
call esi
mov ecx, dword [ebx + 4]
mov edx, 0x50b
push 0x14
push 5
push 0x50a
call fcn.0046e349
mov esi, dword [0xd58f54]
add esp, 0xc
test esi, esi
je 0x4ea23f
add esi, 0x5c
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x540
push dword [ebx + 4]
call edi
cmp dword [0xd5a7e4], 0
mov ecx, dword [esi + 0x2c8]
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x144], ecx
jne 0x4ea2aa
lea eax, [ebp - 0x178]
mov dword [ebp - 0x178], 0x30
push eax
push 0x561804
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
je 0x4ea2cd
mov eax, dword [ebp - 0x170]
mov dword [0xd5a7e4], eax
mov eax, dword [ebp - 0x13c]
push 0x4bfd92
push 0xfffffffffffffffc
push eax
call esi
push 0
push 0xffffffffffffffeb
push dword [ebp - 0x13c]
call esi
mov ecx, dword [ebp - 0x13c]
xor edx, edx
call fcn.004bfcaf
mov edx, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x13c]
call fcn.004bfd5a
mov eax, dword [0xd58f54]
test eax, eax
jne 0x4ea2ef
and dword [ebp - 0x140], eax
jmp 0x4ea2f8
add eax, 0x5c
mov dword [ebp - 0x140], eax
push 0x4e1
push dword [ebx + 4]
call edi
cmp dword [0xd5a7e4], 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ecx + 0x2c0]
mov dword [ebp - 0x144], ecx
jne 0x4ea35d
lea eax, [ebp - 0x178]
mov dword [ebp - 0x178], 0x30
push eax
push 0x561804
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
je 0x4ea380
mov eax, dword [ebp - 0x170]
mov dword [0xd5a7e4], eax
mov eax, dword [ebp - 0x13c]
push 0x4bfd92
push 0xfffffffffffffffc
push eax
call esi
push 0
push 0xffffffffffffffeb
push dword [ebp - 0x13c]
call esi
mov ecx, dword [ebp - 0x13c]
xor edx, edx
call fcn.004bfcaf
mov edx, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x13c]
call fcn.004bfd5a
mov eax, dword [0xd58f54]
test eax, eax
jne 0x4ea3a2
and dword [ebp - 0x140], eax
jmp 0x4ea3ab
add eax, 0x5c
mov dword [ebp - 0x140], eax
push 0x4e2
push dword [ebx + 4]
call edi
cmp dword [0xd5a7e4], 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ecx + 0x2c4]
mov dword [ebp - 0x144], ecx
jne 0x4ea410
lea eax, [ebp - 0x178]
mov dword [ebp - 0x178], 0x30
push eax
push 0x561804
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
je 0x4ea433
mov eax, dword [ebp - 0x170]
mov dword [0xd5a7e4], eax
mov eax, dword [ebp - 0x13c]
push 0x4bfd92
push 0xfffffffffffffffc
push eax
call esi
push 0
push 0xffffffffffffffeb
push dword [ebp - 0x13c]
call esi
mov ecx, dword [ebp - 0x13c]
xor edx, edx
call fcn.004bfcaf
mov edx, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x13c]
call fcn.004bfd5a
mov eax, dword [0xd58f54]
test eax, eax
jne 0x4ea455
and dword [ebp - 0x140], eax
jmp 0x4ea45e
add eax, 0x5c
mov dword [ebp - 0x140], eax
push 0x4e3
push dword [ebx + 4]
call edi
cmp dword [0xd5a7e4], 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ecx + 0x2cc]
mov dword [ebp - 0x144], ecx
jne 0x4ea4c3
lea eax, [ebp - 0x178]
mov dword [ebp - 0x178], 0x30
push eax
push 0x561804
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
je 0x4ea4e6
mov eax, dword [ebp - 0x170]
mov dword [0xd5a7e4], eax
mov eax, dword [ebp - 0x13c]
push 0x4bfd92
push 0xfffffffffffffffc
push eax
call esi
push 0
push 0xffffffffffffffeb
push dword [ebp - 0x13c]
call esi
mov ecx, dword [ebp - 0x13c]
xor edx, edx
call fcn.004bfcaf
mov edx, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x13c]
call fcn.004bfd5a
push 0x3f0
push dword [ebx + 4]
call edi
mov ecx, dword [0xd58f54]
mov edx, eax
mov dword [ebx + 0x34], edx
test ecx, ecx
je 0x4ea513
add ecx, 0x5c
xor eax, eax
cmp dword [ecx + 0x384], eax
setne al
or eax, 0x10010
push eax
push 0
push 0x1036
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebx + 0x34]
xor edx, edx
inc edx
mov ecx, esi
call fcn.004375a2
push 0
push 0x55a650
push esi
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
push 0x96
lea esi, [ebx + 0x34]
mov edx, 0x51e784
push 0
mov ecx, esi
call fcn.0040b9f7
push 0
push 1
mov edx, 0x51e784
mov ecx, esi
call fcn.0040b9f7
add esp, 0x10
push pe_nt_image_headers32
pop eax
push eax
push eax
push 0x21
push eax
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push eax
push 1
push 0x1003
mov dword [ebx + 0x38], eax
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.004bec45
mov esi, eax
mov edx, dword [esi]
mov ecx, dword [edx]
mov dword [ebp - 0x140], ecx
cmp ecx, edx
je 0x4ea5d7
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, ebx
call fcn.004ea6ed
push ecx
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x140]
call fcn.0040fc9f
mov ecx, dword [ebp - 0x140]
cmp ecx, dword [esi]
jne 0x4ea5ad
push 0
push 0
push 0x415
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
push ecx
push 0
mov ecx, ebx
call fcn.004eab47
mov ecx, dword [0xd5b274]
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
test ecx, ecx
jne 0x4ea650
push 0x90
lea eax, [ebp - 0xa0]
mov dword [0xd5b274], 1
push 0
push eax
mov dword [ebp - 0xa4], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
call esi
imul eax, dword [ebp - 0xa0], 0xa
mov ecx, dword [0xd5b274]
add eax, dword [ebp - 0x9c]
mov dword [0xd5b270], eax
jmp 0x4ea655
mov eax, dword [0xd5b270]
cmp eax, 0x33
je 0x4ea6d4
test ecx, ecx
jne 0x4ea6a2
push 0x90
push ecx
lea eax, [ebp - 0x134]
mov dword [0xd5b274], 1
push eax
mov dword [ebp - 0x138], 0x94
call fcn.004f1a90
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
call esi
imul eax, dword [ebp - 0x134], 0xa
add eax, dword [ebp - 0x130]
mov dword [0xd5b270], eax
cmp eax, 0x34
jne 0x4ea6b0
call fcn.00426920
test eax, eax
jne 0x4ea6d4
push 0x51a
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x50d
push dword [ebx + 4]
call edi
push 0
push eax
call esi
mov eax, dword [ebp - 0x148]
and dword [eax], 0
xor eax, eax
lea esp, [ebp - 0x188]
call fcn.00506076
ret 0x10