Function at 0x446580
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa65d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x53d058]
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.0046a3c0
lea esi, [ebx + 0x4e8]
push str.IDS_PRODUCT_NAME
mov edx, esi
lea ecx, [ebp - 0x30]
call fcn.00409330
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 0x446607
push eax
push 0xfffffffffffffff2
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SetClassLongW]
cmp dword [ebx + 0x514], 8
lea eax, [ebx + 0x500]
mov ecx, dword [eax + 0x10]
jb 0x44661b
mov eax, dword [eax]
cmp ecx, 3
jne 0x44669f
push ecx
push 0x5163b0
push eax
call fcn.0040c240
add esp, 0xc
test eax, eax
jne 0x44669f
mov esi, dword [ebx + 0x18]
mov dword [ebp - 0x14], eax
call fcn.00404140
lea ecx, [ebp - 0x14]
push ecx
push esi
mov eax, dword [eax + 0x84]
call eax
mov edi, dword [ebp - 0x14]
call fcn.00404140
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.00404140
push 0x5163b0
push 0x516980
push esi
mov eax, dword [eax + 0xb8]
call eax
mov byte [ebp - 4], 2
test esi, esi
je 0x446695
call fcn.00404140
push esi
mov eax, dword [eax + 0x80]
call eax
mov byte [ebp - 4], 0
lea esi, [ebx + 0x4e8]
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x4466aa
mov esi, dword [esi]
cmp eax, 5
jne 0x446739
push eax
push 0x516984
push esi
call fcn.0040c240
add esp, 0xc
test eax, eax
jne 0x446739
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
call dword [eax]
mov esi, eax
mov dword [ebp - 0x14], 0
call fcn.00404140
mov ecx, dword [eax + 0x84]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
mov edi, dword [ebp - 0x14]
call fcn.00404140
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 0x446735
call fcn.00404140
push 0x516990
push str.lang
push esi
mov eax, dword [eax + 0xb8]
call eax
mov byte [ebp - 4], 4
call fcn.00404140
push esi
mov eax, dword [eax + 0x80]
call eax
jmp 0x446735
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.00404140
mov ecx, dword [eax + 0x84]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
mov esi, dword [ebp - 0x14]
call fcn.00404140
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.004164d0
add esp, 8
mov edi, eax
call fcn.00404140
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 0x4467c2
mov edi, dword [ebx + 0x55c]
call fcn.00404140
push edi
push 0x444470
push esi
mov eax, dword [eax + 0x140]
call eax
mov byte [ebp - 4], 8
test esi, esi
je 0x4467d8
call fcn.00404140
push esi
mov eax, dword [eax + 0x80]
call eax
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4467f1
call fcn.00404140
push esi
mov eax, dword [eax + 0x80]
call eax
lea ecx, [ebp - 0x30]
call fcn.004033a0
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.0049852a
mov esp, ebp
pop ebp
ret