Function at 0x473a00
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 [0x5246a8]
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 0x473e39
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 0x473e39
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 0x473a6b
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
test ebx, ebx
je 0x473a78
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 0x473c36
test ebx, ebx
je 0x473c33
mov eax, dword [edi]
cmp dword [eax + 0x14], 8
jb 0x473aab
mov eax, dword [eax]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [ebp + 0x10], 0
push 0x4fee68
jne 0x473acb
mov ecx, dword [0x527178]
mov eax, dword [ecx + 0x14]
push 0x79
jmp 0x473ad6
mov edx, dword [0x527178]
mov eax, dword [edx + 0x14]
push 0x7a
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x473b3d
mov eax, dword [0x527178]
mov eax, dword [eax + 0x14]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x473b3d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x473b3d
mov ecx, dword [0x527178]
mov eax, dword [ecx + 0x14]
push 0
push 0
push 0
push 0x30000
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push esi
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
test eax, eax
je 0x473b3d
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 0x473c2b
test eax, eax
je 0x473c2b
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 0x473c18
lea eax, [esi + 1]
test eax, eax
jle 0x473c18
lea edx, [esi + esi + 2]
push edx
call fcn.004028c6
add esp, 4
mov dword [ebp - 0x54], eax
test eax, eax
je 0x473c18
lea ecx, [esi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x473c0c
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x64]
push eax
push esi
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x473c0c
lea edx, [ebp - 0x50]
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test eax, eax
je 0x473be0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x64]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*2]
mov dword [ebp - 0x64], edx
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x473c0c
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x64]
push 0x206
push ecx
push edx
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x54]
push eax
call fcn.00402cee
add esp, 4
mov ecx, dword [ebp - 0x58]
push ecx
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 0x473e32
cmp eax, 1
jbe 0x473e38
test esi, esi
je 0x473e38
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push esi
call ebx
mov edi, dword [edi]
mov edx, dword [ebp - 0x54]
cmp edi, dword [edx + 4]
je 0x473c82
cmp dword [edi + 0x14], 8
jb 0x473c6a
mov eax, dword [edi]
jmp 0x473c6c
mov eax, edi
push eax
push 0
push 0x143
push esi
call ebx
mov eax, dword [ebp - 0x54]
add edi, 0x1c
cmp edi, dword [eax + 4]
jne 0x473c60
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 0x473e2f
test eax, eax
je 0x473e2f
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 - 0x5c], 0
test eax, eax
jle 0x473df4
mov ecx, dword [ebp - 0x5c]
push 0
push ecx
push 0x149
push esi
call ebx
mov edi, eax
test edi, edi
jle 0x473de1
lea edx, [edi + 1]
test edx, edx
jle 0x473de1
lea eax, [edi + edi + 2]
push eax
call fcn.004028c6
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x473ddb
lea eax, [edi + edi + 2]
push eax
push 0
push ebx
call fcn.004b7180
mov eax, dword [ebp - 0x5c]
add esp, 0xc
push ebx
push eax
push 0x148
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x473dd2
lea edx, [ebp - 0x64]
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 0x473dd2
lea eax, [ebp - 0x50]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x64]
test eax, eax
je 0x473d8b
lea ecx, [ecx + edx*2]
mov dword [ebp - 0x64], ecx
cmp ecx, dword [ebp - 0x54]
jle 0x473d93
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x5c], 0
jne 0x473dd2
test eax, eax
je 0x473da6
lea eax, [edx + ecx]
lea ecx, [eax + edx*2]
mov dword [ebp - 0x64], ecx
lea edx, [ebp - 0x14]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x473dd2
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x64]
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.00402cee
add esp, 4
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp eax, dword [ebp - 0x68]
jl 0x473cf2
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 0x473e2f
push 0
push edi
push 0x15e
push esi
call ebx
cmp edi, 0x15e
jge 0x473e2f
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.00401306
mov esp, ebp
pop ebp
ret