Function at 0x1003c04c
Capabilities:
Inspect load icon resource

Disassembly:
sub esp, 0x490
mov eax, dword [0x1024bd20]
xor eax, esp
mov dword [esp + 0x48c], eax
mov eax, dword [esp + 0x4a0]
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
push esi
mov dword [eax], esi
lea edi, [ebp + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_GetSystemMenu]
push 3
push 0xf060
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 4
push dword [ebp + 0x20]
call dword [sym.imp.USER32.dll_LoadIconA]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x80
push dword [edi]
call ebx
push str.http:__legal.yandex.ru_elements_agreement_
push 0x3f3
push dword [edi]
lea ecx, [ebp + 0x24]
call fcn.1000f610
push esi
push esi
push 0x31
push dword [edi]
call ebx
lea ecx, [esp + 0x40]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0x40]
mov dword [esp + 0x50], 0x258
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push 0x3f7
push dword [edi]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
call edi
push 0
push esi
push 0x30
push eax
call ebx
push 0x3f6
lea esi, [ebp + 4]
push dword [esi]
call edi
push 0
push 0
push 0xf1
push eax
call ebx
push 0x3f7
push dword [esi]
call edi
push 0
push 1
push 0xf1
push eax
call ebx
push 0x3ea
push dword [esi]
call edi
push 0
push 1
push 0xf1
push eax
call ebx
push 0x3eb
push dword [esi]
call edi
push 0
push 1
push 0xf1
push eax
call ebx
push 0x3ec
push dword [esi]
call edi
push 0
push 1
push 0xf1
push eax
call ebx
push 0x3ea
lea ebx, [ebp + 4]
push dword [ebx]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call esi
push 0x3eb
push dword [ebx]
call edi
push 0
push eax
call esi
push 0x3ec
push dword [ebx]
call edi
push 0
push eax
call esi
push 0x3f9
push dword [ebx]
call edi
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xd8]
test eax, eax
je 0x1003c228
lea ecx, [esp + 0x10]
xorps xmm0, xmm0
push ecx
push eax
movdqu xmmword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esp + 0x1c]
lea eax, [esp + 0xa0]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x101d7b0c
push 0x400
push eax
call fcn.10179415
add esp, 0x1c
cmp dword [esp + 0x10], 0
jle 0x1003c228
cmp dword [esp + 0x14], 0
jle 0x1003c228
cmp dword [esp + 0x18], 0
jle 0x1003c228
cmp dword [esp + 0x1c], 0
jle 0x1003c228
push 1
lea eax, [esp + 0x14]
push eax
jmp 0x1003c27b
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0x28]
add eax, 0xfffffe09
cdq
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x2c]
sar esi, 1
push 1
mov dword [esp + 0x14], esi
lea eax, [eax - 0x17f]
cdq
lea ecx, [esi + 0x1f7]
sub eax, edx
mov dword [esp + 0x1c], ecx
sar eax, 1
mov dword [esp + 0x18], eax
lea ecx, [eax + 0x17f]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.1000a970
mov ecx, dword [esp + 0x49c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
inc eax
call fcn.1017868e
add esp, 0x490
ret 0x10