Function at 0x4e5cac
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push 0x5c
mov eax, 0x516a00
call fcn.005060cc
mov ebx, ecx
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp + 0x14]
push 5
push 0xa
push 0x21
push pe_nt_image_headers32
push pe_nt_image_headers32
mov dword [ebp - 0x54], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 0x3f0
mov dword [ebx + 0x3c], eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea esi, [ebx + 0x38]
mov dword [esi], eax
push dword [ebx + 0x3c]
mov dword [ebp - 0x50], esi
push 0
push 0x1109
push eax
call edi
mov eax, dword [0xd58f54]
push 0
push 0
push 0x31
push dword [eax + 4]
call edi
push 1
push eax
push 0x30
push dword [esi]
call edi
mov eax, dword [0xd58f54]
mov esi, dword [esi]
push 0
push 0
push 0x31
push dword [eax + 4]
call edi
push 1
push eax
push 0x30
push esi
call edi
push 0
push 0x55a650
push esi
call dword [sym.imp.UxTheme.dll_SetWindowTheme]
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
push 0x62c
push dword [0xd584c8]
call edi
push eax
or esi, 0xffffffff
push esi
push dword [ebx + 0x3c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push 0x176
push dword [0xd584c8]
call edi
push eax
push esi
push dword [ebx + 0x3c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
lea eax, [ebx + 0x78]
xor edi, edi
test eax, eax
lea eax, [ebx + 0x98]
jne 0x4e5d8a
mov eax, edi
mov dword [ebp - 0x38], eax
lea esi, [ebx + 0x504]
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.004692ac
lea eax, [ebx + 0xc0]
test eax, eax
lea eax, [ebx + 0xe0]
jne 0x4e5db0
mov eax, edi
mov dword [ebp - 0x38], eax
mov ecx, esi
lea eax, [ebp - 0x38]
push eax
call fcn.004692ac
lea eax, [ebx + 0x108]
test eax, eax
lea eax, [ebx + 0x128]
jne 0x4e5dd0
mov eax, edi
mov dword [ebp - 0x38], eax
mov ecx, esi
lea eax, [ebp - 0x38]
push eax
call fcn.004692ac
lea eax, [ebx + 0x178]
test eax, eax
lea eax, [ebx + 0x198]
jne 0x4e5df0
mov eax, edi
mov dword [ebp - 0x38], eax
mov ecx, esi
lea eax, [ebp - 0x38]
push eax
call fcn.004692ac
mov eax, dword [ebx + 0x34]
cmp dword [eax - 0xc], 0
jne 0x4e5e3c
cmp dword [0xd5ad00], 0
jne 0x4e5e24
mov ecx, 0xd5acdc
mov dword [0xd5ad00], 1
call fcn.004ae628
mov eax, dword [0xd5acec]
sub eax, dword [0xd5ace8]
push 0xc
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x3c], edi
test eax, eax
je 0x4e5e43
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x5c], 1
call fcn.004b8c6c
mov eax, dword [ebp - 0x64]
mov ecx, edi
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov eax, dword [0xd58f54]
test eax, eax
je 0x4e5e78
lea ecx, [eax + 0x5c]
cmp dword [ecx + 0x2e4], edi
jne 0x4e5e94
mov ecx, edi
test eax, eax
je 0x4e5e89
lea ecx, [eax + 0x5c]
mov dword [ebp - 0x4c], edi
cmp dword [ecx + 0x2d0], edi
je 0x4e5e9b
mov dword [ebp - 0x4c], 1
test eax, eax
jne 0x4e5ea3
mov eax, edi
jmp 0x4e5ea6
add eax, 0x5c
cmp dword [eax + 0x298], edi
jne 0x4e5ed4
mov edx, dword [0xd5a7f4]
mov ecx, edx
neg ecx
sbb ecx, ecx
lea eax, [edx + 8]
and ecx, eax
cmp dword [ecx + 4], 0
jne 0x4e5ed4
lea eax, [edx + 0x10]
neg edx
sbb edx, edx
and edx, eax
cmp dword [edx + 4], 0
je 0x4e5ed7
xor edi, edi
inc edi
lea eax, [ebx + 0x280]
test eax, eax
je 0x4e5ee9
lea eax, [ebx + 0x2a0]
jmp 0x4e5eeb
xor eax, eax
mov dword [ebp - 0x34], eax
mov ecx, esi
lea eax, [ebp - 0x34]
push eax
call fcn.004692ac
lea eax, [ebx + 0x1e8]
test eax, eax
je 0x4e5f0b
lea eax, [ebx + 0x208]
jmp 0x4e5f0d
xor eax, eax
mov dword [ebp - 0x34], eax
mov ecx, esi
lea eax, [ebp - 0x34]
push eax
call fcn.004692ac
lea eax, [ebx + 0x238]
test eax, eax
je 0x4e5f2d
lea eax, [ebx + 0x258]
jmp 0x4e5f2f
xor eax, eax
mov dword [ebp - 0x34], eax
mov ecx, esi
lea eax, [ebp - 0x34]
push eax
call fcn.004692ac
test edi, edi
je 0x4e5f63
lea eax, [ebx + 0x340]
test eax, eax
je 0x4e5f53
lea eax, [ebx + 0x360]
jmp 0x4e5f55
xor eax, eax
mov dword [ebp - 0x34], eax
mov ecx, esi
lea eax, [ebp - 0x34]
push eax
call fcn.004692ac
lea eax, [ebx + 0x3b4]
test eax, eax
je 0x4e5f75
lea eax, [ebx + 0x3d4]
jmp 0x4e5f77
xor eax, eax
mov dword [ebp - 0x34], eax
mov ecx, esi
lea eax, [ebp - 0x34]
push eax
call fcn.004692ac
cmp dword [ebp - 0x4c], 0
je 0x4e5fad
lea eax, [ebx + 0x2e4]
test eax, eax
je 0x4e5f9d
lea eax, [ebx + 0x304]
jmp 0x4e5f9f
xor eax, eax
mov dword [ebp - 0x34], eax
mov ecx, esi
lea eax, [ebp - 0x34]
push eax
call fcn.004692ac
cmp dword [ebp - 0x3c], 0
je 0x4e5fd5
lea eax, [ebx + 0x414]
test eax, eax
je 0x4e5fc5
lea eax, [ebx + 0x434]
jmp 0x4e5fc7
xor eax, eax
mov dword [ebp - 0x34], eax
mov ecx, esi
lea eax, [ebp - 0x34]
push eax
call fcn.004692ac
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x4e6002
lea eax, [ebx + 0x480]
test eax, eax
je 0x4e5fef
lea eax, [ebx + 0x4a0]
jmp 0x4e5ff1
xor eax, eax
mov dword [ebp - 0x34], eax
mov ecx, esi
lea eax, [ebp - 0x34]
push eax
call fcn.004692ac
mov ecx, dword [ebp - 0x38]
xor eax, eax
lea edi, [ebp - 0x30]
cmp dword [ebp - 0x4c], 0
stosd dword es:[edi], eax
push 4
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
push 3
pop eax
jne 0x4e6023
cmp dword [ebp - 0x3c], 0
jne 0x4e6023
cmp ecx, 0x10
cmovb edi, eax
movaps xmm0, xmmword [0xa98810]
xor ebx, ebx
movups xmmword [ebp - 0x20], xmm0
mov eax, 0x100
call fcn.004f0800
movzx eax, word [ebp + ebx*4 - 0x20]
mov ecx, esp
push eax
push dword [0xd584c8]
mov edx, 0x100
call fcn.004e1a81
add esp, 4
xor ecx, ecx
push 0xffff0000
push ecx
push ecx
push ecx
push ecx
push ecx
mov ecx, dword [ebp - 0x50]
push eax
push 0x23
call fcn.004a4e16
mov dword [ebp + ebx*4 - 0x30], eax
inc ebx
cmp ebx, edi
jl 0x4e6030
and dword [ebp - 0x48], 0
and dword [ebp - 0x44], 0
call fcn.0040fcf5
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 1
xor ecx, ecx
mov eax, dword [esi + 4]
sub eax, dword [esi]
mov ebx, dword [ebp - 0x40]
sar eax, 2
mov dword [ebp - 0x3c], ecx
test eax, eax
je 0x4e614b
mov eax, dword [esi]
lea edi, [ecx]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 8]
movzx eax, ax
push eax
push dword [0xd584c8]
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 0xffffffffffffffff
push dword [ebx + 0x3c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov esi, eax
mov eax, 0x100
call fcn.004f0800
mov ecx, dword [ebx + 0x504]
mov eax, esp
mov ecx, dword [ecx + edi*4]
push ecx
mov edx, dword [ecx + 0xc]
push dword [ebp + edx*4 - 0x30]
mov edx, 0x100
push dword [ebp - 0x3c]
push ecx
push ecx
push esi
push esi
push dword [ecx + 4]
mov ecx, eax
push dword [0xd584c8]
call fcn.004e1a81
pop ecx
pop ecx
push eax
push 0x27
lea ecx, [ebx + 0x38]
call fcn.004a4e16
mov ecx, dword [ebx + 0x504]
mov esi, eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ecx + edi*4]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x48]
call fcn.004e693e
mov ecx, dword [ebp - 0x3c]
inc ecx
mov dword [ebp - 0x3c], ecx
mov dword [eax], esi
lea esi, [ebx + 0x504]
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
cmp ecx, eax
jb 0x4e60a1
push 0x3f1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebx + 0x40]
call fcn.004419fd
test eax, eax
je 0x4e616e
lea ecx, [ebx + 0x40]
call fcn.004e8603
push ecx
push dword [ebx + 0x44]
lea ecx, [ebx + 0x78]
call fcn.004e776d
push ecx
push dword [ebx + 0x44]
lea ecx, [ebx + 0xc0]
call fcn.004e7484
push ecx
push dword [ebx + 0x44]
lea ecx, [ebx + 0x108]
call fcn.004e6cc7
push ecx
push dword [ebx + 0x44]
lea ecx, [ebx + 0x178]
call fcn.004e69a3
push ecx
push dword [ebx + 0x44]
lea ecx, [ebx + 0x280]
call fcn.004e75ae
push ecx
push dword [ebx + 0x44]
lea ecx, [ebx + 0x2e4]
call fcn.004e7519
push ecx
push dword [ebx + 0x44]
lea ecx, [ebx + 0x1e8]
call fcn.004e76d8
push ecx
push dword [ebx + 0x44]
lea ecx, [ebx + 0x238]
call fcn.004e7643
push ecx
push dword [ebx + 0x44]
lea ecx, [ebx + 0x340]
call fcn.004e7132
push ecx
push dword [ebx + 0x44]
lea ecx, [ebx + 0x3b4]
call fcn.004e7370
push ecx
push dword [ebx + 0x44]
lea ecx, [ebx + 0x414]
call fcn.004e725c
push ecx
push dword [ebx + 0x44]
lea ecx, [ebx + 0x480]
call fcn.004e71c7
mov eax, dword [esi + 4]
xor ecx, ecx
sub eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
sar eax, 2
mov dword [ebp - 0x38], ecx
test eax, eax
je 0x4e62b2
mov eax, dword [esi]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov esi, eax
lea ecx, [ebx + 0x64]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], esi
push eax
call fcn.004390ed
push 0
push esi
mov dword [ebp - 0x34], esi
call dword [sym.imp.USER32.dll_ShowWindow]
push ecx
push 0x10000
push 0
lea ecx, [ebp - 0x34]
call fcn.0045aade
mov eax, dword [ebx + 0x44]
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [ebx + 0x44]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xfffffdcf
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push 0x4e
push eax
call edi
mov ecx, dword [ebp - 0x38]
lea esi, [ebx + 0x504]
mov eax, dword [esi + 4]
inc ecx
sub eax, dword [esi]
sar eax, 2
mov dword [ebp - 0x38], ecx
cmp ecx, eax
jb 0x4e6236
mov eax, dword [ebx + 0x30]
cmp dword [eax - 0xc], 0
je 0x4e6326
push dword [ebp - 0x28]
push 2
push 0x1102
push dword [ebx + 0x38]
call edi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x12
push eax
lea ecx, [ebp - 0x48]
call fcn.004e693e
push dword [eax]
push 9
push 0x110b
push dword [ebx + 0x38]
call edi
mov esi, dword [ebx + 0x30]
lea edi, [ebx + 0x410]
test esi, esi
jne 0x4e62fc
xor eax, eax
jmp 0x4e6303
push esi
call fcn.004f5d90
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0040942f
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4e63db
push 0
push 1
push 1
push dword [ebx + 0x3b8]
jmp 0x4e6394
mov eax, dword [ebx + 0x34]
cmp dword [eax - 0xc], 0
je 0x4e639c
push dword [ebp - 0x24]
push 2
push 0x1102
push dword [ebx + 0x38]
call edi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x18
push eax
lea ecx, [ebp - 0x48]
call fcn.004e693e
push dword [eax]
push 9
push 0x110b
push dword [ebx + 0x38]
call edi
mov esi, dword [ebx + 0x34]
lea edi, [ebx + 0x47c]
test esi, esi
jne 0x4e6370
xor eax, eax
jmp 0x4e6377
push esi
call fcn.004f5d90
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0040942f
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x4e63db
push 0
push 1
push 1
push dword [ebx + 0x418]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4e63db
mov ebx, dword [ebp - 0x50]
xor esi, esi
push dword [ebp + esi*4 - 0x30]
push 2
push 0x1102
push dword [ebx]
call edi
inc esi
cmp esi, 4
jb 0x4e63a1
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], pe_nt_image_headers32
push eax
lea ecx, [ebp - 0x48]
call fcn.004e693e
push dword [eax]
mov eax, ebx
push 9
push 0x110b
push dword [eax]
call edi
mov ebx, dword [ebp - 0x40]
mov esi, 0x100
mov eax, esi
call fcn.004f0800
mov ecx, esp
mov edx, esi
push 0xf
push dword [0xd584c8]
call fcn.004e1a81
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.004094e6
push 0xa98118
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00405cb9
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
mov edx, eax
mov dword [esp], 0x51e630
call fcn.00405cb9
pop ecx
push dword [eax]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [ebp - 0x34]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e6454
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4e6472
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4e648e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x48]
and dword [eax], 0
mov eax, dword [ebp - 0x48]
push eax
push dword [eax]
lea eax, [ebp - 0x54]
push eax
call fcn.0046a599
push ecx
mov ecx, dword [ebp - 0x48]
xor edx, edx
push 0x18
inc edx
call fcn.0040b8be
pop ecx
pop ecx
lea ecx, [ebp - 0x68]
call fcn.004b8a5e
xor eax, eax
lea esp, [ebp - 0x78]
call fcn.00506076
ret 0x10