Function at 0x48e870
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.0048e21c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 0x44
je 0x48e8e0
sub eax, 0x11
je 0x48e8a3
xor esi, esi
xor eax, eax
mov dword [ebp - 4], eax
mov ebx, 0x20
mov dword [ebp - 8], 0x20
jmp 0x48e910
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 0x48e910
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 0x5d9dcb
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x5d9dba
push 0
call fcn.0048dce8
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 0x5d9def
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x5d9dd6
push 0
call fcn.0048dce8
add esp, 0x28
add edi, ebx
add esi, ebx
mov eax, dword [0x519085]
cmp eax, 0xebc
jne 0x48e9cd
mov dl, byte [0x5191ef]
test dl, dl
je 0x48e9cd
push 0x200
mov ecx, dword [ebp - 8]
push ecx
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push 0x6f
push 0x5d9e0d
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov edx, dword [ebp + 8]
push edx
push 0x5d9df9
push 0
call fcn.0048dce8
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 0x5d9e28
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov edx, dword [ebp + 8]
push edx
push 0x5d9e18
push 0
call fcn.0048dce8
add esp, 0x28
add edi, ebx
add edi, 2
add esi, ebx
mov cl, byte [0x518d62]
test cl, cl
jne 0x48ea26
mov al, byte [0x518d52]
test al, al
je 0x48ea5e
push 0x200
mov edx, dword [ebp - 8]
push edx
push ebx
mov ecx, dword [ebp - 4]
push ecx
push esi
push 0x83
push 0x5d9e57
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov eax, dword [ebp + 8]
push eax
push 0x5d9e30
push 0
call fcn.0048dce8
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 0x5d9e79
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov eax, dword [ebp + 8]
push eax
push 0x5d9e60
push 0
call fcn.0048dce8
add esp, 0x28
add edi, ebx
add esi, ebx
call fcn.004c6714
test eax, eax
je 0x48eadc
push 0x200
mov edx, dword [ebp - 8]
push edx
push ebx
mov ecx, dword [ebp - 4]
push ecx
push esi
push 0x79
push 0x5d9e93
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov eax, dword [ebp + 8]
push eax
push 0x5d9e82
push 0
call fcn.0048dce8
add esp, 0x28
add edi, ebx
mov edx, dword [ebp - 0xc]
cmp edx, 0x55
je 0x48eaee
mov ecx, dword [ebp - 0xc]
cmp ecx, 0x44
jne 0x48eaf4
lea edi, [ebx + esi + 4]
jmp 0x48eafd
mov eax, ebx
shl eax, 3
sub eax, ebx
add edi, eax
mov dl, byte [0x518d67]
test dl, dl
jne 0x48eb3f
push 0x600
mov ecx, dword [ebp - 8]
push ecx
push ebx
mov eax, dword [ebp - 4]
push eax
push edi
push 0x97
push 0x5d9ea4
call fcn.00401260
push eax
call sub.USER32.dll_LoadIconA
push eax
mov edx, dword [ebp + 8]
push edx
push 0x5d9e9d
push 0
call fcn.0048dce8
add esp, 0x28
mov ecx, dword [ebp - 0xc]
cmp ecx, 0x55
je 0x48eb4f
mov eax, dword [ebp - 0xc]
cmp eax, 0x44
jne 0x48ebc0
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 0x5d9eb0
call fcn.0048dce8
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 0x5d9eb1
call fcn.0048dce8
add esp, 0x28
push 0x5d9eb2
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