Function at 0x4a3e30
Capabilities:
Create thread

Disassembly:
mov eax, 0x1808
call fcn.004af740
mov eax, dword [0x4d88f0]
xor eax, esp
mov dword [esp + 0x1804], eax
mov eax, dword [esp + 0x1814]
push esi
mov esi, dword [esp + 0x1810]
mov dword [esp + 4], esi
test eax, eax
jne 0x4a3e7f
push 0x400
push 0x4c5d80
lea eax, [esp + 0x10]
push eax
push str.ExternalViewer
push 0x4c6328
call fcn.0045fc10
jmp 0x4a3e94
lea edx, [esp + 8]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4a3e85
cmp word [esp + 8], 0
jne 0x4a3eb6
xor al, al
pop esi
mov ecx, dword [esp + 0x1804]
xor ecx, esp
call fcn.004af72c
add esp, 0x1808
ret 0xc
lea edx, [esp + 0x808]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4a3ec1
push ebx
lea ecx, [esp + 0x80c]
push ecx
call fcn.0044c390
lea edx, [esp + 0xc]
push edx
call fcn.00434f20
test al, al
jne 0x4a403a
cmp word [esp + 0xc], 0x22
jne 0x4a400a
lea eax, [esp + 0xe]
push 0x22
push eax
call fcn.004b0312
add esp, 8
test eax, eax
je 0x4a403a
push ebp
push edi
push 0x4cd38c
push eax
call fcn.004b2ee8
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4a4038
movzx ecx, word [ebx]
push ecx
mov ebp, ebx
call fcn.0046f1b0
test al, al
je 0x4a3f51
lea esp, [esp]
movzx edx, word [ebp + 2]
add ebp, 2
push edx
call fcn.0046f1b0
test al, al
jne 0x4a3f40
lea edx, [esp + 0x1014]
mov eax, ebp
sub edx, ebp
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4a3f60
lea edi, [esp + 0x1014]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4a3f80
mov eax, dword [0x4c7434]
mov dword [edi], eax
lea eax, [esp + 0x814]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a3fa0
lea edi, [esp + 0x1014]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4a3fc0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4a3fc0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx esi, word [ebx]
xor ecx, ecx
mov word [ebx], cx
cmp word [esp + 0x14], 0x22
je 0x4a4013
lea edx, [esp + 0x14]
push edx
call fcn.00434f20
test al, al
jne 0x4a4013
lea eax, [ebp + 2]
mov word [ebx], si
test eax, eax
jne 0x4a3f15
jmp 0x4a4038
lea eax, [esp + 0xc]
jmp 0x4a3f13
xor eax, eax
jmp 0x4a4020
movzx ecx, word [esp + eax + 0x1014]
mov word [esp + eax + 0x814], cx
add eax, 2
test cx, cx
jne 0x4a4020
pop edi
pop ebp
mov eax, dword [esp + 8]
push 1
push eax
mov ecx, 0x5422f8
call fcn.004a1dc0
mov bl, byte [esp + 0x1818]
push 0
test bl, bl
sete cl
push 0x5422f8
movzx edx, cl
push edx
lea eax, [esp + 0x818]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
call fcn.004a2070
test al, al
jne 0x4a40af
mov eax, dword [0x542300]
cmp eax, 0xffffffff
je 0x4a4097
push eax
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov dword [0x542300], 0xffffffff
push 0x80
push 0
push 0x54431a
call fcn.004afbb0
add esp, 0xc
xor al, al
jmp 0x4a4103
test bl, bl
je 0x4a40d2
cmp dword [0x5422f8], 0
je 0x4a40d2
push 0x5422f8
push 0x10000
push 0x4a2c40
call fcn.004b09bb
jmp 0x4a40fe
mov eax, dword [0x542300]
cmp eax, 0xffffffff
je 0x4a40ed
push eax
call dword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov dword [0x542300], 0xffffffff
push 0x80
push 0
push 0x54431a
call fcn.004afbb0
add esp, 0xc
mov al, 1
mov ecx, dword [esp + 0x180c]
pop ebx
pop esi
xor ecx, esp
call fcn.004af72c
add esp, 0x1808
ret 0xc