Function at 0x48f244
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.0048ebf0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 0x44
je 0x48f2b4
sub eax, 0x11
je 0x48f277
xor esi, esi
xor eax, eax
mov dword [ebp - 4], eax
mov ebx, 0x20
mov dword [ebp - 8], 0x20
jmp 0x48f2e4
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 0x48f2e4
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 0x5db37e
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x5db36d
push 0
call fcn.0048e6bc
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 0x5db3a2
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x5db389
push 0
call fcn.0048e6bc
add esp, 0x28
add edi, ebx
add esi, ebx
mov eax, dword [0x51a5dd]
cmp eax, 0xebc
jne 0x48f3a1
mov dl, byte [0x51a747]
test dl, dl
je 0x48f3a1
push 0x200
mov ecx, dword [ebp - 8]
push ecx
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push 0x6f
push 0x5db3c0
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov edx, dword [ebp + 8]
push edx
push 0x5db3ac
push 0
call fcn.0048e6bc
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 0x5db3db
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov edx, dword [ebp + 8]
push edx
push 0x5db3cb
push 0
call fcn.0048e6bc
add esp, 0x28
add edi, ebx
add edi, 2
add esi, ebx
mov cl, byte [0x51a2ba]
test cl, cl
jne 0x48f3fa
mov al, byte [0x51a2aa]
test al, al
je 0x48f432
push 0x200
mov edx, dword [ebp - 8]
push edx
push ebx
mov ecx, dword [ebp - 4]
push ecx
push esi
push 0x83
push 0x5db40a
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov eax, dword [ebp + 8]
push eax
push 0x5db3e3
push 0
call fcn.0048e6bc
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 0x5db42c
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov eax, dword [ebp + 8]
push eax
push 0x5db413
push 0
call fcn.0048e6bc
add esp, 0x28
add edi, ebx
add esi, ebx
call fcn.004c731c
test eax, eax
je 0x48f4b0
push 0x200
mov edx, dword [ebp - 8]
push edx
push ebx
mov ecx, dword [ebp - 4]
push ecx
push esi
push 0x79
push 0x5db446
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov eax, dword [ebp + 8]
push eax
push 0x5db435
push 0
call fcn.0048e6bc
add esp, 0x28
add edi, ebx
mov edx, dword [ebp - 0xc]
cmp edx, 0x55
je 0x48f4c2
mov ecx, dword [ebp - 0xc]
cmp ecx, 0x44
jne 0x48f4c8
lea edi, [ebx + esi + 4]
jmp 0x48f4d1
mov eax, ebx
shl eax, 3
sub eax, ebx
add edi, eax
mov dl, byte [0x51a2bf]
test dl, dl
jne 0x48f513
push 0x600
mov ecx, dword [ebp - 8]
push ecx
push ebx
mov eax, dword [ebp - 4]
push eax
push edi
push 0x97
push 0x5db457
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov edx, dword [ebp + 8]
push edx
push 0x5db450
push 0
call fcn.0048e6bc
add esp, 0x28
mov ecx, dword [ebp - 0xc]
cmp ecx, 0x55
je 0x48f523
mov eax, dword [ebp - 0xc]
cmp eax, 0x44
jne 0x48f594
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 0x5db463
call fcn.0048e6bc
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 0x5db464
call fcn.0048e6bc
add esp, 0x28
push 0x5db465
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