Function at 0x492da8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00492754
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 0x44
je 0x492e18
sub eax, 0x11
je 0x492ddb
xor esi, esi
xor eax, eax
mov dword [ebp - 4], eax
mov ebx, 0x20
mov dword [ebp - 8], 0x20
jmp 0x492e48
push 0
call sub.USER32.dll_GetSystemMetrics
add eax, 0xfffffde3
mov dword [ebp - 0x14], eax
push 6
call sub.USER32.dll_GetSystemMetrics
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp + 8]
push edx
call sub.USER32.dll_ScreenToClient
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ebx, 0x1c
mov dword [ebp - 8], 0x1c
jmp 0x492e48
push 0
call sub.USER32.dll_GetSystemMetrics
add eax, 0xfffffde3
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp + 8]
push edx
call sub.USER32.dll_ScreenToClient
mov esi, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 4], eax
mov ebx, 0x1c
mov dword [ebp - 8], 0x1c
mov edi, esi
push 0x200
mov eax, dword [ebp - 8]
push eax
push ebx
mov edx, dword [ebp - 4]
push edx
push esi
push 0x65
push 0x5f4c9e
call fcn.00401288
push eax
call sub.USER32.dll_LoadIconA
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x5f4c8d
push 0
call fcn.00492220
add esp, 0x28
add esi, ebx
push 0x200
mov eax, dword [ebp - 8]
push eax
push ebx
mov edx, dword [ebp - 4]
push edx
push esi
push 0x66
push 0x5f4cc2
call fcn.00401288
push eax
call sub.USER32.dll_LoadIconA
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x5f4ca9
push 0
call fcn.00492220
add esp, 0x28
add edi, ebx
add esi, ebx
mov eax, dword [0x52ede5]
cmp eax, 0xebc
jne 0x492f05
mov dl, byte [0x52ef4f]
test dl, dl
je 0x492f05
push 0x200
mov ecx, dword [ebp - 8]
push ecx
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push 0x6f
push 0x5f4ce0
call fcn.00401288
push eax
call sub.USER32.dll_LoadIconA
push eax
mov edx, dword [ebp + 8]
push edx
push 0x5f4ccc
push 0
call fcn.00492220
add esp, 0x28
push 0x200
add edi, ebx
mov ecx, dword [ebp - 8]
add esi, ebx
push ecx
push ebx
mov eax, dword [ebp - 4]
add esi, 2
push eax
push esi
push 0x8d
push 0x5f4cfb
call fcn.00401288
push eax
call sub.USER32.dll_LoadIconA
push eax
mov edx, dword [ebp + 8]
push edx
push 0x5f4ceb
push 0
call fcn.00492220
add esp, 0x28
add edi, ebx
add edi, 2
add esi, ebx
mov cl, byte [0x52eac2]
test cl, cl
jne 0x492f5e
mov al, byte [0x52eab2]
test al, al
je 0x492f96
push 0x200
mov edx, dword [ebp - 8]
push edx
push ebx
mov ecx, dword [ebp - 4]
push ecx
push esi
push 0x83
push 0x5f4d2a
call fcn.00401288
push eax
call sub.USER32.dll_LoadIconA
push eax
mov eax, dword [ebp + 8]
push eax
push 0x5f4d03
push 0
call fcn.00492220
add esp, 0x28
push 0x200
add edi, ebx
mov edx, dword [ebp - 8]
add esi, ebx
push edx
push ebx
mov ecx, dword [ebp - 4]
push ecx
push esi
push 0xab
push 0x5f4d4c
call fcn.00401288
push eax
call sub.USER32.dll_LoadIconA
push eax
mov eax, dword [ebp + 8]
push eax
push 0x5f4d33
push 0
call fcn.00492220
add esp, 0x28
add edi, ebx
add esi, ebx
call fcn.004cc1b8
test eax, eax
je 0x493014
push 0x200
mov edx, dword [ebp - 8]
push edx
push ebx
mov ecx, dword [ebp - 4]
push ecx
push esi
push 0x79
push 0x5f4d66
call fcn.00401288
push eax
call sub.USER32.dll_LoadIconA
push eax
mov eax, dword [ebp + 8]
push eax
push 0x5f4d55
push 0
call fcn.00492220
add esp, 0x28
add edi, ebx
mov edx, dword [ebp - 0xc]
cmp edx, 0x55
je 0x493026
mov ecx, dword [ebp - 0xc]
cmp ecx, 0x44
jne 0x49302c
lea edi, [ebx + esi + 4]
jmp 0x493035
mov eax, ebx
shl eax, 3
sub eax, ebx
add edi, eax
mov dl, byte [0x52eac7]
test dl, dl
jne 0x493077
push 0x600
mov ecx, dword [ebp - 8]
push ecx
push ebx
mov eax, dword [ebp - 4]
push eax
push edi
push 0x97
push 0x5f4d77
call fcn.00401288
push eax
call sub.USER32.dll_LoadIconA
push eax
mov edx, dword [ebp + 8]
push edx
push 0x5f4d70
push 0
call fcn.00492220
add esp, 0x28
mov ecx, dword [ebp - 0xc]
cmp ecx, 0x55
je 0x493087
mov eax, dword [ebp - 0xc]
cmp eax, 0x44
jne 0x4930f8
inc dword [ebp - 4]
add ebx, 0xfffffffe
add dword [ebp - 8], 0xfffffffe
push 0x200
mov esi, 0xa
mov eax, dword [ebp - 8]
push eax
push ebx
mov edx, dword [ebp - 4]
push edx
push esi
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x5f4d83
call fcn.00492220
add esp, 0x28
add esi, 0x1d
mov ebx, 1
push 0x200
mov eax, dword [ebp - 8]
push eax
push ebx
mov edx, dword [ebp - 4]
push edx
push esi
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x5f4d84
call fcn.00492220
add esp, 0x28
push 0x5f4d85
mov eax, dword [ebp + 8]
push eax
call sub.USER32.dll_SetWindowTextA
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret