Function at 0x41fd10
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495448
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x20000
push eax
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, str.apptitle
call fcn.004028f0
push eax
lea ecx, [ebp - 0x10]
call fcn.0041ddb0
push dword [ebp - 0x10]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41fdb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x150]
cmp dword [ecx - 0xc], 0
je 0x41fe11
add ecx, 0xfffffff0
call fcn.0041d470
add eax, 0x10
mov dword [ebp - 0x10], eax
push ecx
lea ebx, [eax - 0x10]
mov dword [ebp - 4], 0
mov esi, esp
mov ecx, ebx
mov dword [ebp - 0x14], esi
call fcn.0041d470
add eax, 0x10
lea ecx, [edi + 0x54]
push 0x1389
mov dword [esi], eax
call fcn.004322e0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x41fe11
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x154]
cmp dword [ecx - 0xc], 0
je 0x41fe70
add ecx, 0xfffffff0
call fcn.0041d470
add eax, 0x10
mov dword [ebp - 0x10], eax
push ecx
lea ebx, [eax - 0x10]
mov dword [ebp - 4], 1
mov esi, esp
mov ecx, ebx
mov dword [ebp - 0x14], esi
call fcn.0041d470
add eax, 0x10
lea ecx, [edi + 0x54]
push 0x138d
mov dword [esi], eax
call fcn.004322e0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x41fe70
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x158]
cmp dword [ecx - 0xc], 0
je 0x41fecf
add ecx, 0xfffffff0
call fcn.0041d470
add eax, 0x10
mov dword [ebp - 0x10], eax
push ecx
lea ebx, [eax - 0x10]
mov dword [ebp - 4], 2
mov esi, esp
mov ecx, ebx
mov dword [ebp - 0x14], esi
call fcn.0041d470
add eax, 0x10
lea ecx, [edi + 0x54]
push 0x1391
mov dword [esi], eax
call fcn.004322e0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x41fecf
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x15c]
cmp eax, 4
jne 0x41feff
push ecx
push 1
push 0x138e
lea ecx, [edi + 0x54]
call fcn.004323f0
push ecx
push 1
push 0x138f
lea ecx, [edi + 0x54]
call fcn.004323f0
push ecx
push 0
jmp 0x41ff25
test eax, eax
jne 0x41ff32
push ecx
push eax
push 0x138e
lea ecx, [edi + 0x54]
call fcn.004323f0
push ecx
push 0
push 0x138f
lea ecx, [edi + 0x54]
call fcn.004323f0
push ecx
push 1
push 0x1390
lea ecx, [edi + 0x54]
call fcn.004323f0
mov dword [edi + 0x14c], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc