Function at 0x487e30
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543d01
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x11c], edi
push dword [ebp - 0x114]
mov esi, dword [edi + 4]
lea ebx, [edi + 0x1cc]
lea eax, [ebx + 0x20]
mov dword [edi + 0x208], 0x1d
push eax
push 0x586430
push 0x593dd4
push 0x594af8
mov dword [ebp - 0x128], ebx
call fcn.00411840
add esp, 0x14
movzx eax, ax
mov ecx, ebx
push 0
push eax
push 0
push 0
push 0x56000000
push 0
push 0x585bbc
push esi
call fcn.004d6f00
push dword [edi + 0x1d0]
mov dword [edi + 0x24], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x488383
push 0xea
push dword [0x594b00]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, eax
push ebx
push 0xffffffffffffffff
push dword [edi + 0x204]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
movaps xmm0, xmmword [0x550ee0]
xor ecx, ecx
movups xmmword [ebp - 0x110], xmm0
test eax, eax
movaps xmm0, xmmword [0x54f220]
movups xmmword [ebp - 0x100], xmm0
cmovne ebx, ecx
movaps xmm0, xmmword [0x550e80]
movups xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0x130], ebx
movaps xmm0, xmmword [0x54f1e0]
movups xmmword [ebp - 0xe0], xmm0
movaps xmm0, xmmword [0x550e70]
movups xmmword [ebp - 0xd0], xmm0
movaps xmm0, xmmword [0x54f1e0]
movups xmmword [ebp - 0xc0], xmm0
movaps xmm0, xmmword [0x550e90]
movups xmmword [ebp - 0xb0], xmm0
movaps xmm0, xmmword [0x54f1e0]
movups xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [0x550ed0]
movups xmmword [ebp - 0x90], xmm0
movaps xmm0, xmmword [0x54f1e0]
movups xmmword [ebp - 0x80], xmm0
movaps xmm0, xmmword [0x550eb0]
movups xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [0x54f1e0]
movups xmmword [ebp - 0x60], xmm0
movaps xmm0, xmmword [0x550ec0]
movups xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [0x54f1e0]
movups xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [0x550ea0]
movups xmmword [ebp - 0x30], xmm0
movaps xmm0, xmmword [0x54f1e0]
movups xmmword [ebp - 0x20], xmm0
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x487ff2
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x120], esi
mov byte [ebp - 4], 1
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x488019
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x124], edi
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 2
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x118], eax
cmp dword [esi - 0xc], 0
lea edx, [esi - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x114], eax
je 0x488099
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x488071
cmp dword [esi - 8], 0
jl 0x48839f
mov dword [esi - 0xc], 0
mov byte [esi], 0
jmp 0x488099
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x488085
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x120], esi
cmp dword [edi - 0xc], 0
lea edx, [edi - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x114], eax
je 0x4880f1
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4880c9
cmp dword [edi - 8], 0
jl 0x48839f
mov dword [edi - 0xc], 0
mov byte [edi], 0
jmp 0x4880f1
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4880dd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x124], edi
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax - 4]
mov dword [ebp - 0x114], ecx
test ecx, ecx
js 0x488131
push 0
push ecx
call fcn.00404930
add esp, 8
test eax, eax
je 0x48812b
push dword [ebp - 0x114]
lea ecx, [ebp - 0x120]
push eax
call fcn.00405150
mov esi, dword [ebp - 0x120]
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
mov dword [ebp - 0x114], ecx
test ecx, ecx
js 0x48816a
push 0
push ecx
call fcn.00404930
add esp, 8
test eax, eax
je 0x488164
push dword [ebp - 0x114]
lea ecx, [ebp - 0x124]
push eax
call fcn.00405150
mov edi, dword [ebp - 0x124]
mov eax, dword [ebp - 0x118]
push dword [eax + 0x14]
lea ecx, [eax + 4]
push dword [eax + 0x10]
push dword [eax + 0xc]
push edi
push ecx
mov ecx, dword [ebp - 0x128]
push esi
push dword [eax - 8]
call fcn.00414cc0
mov ecx, dword [ebp - 0x12c]
add dword [ebp - 0x118], 0x20
inc ecx
mov dword [ebp - 0x12c], ecx
cmp ecx, 8
jb 0x488041
mov ecx, dword [ebp - 0x11c]
push dword [ebp - 0x130]
mov eax, dword [ecx + 0x1d0]
mov dword [ebp - 0x114], eax
lea eax, [ecx + 0xf4]
push eax
push 0x586498
push 0x593dd4
push 0x594af8
call fcn.00411840
mov ecx, dword [ebp - 0x11c]
add esp, 0x14
movzx eax, ax
push 0
push eax
push 0
push 0
push 0x56800000
push 0
push 0x585bbc
push dword [ebp - 0x114]
lea ecx, [ecx + 0xd4]
call fcn.004d6f00
mov eax, dword [ebp - 0x11c]
push dword [eax + 0xd8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x488341
mov eax, dword [0x594b00]
push 0
push 0x32
mov dword [ebp - 0x114], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0xd0
push dword [ebp - 0x114]
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [ebp - 0x11c]
push dword [edx + 0xd8]
mov dword [edx + 0xf8], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48828a
mov ecx, dword [ebp - 0x11c]
push 1
lea eax, [ecx + 0x100]
push eax
push dword [ecx + 0xd8]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov eax, dword [eax + 0xd8]
push eax
mov dword [ebp - 0x114], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x488307
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 0x138], 1
lea ecx, [ecx + 0x1f0]
mov dword [ebp - 0x140], 0x12c
mov dword [ebp - 0x13c], 0x16
mov dword [ebp - 0x134], 0
call fcn.00414a80
mov ecx, dword [ebp - 0x128]
push 0x853
call fcn.00418030
test eax, eax
je 0x488324
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x128]
push 0x854
call fcn.00418030
test eax, eax
je 0x488341
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48835f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x488378
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x488383
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004049a0
int3