Function at 0x44f380
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501add
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54c154]
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 ebx, ecx
call fcn.00477460
lea esi, [ebx + 0x4d4]
push str.IDS_PRODUCT_NAME
mov edx, esi
lea ecx, [ebp - 0x30]
call fcn.0041ade0
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
cmovae eax, dword [ebp - 0x30]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x44f407
push eax
push 0xfffffffffffffff2
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SetClassLongW]
cmp dword [ebx + 0x500], 8
lea eax, [ebx + 0x4ec]
mov ecx, dword [eax + 0x10]
jb 0x44f41b
mov eax, dword [eax]
cmp ecx, 3
jne 0x44f49f
push ecx
push 0x522510
push eax
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x44f49f
mov esi, dword [ebx + 0x18]
mov dword [ebp - 0x14], eax
call fcn.004164c0
lea ecx, [ebp - 0x14]
push ecx
push esi
mov eax, dword [eax + 0x84]
call eax
mov edi, dword [ebp - 0x14]
call fcn.004164c0
push edi
mov eax, dword [eax + 0x7c]
call eax
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
call fcn.004164c0
push 0x522510
push 0x522fb8
push esi
mov eax, dword [eax + 0xb8]
call eax
mov byte [ebp - 4], 2
test esi, esi
je 0x44f495
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
mov byte [ebp - 4], 0
lea esi, [ebx + 0x4d4]
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x44f4aa
mov esi, dword [esi]
cmp eax, 5
jne 0x44f539
push eax
push 0x522fbc
push esi
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x44f539
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
call dword [eax]
mov esi, eax
mov dword [ebp - 0x14], 0
call fcn.004164c0
mov ecx, dword [eax + 0x84]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
mov edi, dword [ebp - 0x14]
call fcn.004164c0
push edi
mov eax, dword [eax + 0x7c]
call eax
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x44f535
call fcn.004164c0
push 0x522fc8
push str.lang
push esi
mov eax, dword [eax + 0xb8]
call eax
mov byte [ebp - 4], 4
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
jmp 0x44f535
mov byte [ebp - 4], 0
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
call dword [eax]
mov esi, eax
mov dword [ebp - 0x14], 0
call fcn.004164c0
mov ecx, dword [eax + 0x84]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
mov esi, dword [ebp - 0x14]
call fcn.004164c0
push esi
mov eax, dword [eax + 0x7c]
call eax
xor ecx, ecx
test eax, eax
cmove ecx, esi
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push str.external_html
push eax
call fcn.00424200
add esp, 8
mov edi, eax
call fcn.004164c0
push edi
mov ecx, dword [eax + 0x7c]
call ecx
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x44f5c2
mov edi, dword [ebx + 0x484]
call fcn.004164c0
push edi
push 0x435db0
push esi
mov eax, dword [eax + 0x140]
call eax
mov byte [ebp - 4], 8
test esi, esi
je 0x44f5d8
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x44f5f1
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
lea ecx, [ebp - 0x30]
call fcn.004161c0
mov eax, 1
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.004a44cd
mov esp, ebp
pop ebp
ret