Function at 0x411e50
Capabilities:
Inspect load icon resource

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00429ec0
call fcn.00465db5
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1c]
push 0
push 0x80
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x14]
push edx
push ecx
call ebp
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
sub eax, esi
mov dword [ebx + 8], eax
mov eax, dword [ebx + 0x18]
sub ecx, edx
xor esi, esi
test eax, eax
mov dword [ebx + 0xc], ecx
jle 0x411f24
xor edi, edi
mov edi, edi
test edi, edi
jl 0x411fd7
cmp esi, dword [ebx + 0x18]
jge 0x411fd7
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + edi]
lea edx, [esp + 0x34]
push edx
mov edx, dword [ecx + 0x1c]
push edx
call ebp
mov ecx, dword [ebx]
lea eax, [esp + 0x34]
push eax
call fcn.00452b50
cmp esi, dword [ebx + 0x18]
jge 0x411fd7
mov ecx, dword [ebx + 0x14]
mov eax, dword [esp + 0x34]
lea edx, [ecx + edi + 0x28]
mov dword [edx], eax
mov ecx, dword [esp + 0x38]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x3c]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], ecx
mov eax, dword [ebx + 0x18]
inc esi
add edi, 0x38
cmp esi, eax
jl 0x411ec0
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1c]
lea edx, [esp + 0x24]
push edx
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov edi, dword [ebx]
lea ecx, [eax - 0xe]
lea esi, [edx - 0xe]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
call fcn.00465db5
push 0
push 0x4b8
push edi
lea edx, [esp + 0x40]
push edx
push 0x54000000
push 0x46fac0
push 0
push 0x10
push 0x7f00
push 0
lea esi, [ebx + 0x24]
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
push 0
call fcn.0044bf17
push eax
mov ecx, esi
call fcn.0044bd77
fld qword [0x46fca8]
fstp qword [esp + 0x4c]
lea ebp, [ebx + 0x10]
fld qword [0x46fca8]
mov dword [esp + 0x44], esi
mov esi, dword [ebp + 8]
fstp qword [esp + 0x54]
test esi, esi
fld qword [0x46fcb8]
fstp qword [esp + 0x5c]
mov dword [esp + 0x10], esi
fld qword [0x46fcb8]
fstp qword [esp + 0x64]
jge 0x411fdc
call fcn.0044727a
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
mov ecx, ebp
call fcn.00401d00
mov edi, dword [ebp + 4]
mov eax, esi
imul eax, eax, 0x38
add edi, eax
mov ecx, 0xe
lea esi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebp + 8]
jge 0x411fd7
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x24]
lea eax, [edx + eax + 0x28]
mov dword [eax], ecx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x30]
mov dword [eax + 0xc], edx
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00419d50
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
add esp, 8
push 1
sub edx, eax
push edx
mov edx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [ebx]
call fcn.0044eccf
mov al, byte [esp + 0x80]
test al, al
je 0x41206f
mov ecx, dword [ebx]
push 0
call fcn.0044c10c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 4