Function at 0x408460
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff707
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x69ee98]
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.00493f90
call fcn.00488503
call fcn.00488503
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push 0x80
push dword [ebx + 0x20]
mov dword [ebx + 0x210], eax
call dword [sym.imp.USER32.dll_SendMessageA]
call fcn.00485933
mov edi, eax
test edi, edi
je 0x40891a
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
or edi, 0xffffffff
mov ecx, dword [ebx + 0xac]
add ecx, 8
mov eax, dword [ecx]
test eax, eax
je 0x40855a
cmp dword [eax - 0xc], 0
je 0x40855a
push ecx
lea eax, [ebp - 0x24]
push str.Copyright__c_
push eax
call fcn.00403fe0
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, ebx
push dword [eax]
push 0x3fc
call fcn.004932b2
mov byte [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x408576
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
or edi, 0xffffffff
jmp 0x408576
push 0x2712
lea ecx, [ebp - 0x2c]
call fcn.004030c0
push dword [ebp - 0x2c]
mov ecx, ebx
push 0x3fc
call fcn.004932b2
call fcn.00485933
mov dword [ebp - 0x24], eax
test eax, eax
je 0x408924
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x613aec]
mov ecx, dword [ebp - 0x24]
call esi
add eax, 0x10
mov dword [ebp - 0x34], eax
push 0x48
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.004030c0
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x38], eax
call fcn.00403750
add eax, 0x10
lea esi, [ebx + 0xc0]
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
lea ecx, [eax - 0x10]
mov edx, dword [esi + 0x94]
sub edx, 0x10
mov dword [ebp - 0x3c], edx
cmp ecx, edx
je 0x408653
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
mov dword [ebp - 0x24], esi
lea esi, [ebx + 0xc0]
jl 0x408644
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x408641
push ecx
call fcn.00403750
mov dword [ebp - 0x30], eax
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408633
mov ecx, dword [ebp - 0x3c]
push ecx
mov edi, dword [ecx]
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
lea esi, [ebx + 0xc0]
or edi, 0xffffffff
mov eax, dword [ebp - 0x30]
add eax, 0x10
mov dword [esi + 0x94], eax
jmp 0x408653
mov eax, dword [ebp - 0x28]
push dword [eax - 0xc]
lea ecx, [esi + 0x94]
push eax
call fcn.004038a0
test esi, esi
jne 0x40865b
xor eax, eax
jmp 0x40865e
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40869c
push 0
mov ecx, esi
call fcn.00493419
mov ecx, esi
call fcn.004191c0
test byte [esi + 0x90], 0x80
jne 0x408693
push 1
push esi
push dword [ebp - 0x28]
lea ecx, [esi + 0xa0]
call fcn.00494da5
push 5
mov ecx, esi
call fcn.00493419
mov byte [ebp - 4], 2
mov eax, edi
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4086cc
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
lea esi, [ebx + 0xc0]
mov eax, dword [ebx + 0xa8]
mov eax, dword [eax + 4]
cmp eax, 3
je 0x4086df
cmp eax, 4
jne 0x408759
push 0
mov ecx, esi
call fcn.00493419
push 0x3fc
mov ecx, ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00492981
lea ecx, [ebp - 0x20]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0048ac21
add dword [ebp - 0x1c], 7
mov ecx, ebx
add dword [ebp - 0x14], 7
push 0x3fc
call fcn.00492981
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
sub ecx, esi
mov edx, dword [ebp - 0x20]
push 1
push ecx
mov ecx, dword [ebp - 0x18]
sub ecx, edx
push ecx
push esi
push edx
mov ecx, eax
call fcn.004930c4
mov eax, dword [ebx + 0xac]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x40876f
cmp dword [eax - 0xc], 0
je 0x40876f
push eax
jmp 0x40877f
push 0xf1
lea ecx, [ebp - 0x2c]
call fcn.004030c0
push dword [ebp - 0x2c]
push 0x3fd
mov ecx, ebx
call fcn.004932b2
mov eax, dword [ebx + 0xac]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x4087a1
push eax
mov ecx, ebx
call fcn.004933c5
push 0xe706
lea ecx, [ebp - 0x2c]
call fcn.004030c0
mov esi, dword [ebp - 0x2c]
mov ecx, ebx
push esi
push 0x3fe
call fcn.004932b2
call fcn.00485933
mov dword [ebp - 0x30], eax
test eax, eax
je 0x40892e
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x613aec]
mov ecx, dword [ebp - 0x30]
call edi
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 4
cmp dword [ebx + 0x20c], 0
jne 0x40883b
push 0xa0
call fcn.00488616
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x408814
mov ecx, eax
call fcn.004942ed
jmp 0x408816
xor eax, eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], eax
mov dword [ebx + 0x20c], eax
mov eax, dword [eax]
push 1
push ebx
mov edi, dword [eax + 0x164]
mov ecx, edi
call dword [0x613aec]
mov ecx, dword [ebp - 0x28]
call edi
mov eax, dword [ebx + 0x20c]
push 0x190
push 0
push 0x418
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xe720
lea ecx, [ebp - 0x24]
call fcn.004030c0
mov eax, dword [ebx + 0x20c]
push 0
push 1
push 0x401
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4088a6
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x38]
or eax, 0xffffffff
mov byte [ebp - 4], 0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4088ce
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4088f9
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
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.005d4ba5
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402cb0
push 0x80004005
call fcn.00402cb0
push 0x80004005
call fcn.00402cb0
int3