Function at 0x28008616
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x2802f3b4]
mov byte [0x2802fea0], 0
push ebx
mov ebx, ecx
mov dword [ebp - 4], ebx
push esi
push edi
test eax, 0x200
jne 0x28008699
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
push 0
push 0x32
call esi
push eax
push 0x31
call esi
push eax
push 1
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push edi
mov esi, eax
push 1
push 0x80
push dword [ebx + 4]
test esi, esi
cmove esi, edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
call edi
push esi
push 0
push 0x80
push dword [ebx + 4]
call edi
mov eax, dword [0x2802f3b4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
test eax, 0x4000
je 0x28008718
push 0x4b2
push dword [ebx + 4]
call edi
push 0x4b2
push dword [ebx + 4]
mov esi, eax
call edi
push 0xfffffffffffffff0
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
or eax, 0x80
push eax
push 0xfffffffffffffff0
push edi
call ebx
mov edi, dword [ebp - 4]
push 0x4b5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4b5
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80
push eax
push 0xfffffffffffffff0
push edi
call ebx
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 0x10]
push 0x4b2
push dword [ebx + 4]
call edi
push eax
mov ecx, ebx
call fcn.28009891
push dword [ebx + 0xc]
mov ecx, ebx
call fcn.28009525
mov eax, dword [ebx + 8]
and eax, 3
sub eax, 0
je 0x280087c1
sub eax, 1
je 0x2800879c
sub eax, 1
je 0x2800876e
sub eax, 1
jne 0x280087eb
push 0x19
call fcn.28004204
pop ecx
push eax
push 0x4b3
mov ecx, ebx
call fcn.280093b8
push 0x1a
jmp 0x280087d8
push 0x1a
call fcn.28004204
pop ecx
push eax
mov esi, 0x4b4
mov ecx, ebx
push esi
call fcn.280093b8
push 0
push 0x4b3
mov ecx, ebx
call fcn.28009bb2
push esi
mov ecx, ebx
call fcn.28009585
jmp 0x280087eb
push 0x19
call fcn.28004204
pop ecx
push eax
push 0x4b3
mov ecx, ebx
call fcn.280093b8
push 0
push 0x4b4
mov ecx, ebx
call fcn.28009bb2
jmp 0x280087eb
push 0x1b
call fcn.28004204
pop ecx
push eax
push 0x4b3
mov ecx, ebx
call fcn.280093b8
push 0x1c
call fcn.28004204
pop ecx
push eax
push 0x4b4
mov ecx, ebx
call fcn.280093b8
cmp dword [ebx + 0x38], 0
je 0x2800885f
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push dword [ebx + 4]
jmp 0x28008808
push edi
call fcn.28005264
pop ecx
push 2
push edi
call esi
mov edi, eax
test edi, edi
jne 0x280087fe
push 5
push dword [ebx + 4]
jmp 0x28008825
push edi
call fcn.28004feb
pop ecx
test eax, eax
jne 0x28008810
push 2
push edi
call esi
mov edi, eax
test edi, edi
jne 0x28008817
push 5
push dword [ebx + 4]
jmp 0x2800883e
push edi
call fcn.280055db
pop ecx
push 2
push edi
call esi
mov edi, eax
test edi, edi
jne 0x28008834
test byte [0x2802f3b4], 8
jne 0x28008903
mov ecx, ebx
call fcn.2800822b
jmp 0x28008903
mov ecx, dword [ebx + 8]
xor eax, eax
and ecx, 0x1c
cmp ecx, 4
je 0x2800889e
cmp ecx, 8
je 0x28008897
cmp ecx, 0xc
je 0x28008890
cmp ecx, 0x10
je 0x28008889
cmp ecx, 0x14
jne 0x280088af
push 0x7f03
push 0
jmp 0x280088a9
push 0x7f04
jmp 0x28008885
push 0x7f01
jmp 0x28008885
push 0x7f02
jmp 0x28008885
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x280088d3
push eax
xor ecx, ecx
inc ecx
push ecx
push 0x172
push 0x4b1
push dword [ebx + 4]
mov dword [ebx + 0x30], ecx
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x280088e5
and dword [ebx + 0x30], 0
mov ecx, ebx
push 0
push 0x4b1
call fcn.28009bb2
test byte [0x2802f3b4], 8
jne 0x280088f5
mov ecx, ebx
call fcn.2800822b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov ecx, ebx
call fcn.280095fe
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret