Function at 0x49dd70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570f8b
mov eax, dword fs:[0]
push eax
sub esp, 0x184
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x190]
mov ecx, 0x61
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x59adb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0047a7cb
mov dword [ebp - 0x38], 0x40000080
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
call fcn.0047d70a
movzx ecx, al
test ecx, ecx
je 0x49dde9
mov eax, dword [ebp - 0x38]
or eax, 0x20
mov dword [ebp - 0x38], eax
push 0
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x28]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0xc], edx
push 0
mov eax, dword [ebp - 0x38]
push eax
push 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [edx]
mov esi, esp
mov eax, dword [edx + 0x1c]
call eax
cmp esi, esp
call fcn.0047d11f
mov ecx, eax
call fcn.0047b72f
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0047d0f2
mov esi, esp
push 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
call fcn.0047a32f
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [edx]
mov edi, esp
mov eax, dword [edx + 0x1c]
call eax
cmp edi, esp
call fcn.0047d11f
mov ecx, eax
call fcn.0047c959
mov ecx, dword [eax]
push ecx
push 0x30
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.0047d11f
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
call fcn.0047be0a
push eax
push 0xc5
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.0047d11f
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
call fcn.0047d70a
movzx ecx, al
test ecx, ecx
je 0x49deee
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
call fcn.0047b0fe
movzx ecx, ax
push ecx
push 0xcc
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.0047d11f
mov esi, esp
lea eax, [ebp - 0x184]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [edx]
mov eax, dword [edx + 0x28]
call eax
cmp esi, esp
call fcn.0047d11f
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x190], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x190]
call fcn.0047cb43
mov esi, esp
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp esi, esp
call fcn.0047d11f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x184]
call fcn.0047a91a
mov esi, esp
push 0
push 0
push 0xb9
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.0047d11f
push 0
push 3
push 0xd3
mov ecx, dword [ebp - 0x14]
call fcn.0047c6f7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
mov edx, dword [ecx]
mov esi, esp
mov ecx, eax
mov eax, dword [edx + 0xcc]
call eax
cmp esi, esp
call fcn.0047d11f
movzx ecx, al
sub ecx, 1
neg ecx
sbb ecx, ecx
add ecx, 1
mov esi, esp
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
cmp esi, esp
call fcn.0047d11f
mov esi, esp
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
call fcn.0047bc20
movzx ecx, al
sub ecx, 1
neg ecx
sbb ecx, ecx
add ecx, 1
push ecx
push 0xcf
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, esp
call fcn.0047d11f
mov esi, esp
push 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, esp
call fcn.0047d11f
mov esi, esp
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, esp
call fcn.0047d11f
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x18], 1
push edx
mov ecx, ebp
push eax
lea edx, [0x49e070]
call fcn.0047a8c5
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x190
cmp ebp, esp
call fcn.0047d11f
mov esp, ebp
pop ebp
ret 4