Function at 0x4edeb8
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x48]
call fcn.004a0ff9
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
mov ebx, 0x5c6
push ebx
push dword [esi + 4]
call ebp
cmp dword [esi + 0x3c], 2
mov ecx, esi
jae 0x4edee7
push 0
jmp 0x4edee9
push 1
push ebx
call fcn.0047622a
and dword [esp + 0x10], 0
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 0x538960]
mov ecx, dword [esi + 4]
push eax
push ecx
call edi
mov ecx, dword [esi + 0x28]
mov edx, dword [esp + 0x10]
movzx ecx, byte [edx + ecx + 0x538962]
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add dword [esp + 0x10], 6
cmp dword [esp + 0x10], 0x5a
jl 0x4edefa
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x4ee0d9
push eax
push 0x104
push 0xc5
push ebx
mov ecx, esi
call fcn.0047616c
mov eax, dword [esi + 4]
push 0x5b2
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
fild dword [esp + 0x18]
fmul qword [0x52bfa0]
call fcn.00401030
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
push 0x5b2
push eax
call edi
mov dword [esp + 0x14], eax
push 0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
push 0x30
push dword [esp + 0x20]
call ebx
mov eax, dword [esi + 4]
push 0x651
push eax
call edi
push 0
push 0
push 0x31
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 4]
push 0x651
push eax
mov dword [esp + 0x30], 0x2bc
call edi
mov edi, eax
push 0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
push 0x30
push edi
call ebx
push dword [0x896c34]
push 0x651
push dword [esi + 4]
call ebp
push dword [0x896c3c]
push 0x5b0
push dword [esi + 4]
call ebp
push dword [0x896c4c]
push 0x5b2
push dword [esi + 4]
call ebp
push dword [0x896c38]
push 0x5b1
push dword [esi + 4]
call ebp
push 0x517834
lea ecx, [esp + 0x14]
call fcn.004a0fd9
cmp dword [esi + 0x3c], 0
je 0x4ee07c
mov eax, dword [esi + 0x34]
mov ecx, dword [eax]
call fcn.004b696a
push eax
lea eax, [esp + 0x18]
push 0x50fa44
push eax
call fcn.004a1618
add esp, 0xc
push dword [eax]
lea ecx, [esp + 0x14]
call fcn.004a101e
lea ecx, [esp + 0x14]
call fcn.004a0c7d
xor edi, edi
inc edi
cmp dword [esi + 0x3c], edi
jbe 0x4ee0c0
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + edi*4]
call fcn.004b696a
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push 0x532bd8
push eax
call fcn.004a1618
add esp, 0x10
push dword [eax]
lea ecx, [esp + 0x14]
call fcn.004a101e
lea ecx, [esp + 0x14]
call fcn.004a0c7d
inc edi
cmp edi, dword [esi + 0x3c]
jb 0x4ee084
lea ecx, [esp + 0x10]
call fcn.004a0ff9
push eax
push 0x64b
push dword [esi + 4]
call ebp
jmp 0x4ee223
cmp eax, 1
jne 0x4ee10e
mov eax, dword [esi]
lea ecx, [esi + 0x74]
push ecx
mov ecx, esi
call dword [eax + 0x40]
push dword [0x896c44]
push 0x5b2
push dword [esi + 4]
call ebp
push dword [0x896c38]
push 0x5b1
push dword [esi + 4]
call ebp
jmp 0x4ee22c
cmp eax, 2
jne 0x4ee22c
mov eax, dword [esi]
lea ecx, [esi + 0x74]
push ecx
mov ecx, esi
call dword [eax + 0x40]
lea ecx, [esp + 0x10]
call fcn.004a0e93
lea ebx, [esi + 0x64]
push 0
mov ecx, ebx
call fcn.004a0f85
test al, al
jne 0x4ee195
mov eax, dword [ebx]
test eax, eax
je 0x4ee195
xor ecx, ecx
cmp byte [eax], cl
sete cl
test cl, cl
jne 0x4ee195
push dword [0x896c40]
push 0x5b2
push dword [esi + 4]
call ebp
push dword [0x896c30]
push 0x651
push dword [esi + 4]
call ebp
mov ecx, ebx
call fcn.004a0e99
push eax
mov ecx, ebx
call fcn.004a0e99
push eax
push 0x50fa40
call fcn.0049f991
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
call fcn.004a0c86
jmp 0x4ee1b9
push dword [0x896c48]
push 0x5b2
push dword [esi + 4]
call ebp
mov eax, dword [esi + 4]
push 0x5d2
push eax
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
mov ebp, 0x5c8
push ebp
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push eax
call ebx
lea ecx, [esp + 0x18]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 4]
push ebp
push eax
mov dword [esp + 0x30], 0x2bc
call edi
mov dword [esp + 0x14], eax
push 0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
push 0x30
push dword [esp + 0x20]
call ebx
mov esi, dword [esi + 4]
lea ecx, [esp + 0x10]
call fcn.004a0e99
push eax
push ebp
push esi
call edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [esp + 0x10]
call fcn.004a0c7d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret