Function at 0x49dbf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50019b
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push ebx
push esi
push edi
mov eax, dword [0x53f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x49dec2
push ebx
call fcn.0049e020
test eax, eax
je 0x49dec2
cmp dword [edi + 0x98], 0
jne 0x49dec2
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x49dc68
push esi
push dword [0x53e890]
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x49dd19
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x49dd19
push 0x507ffc
lea ecx, [ebp + 0x10]
call fcn.0043a420
lea eax, [ebp + 0x10]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x94]
push eax
call fcn.0043a620
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00441080
push 0xc
call fcn.004da9cb
add esp, 4
test eax, eax
je 0x49dcc2
mov ecx, eax
call fcn.0049c7e0
mov ebx, eax
jmp 0x49dcc4
xor ebx, ebx
push dword [ebp + 8]
lea ecx, [ebx + 4]
mov dword [ebx], esi
call fcn.0043a620
push dword [ebp + 0xc]
lea ecx, [ebx + 8]
call fcn.0043a620
lea eax, [ebp - 0x20]
mov dword [edi + 0x98], 1
push eax
push 0
push ebx
push 0x49e410
push 0
push 0
call fcn.004da73c
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0xb8]
call fcn.0048f390
push edi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 1
call fcn.0048f7e0
mov eax, dword [0x543f94]
mov ecx, 0x543f94
call dword [eax + 0x14]
xor ecx, ecx
mov word [ebp - 0x1c], cx
lea ecx, [ebp - 0x1c]
push eax
call fcn.00441120
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xb8]
call fcn.0048fa70
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call esi
xor eax, eax
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x1c], ax
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00441120
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xb8]
call fcn.0048fb70
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
call esi
push dword [ebx]
xor eax, eax
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x1c], ax
call fcn.00441120
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xb8]
call fcn.0048fbf0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
call esi
lea eax, [ebp - 0xb8]
mov ecx, 0x5443f4
push eax
push 7
call fcn.004d2aa0
lea ecx, [ebp - 0x6c]
call fcn.0048f390
push edi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.0048f7e0
push dword [0x53eb0c]
xor eax, eax
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x1c], ax
call fcn.00441120
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x6c]
call fcn.0048fa70
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1c]
push eax
call esi
xor eax, eax
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x1c], ax
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00441120
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x6c]
call fcn.0048faf0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
call esi
push dword [ebx]
xor eax, eax
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x1c], ax
call fcn.00441120
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x6c]
call fcn.0048fb70
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
call esi
lea eax, [ebp - 0x6c]
mov ecx, 0x5443f4
push eax
push 0xb
call fcn.004d2aa0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.0044db70
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 0xffffffff
call fcn.0044db70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ecx, edi
call fcn.0048cf30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc