Function at 0x46eb30
Capabilities:
Get graphical window text
Hide graphical window
Inspect load icon resource

Disassembly:
sub esp, 0x120
lea eax, [esp + 0xa0]
push ebx
mov ebx, dword [esp + 0x128]
push ebp
push esi
push edi
mov ebp, ecx
push 0x80
push eax
push ebx
mov dword [ebp + 0x84], ebx
mov dword [ebp + 0x90], 0
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edi, 0x557d84
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xb0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0xb0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0xb0]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [ebp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push eax
push 0
push 0x172
push 0x19c8
push ebx
mov dword [ebp + 0x88], eax
call esi
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov ax, word [ebp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
push 0
push eax
push 0x170
push 0x19c9
mov dword [ebp + 0x8c], eax
push ebx
call esi
mov edx, dword [ebp + 0x2c]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edx
push 0x19ca
push ebx
call esi
mov eax, dword [ebp + 0xc]
push 0x19cb
push ebx
push eax
call fcn.004f34f0
mov edx, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
add esp, 0xc
lea ecx, [esp + 0x60]
push 0x50
push ecx
push 0x1964
push edx
call edi
mov eax, dword [ebp + 0x28]
lea ecx, [esp + 0x60]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x19cc
push ebx
call esi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x46ed39
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x46ecb5
mov eax, dword [ebp + 0x1c]
test eax, eax
jne 0x46ecb5
push 0x5688a4
push 0x19cd
push ebx
call esi
push 0x5688a4
jmp 0x46ecf0
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0xb0]
push 0x80
push ecx
push 0x1965
push edx
call edi
lea eax, [esp + 0xb0]
push eax
push 0x19cd
push ebx
call esi
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x46ecec
cmp byte [eax], 0
je 0x46ecec
push eax
jmp 0x46ecf0
mov ecx, dword [ebp + 0x1c]
push ecx
push 0x19ce
push ebx
call esi
mov eax, dword [ebp + 0x20]
mov byte [esp + 0x10], 0
test eax, eax
je 0x46ed32
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x60]
push 0x50
push edx
push 0x1968
push eax
call edi
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x60]
push ecx
push edx
lea eax, [esp + 0x18]
push str._s__s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
jmp 0x46ed9c
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0xb0]
push 0x80
push edx
push 0x1966
push eax
call edi
lea ecx, [esp + 0xb0]
push ecx
push 0x19cd
push ebx
call esi
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x60]
push 0x50
push edx
push 0x1967
push eax
call edi
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x60]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x19ce
push ebx
call esi
push 0x5688a4
push 0x19cf
push ebx
call esi
mov eax, dword [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x46edc3
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x46edc3
cmp byte [eax], 0
jne 0x46edd0
push 0
push 0x19d1
push ebx
call edi
push eax
call esi
mov ebp, dword [ebp + 0x38]
test ebp, ebp
je 0x46eddd
cmp byte [ebp], 0
jne 0x46edea
push 0
push 0x19d2
push ebx
call edi
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 4