Function at 0x404b1b
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 8], ebx
lea esi, [ebx + 4]
call fcn.00401adb
mov ecx, dword [esi]
push 0xffffffffffffffec
mov dword [eax], ecx
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x40000
cmp eax, ecx
je 0x404b56
push ecx
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, esi
call fcn.00405c43
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
push dword [esi]
call edi
push eax
lea ecx, [ebx + 0x16c]
call fcn.00408a70
mov ebx, 0x80
push 0xe140
lea eax, [ebp - 4]
push ebx
push eax
call fcn.0040a0d4
mov ecx, eax
call fcn.0043bdc4
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 0
je 0x404bee
push 0
push 0x4aa0cc
lea ecx, [ebp - 4]
call fcn.004069b6
test eax, eax
jle 0x404bd6
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 4]
call fcn.0040694d
push eax
lea ecx, [ebp - 4]
call fcn.004065e8
lea ecx, [ebp - 0x1c]
call fcn.00401085
push 0x4aa0c8
lea ecx, [ebp - 4]
call fcn.00406d22
push dword [ebp - 4]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 4]
call fcn.00401085
push ebx
push dword [0x4c0e4c]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push dword [0x4c0e4c]
call fcn.00430f34
pop ecx
pop ecx
push eax
push 0
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3e8
push dword [esi]
call edi
mov dword [ebp - 4], eax
call fcn.004629ff
test eax, eax
je 0x404c4c
push eax
push 0
push 0x30
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 8]
call fcn.0040545c
mov ecx, dword [ebp - 8]
call fcn.004047b4
lea eax, [ebp - 0x18]
push eax
call fcn.0040de67
lea eax, [ebp - 0x14]
push eax
call fcn.004617c5
pop ecx
pop ecx
push str.Copyright__
lea ecx, [ebp - 0x10]
call fcn.004064a9
lea ecx, [ebp - 0x40]
call fcn.00473bce
push 0xaf
lea ecx, [ebp - 0x40]
call fcn.00450a4f
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x14]
push 0x4aa048
push eax
lea eax, [ebp - 0x40]
push 0x4a9724
neg eax
sbb eax, eax
and eax, ecx
push eax
lea eax, [ebp - 0x18]
push 0x4aa044
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004066f3
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040665f
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004066f3
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040665f
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004066f3
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040665f
lea ecx, [ebp - 0x1c]
call fcn.00401085
lea ecx, [ebp - 0x20]
call fcn.00401085
lea ecx, [ebp - 0x24]
call fcn.00401085
lea ecx, [ebp - 0x28]
call fcn.00401085
lea ecx, [ebp - 0x30]
call fcn.00401085
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x3e9
push dword [esi]
call edi
push eax
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x44]
call fcn.00408a70
lea ecx, [ebp - 0x38]
call fcn.00473bce
push 0x3ea
push dword [esi]
call edi
push 0xa0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], eax
call fcn.00450a4f
lea edi, [ebp - 0x38]
lea eax, [ebp - 0x34]
neg edi
sbb edi, edi
and edi, eax
push dword [edi]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x8017
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0040a0d4
mov ecx, eax
call fcn.0043bdc4
push eax
lea ecx, [ebp - 0x2c]
call fcn.00473c07
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x38]
push eax
call fcn.004052bf
lea ecx, [ebp - 0x2c]
call fcn.00473bfc
lea ecx, [ebp - 0x30]
call fcn.00401085
push 0x3ec
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [edi]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 8]
call fcn.004018e4
push 0
push 0x12c
push 0x3e8
push dword [esi]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x38]
call fcn.00473bfc
lea ecx, [ebp - 0xc]
call fcn.00401085
lea ecx, [ebp - 0x40]
call fcn.00473bfc
lea ecx, [ebp - 0x10]
call fcn.00401085
lea ecx, [ebp - 0x14]
call fcn.00401085
lea ecx, [ebp - 0x18]
call fcn.00401085
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10