Function at 0x48a990
Capabilities:
Extract resource via kernel32 functions
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x54], edi
test esi, esi
je 0x48ae35
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x48ae35
push ebx
push 0x417
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x416
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x48a9fb
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
test ebx, ebx
je 0x48aa08
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jne 0x48abfc
test ebx, ebx
je 0x48abf9
mov eax, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x48aa3b
mov eax, dword [eax]
test eax, eax
je 0x48aa47
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x5563e8]
test ecx, ecx
je 0x48aad7
cmp byte [ebp + 0x10], 0
push 0x52ad90
jne 0x48aa64
push 0x79
jmp 0x48aa66
push 0x7a
call fcn.00489450
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x48aad7
mov ecx, dword [0x5563e8]
push edi
call fcn.00489450
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48aad7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x48aad7
mov ecx, dword [0x5563e8]
push 0
push 0
push 0
push 0x30000
push 1
push edi
call fcn.00489450
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push esi
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
test eax, eax
je 0x48aad7
push eax
push 1
push 0xf7
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
je 0x48abf1
test eax, eax
je 0x48abf1
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
mov dword [ebp - 0x58], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
jle 0x48abde
cmp esi, 0x3ffffffe
jae 0x48abde
lea ecx, [esi + esi + 2]
push ecx
call fcn.004028ea
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x54], eax
cmp eax, ecx
je 0x48abde
lea edx, [esi + 1]
push edx
push eax
push ebx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x48abd2
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x60]
push eax
push esi
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x48abd2
xor esi, esi
push 0x38
lea edx, [ebp - 0x4c]
push esi
push edx
mov dword [ebp - 0x50], esi
call fcn.004e41d0
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test eax, eax
je 0x48ab9b
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x60]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x14]
xor eax, eax
push ecx
push ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x48abd2
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x60]
push 0x206
push edx
push eax
push esi
push esi
push esi
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00402d0e
add esp, 4
mov edx, dword [ebp - 0x58]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 5
push ebx
jmp 0x48ae2e
cmp eax, 1
jbe 0x48ae34
test esi, esi
je 0x48ae34
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push esi
call ebx
mov edi, dword [edi]
mov eax, dword [ebp - 0x54]
cmp edi, dword [eax + 4]
je 0x48ac48
cmp dword [edi + 0x14], 8
jb 0x48ac30
mov eax, dword [edi]
jmp 0x48ac32
mov eax, edi
push eax
push 0
push 0x143
push esi
call ebx
mov ecx, dword [ebp - 0x54]
add edi, 0x1c
cmp edi, dword [ecx + 4]
jne 0x48ac26
push 0
push 0
push 0x14e
push esi
call ebx
push 0
push 0x15e
push 0x160
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0
push 0x31
mov edi, eax
push esi
mov dword [ebp - 0x58], edi
call ebx
test edi, edi
je 0x48ae2b
test eax, eax
je 0x48ae2b
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push 0
push 0x146
push esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x54], 0
call ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0
test eax, eax
jle 0x48adf0
mov edx, dword [ebp - 0x64]
push 0
push edx
push 0x149
push esi
call ebx
mov edi, eax
test edi, edi
jle 0x48addd
cmp edi, 0x3ffffffe
jae 0x48addd
lea eax, [edi + edi + 2]
push eax
call fcn.004028ea
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48add7
lea eax, [edi + edi + 2]
push eax
push 0
push ebx
call fcn.004e41d0
add esp, 0xc
xor eax, eax
push ebx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x64]
push eax
push 0x148
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x48adce
lea edx, [ebp - 0x60]
push edx
push edi
xor ecx, ecx
mov word [ebx + edi*2], cx
mov edi, dword [ebp - 0x58]
push ebx
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x48adce
push 0x38
lea eax, [ebp - 0x4c]
push 0
push eax
mov dword [ebp - 0x50], 0
call fcn.004e41d0
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x60]
test eax, eax
je 0x48ad75
lea edx, [edx + edi*2]
mov dword [ebp - 0x60], edx
cmp edx, dword [ebp - 0x54]
jle 0x48ad7d
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x64], 0
jne 0x48adce
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
test eax, eax
je 0x48ada2
lea eax, [edi + edx]
lea ecx, [eax + edi*2]
mov dword [ebp - 0x60], ecx
lea edx, [ebp - 0x14]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x48adce
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x60]
push 0x206
push eax
push ecx
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
call fcn.00402d0e
add esp, 4
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp eax, dword [ebp - 0x68]
jl 0x48acb8
mov edi, dword [ebp - 0x58]
mov edx, dword [ebp - 0x6c]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [ebp - 0x54]
test edi, edi
jle 0x48ae2b
push 0
push edi
push 0x15e
push esi
call ebx
cmp edi, 0x15e
jge 0x48ae2b
push 0
add edi, 0xa
push edi
push 0x160
push esi
call ebx
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret