Function at 0x46a090
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506015
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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
mov edx, dword [ebx + 0x4ac]
lea ecx, [ebp - 0x48]
push str.IDS_PRODUCT_NAME
call fcn.0041ade0
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
cmovae eax, dword [ebp - 0x48]
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 0x46a115
push eax
push 0xfffffffffffffff2
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_SetClassLongW]
mov esi, dword [ebx + 0x4ac]
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
mov ecx, dword [eax + 0x10]
jb 0x46a129
mov eax, dword [eax]
cmp ecx, 3
jne 0x46a1ad
push ecx
push 0x522510
push eax
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x46a1ad
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 0x46a1a3
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
mov byte [ebp - 4], 0
mov esi, dword [ebx + 0x4ac]
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x46a1b8
mov esi, dword [esi]
cmp eax, 5
jne 0x46a247
push eax
push 0x522fbc
push esi
call fcn.004104a0
add esp, 0xc
test eax, eax
jne 0x46a247
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 0x46a243
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 0x46a243
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
push str.ctrlText
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 6
push str._id_S_
push eax
call fcn.00424200
add esp, 0xc
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 0x46a2e0
mov eax, 0x5212fc
xor edi, edi
lea eax, [eax + 2]
inc edi
cmp word [eax], 0
jne 0x46a2c2
call fcn.004164c0
push edi
push 0x5212fc
push esi
mov eax, dword [eax + 0xa4]
call eax
mov ecx, dword [ebx + 0x460]
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x20], 0
je 0x46a30c
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov ecx, ebx
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.00469dc0
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x14]
push 0
push 0
push 0x464
call dword [eax + 0x14]
lea ecx, [ebp - 0x30]
call fcn.004161c0
mov byte [ebp - 4], 9
test esi, esi
je 0x46a33c
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x46a355
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
lea ecx, [ebp - 0x48]
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