Function at 0x4208a0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
lea ebp, [esp - 0x1014]
mov eax, 0x1014
call fcn.00465640
push 0xffffffffffffffff
push 0x488820
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4bdbb0]
xor eax, ebp
mov dword [ebp + 0x1010], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x101c]
push str.ShellOpenDoc_Start_
mov esi, ecx
mov dword [ebp - 0x1c], ebx
call fcn.00427230
push 0x402
push 0
push 0x4c2420
mov dword [0x4c2418], esi
call fcn.00463850
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynW]
add esp, 0x10
push 0x200
push ebx
push 0x4c2420
call edi
push 0x4c2420
call fcn.00466417
add esp, 4
push 0x200
push ebx
push 0x4c21e8
call edi
push 0x400
xor edi, edi
lea ecx, [ebp + 0x606]
xor eax, eax
push edi
push ecx
mov word [ebp + 0x604], ax
call fcn.00463850
push 0x400
lea eax, [ebp + 0xa0a]
xor edx, edx
push edi
push eax
mov word [ebp + 0xa08], dx
call fcn.00463850
add esp, 0x14
mov ecx, esp
mov dword [ebp - 0x30], esp
push ebx
call fcn.00411f40
lea ecx, [ebp - 0x2c]
call fcn.004246d0
push 0x200
lea edx, [ebp + 0xe0e]
xor ecx, ecx
push edi
push edx
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
mov word [ebp + 0xe0c], cx
call fcn.00463850
push 0x100
lea eax, [ebp + 0xe0c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push ebx
call fcn.00465992
add esp, 0x30
cmp byte [esi + 0xacb], 1
jne 0x420a00
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str..doc
lea ecx, [ebp + 0xe0c]
push ecx
call edi
test eax, eax
je 0x4209f9
push str..docx
lea edx, [ebp + 0xe0c]
push edx
call edi
test eax, eax
jne 0x420a00
mov dword [ebp - 0x10], 1
movzx eax, byte [esi + 0xacb]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
push str.ShellOpenDoc_bDocSpecified:_d_m_ODMFileHeader.Authority.ExtVersion:_d
call fcn.00427230
push 0x3fe
xor edi, edi
lea eax, [ebp + 2]
xor edx, edx
push edi
push eax
mov word [ebp], dx
call fcn.00463850
add esp, 0x18
cmp byte [esi + 0x956], 0
je 0x420bdc
cmp dword [ebp - 0x10], edi
jne 0x420bdc
push str..docx
lea ecx, [ebp + 0xe0c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x420ab1
push str..xlsx
lea edx, [ebp + 0xe0c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x420ab1
push str..pptx
lea eax, [ebp + 0xe0c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x420ab1
push str..dwg
lea ecx, [ebp + 0xe0c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x420bae
call fcn.004271f0
test eax, eax
je 0x420bae
jmp 0x420b26
lea eax, [ebp + 0xe0c]
push eax
mov ecx, esi
call fcn.0041d5e0
test eax, eax
je 0x420bae
lea ecx, [ebp + 0xa08]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x420ae0
xor eax, eax
jmp 0x420afe
lea edi, [eax + eax]
mov eax, edi
call fcn.004644e0
mov eax, esp
push 3
push edi
lea edx, [ebp + 0xa08]
push edx
push eax
call fcn.0040f410
xor edi, edi
push eax
push str.IsCanInject_SvcHost_:_s
call fcn.00427230
add esp, 8
push str.ODMHook.dll
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp]
push ecx
mov ecx, esi
call fcn.0041b340
mov eax, dword [esi + 0x11d8]
cmp eax, edi
je 0x420b37
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11e0]
cmp eax, edi
je 0x420b77
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x11d8]
cmp eax, edi
je 0x420b64
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x11d8], edi
mov edx, dword [esi + 0x11e0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x11e0], edi
cmp dword [esi + 0x11d8], edi
jne 0x420b90
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x11d8], eax
push edi
push 4
push esi
push 0x41b2c0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0x11e0], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
push edi
call fcn.004205f0
add esp, 8
cmp eax, 0xfffffffe
je 0x420bdc
xor ecx, ecx
cmp eax, edi
sete cl
mov dword [ebp - 4], 0xffffffff
mov esi, ecx
lea ecx, [ebp - 0x2c]
call fcn.004223b0
mov eax, esi
jmp 0x4211ed
cmp ebx, edi
jne 0x420be4
xor eax, eax
jmp 0x420c0f
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x420bf7
xor eax, eax
jmp 0x420c0f
lea edi, [eax + eax]
mov eax, edi
call fcn.004644e0
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0040f410
xor edi, edi
push eax
push str.ShellOpenDoc:_pszFileName_s
call fcn.00427230
add esp, 8
lea edx, [ebp - 0x18]
push edx
push edi
lea eax, [ebp + 0x604]
push eax
lea ecx, [ebp + 0xa08]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00423850
test eax, eax
jne 0x420ea6
lea edx, [ebp + 0x604]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x420c59
xor eax, eax
jmp 0x420c77
lea edi, [eax + eax]
mov eax, edi
call fcn.004644e0
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x604]
push ecx
push eax
call fcn.0040f410
xor edi, edi
push eax
push str.ShellOpenDoc:_GetOpenAppFileEx_szCmdLine_s
call fcn.00427230
add esp, 8
cmp dword [ebp - 0x10], edi
jne 0x420e65
push str..docx
lea edx, [ebp + 0xe0c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x420cd4
push str..xlsx
lea eax, [ebp + 0xe0c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x420cd4
push str..pptx
lea ecx, [ebp + 0xe0c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x420d94
lea edx, [ebp + 0xe0c]
push edx
mov ecx, esi
call fcn.0041d5e0
test eax, eax
je 0x420d94
lea eax, [ebp + 0xa08]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x420d03
xor eax, eax
jmp 0x420d21
lea edi, [eax + eax]
mov eax, edi
call fcn.004644e0
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0xa08]
push ecx
push eax
call fcn.0040f410
xor edi, edi
push eax
push str.GetOpenAppFileEx_IsCanInject_SvcHost_:_s
call fcn.00427230
add esp, 8
push str.ODMHook.dll
lea edx, [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0041b340
mov eax, dword [esi + 0x11d8]
cmp eax, edi
je 0x420d5a
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11e0]
cmp eax, edi
je 0x420e0c
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x11d8]
cmp eax, edi
je 0x420d8b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x11d8], edi
mov ecx, dword [esi + 0x11e0]
push ecx
jmp 0x420e00
push str..dwg
lea edx, [ebp + 0xe0c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x420e43
call fcn.004271f0
test eax, eax
je 0x420e43
mov eax, dword [esi + 0x11d8]
cmp eax, edi
je 0x420dcc
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x11e0]
cmp eax, edi
je 0x420e0c
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x11d8]
cmp eax, edi
je 0x420df9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x11d8], edi
mov eax, dword [esi + 0x11e0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x11e0], edi
cmp dword [esi + 0x11d8], edi
jne 0x420e25
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x11d8], eax
push edi
push 4
push esi
push 0x41b2c0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0x11e0], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ecx, [ebp - 0x44]
call fcn.00415850
push ebx
push edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0041d9e0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.004158f0
cmp ebx, edi
jne 0x420e6d
xor eax, eax
jmp 0x420e98
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x420e80
xor eax, eax
jmp 0x420e98
lea edi, [eax + eax]
mov eax, edi
call fcn.004644e0
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0040f410
xor edi, edi
push eax
push str.ShellOpenDoc:_OpenAs_pszFileName_s
call fcn.00427230
add esp, 8
cmp dword [ebp - 0x10], edi
je 0x420f85
push 0x200
lea edx, [ebp + 0x402]
xor ecx, ecx
push edi
push edx
mov word [ebp + 0x400], cx
call fcn.00463850
push edi
push edi
push 0x100
lea eax, [ebp + 0x400]
push eax
push edi
push edi
push edi
lea ecx, [ebp + 0xa08]
push edi
push ecx
call fcn.00465992
add esp, 0x30
push str.winword
lea edx, [ebp + 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x420f85
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4c2864
call fcn.00430a90
mov esi, eax
push 0x37
lea ecx, [ebp - 0x10]
push ecx
mov ecx, 0x4c2864
mov byte [ebp - 4], 2
call fcn.00430a90
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420f59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4211dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4211dc
lea ecx, [ebp + 0xa08]
push ecx
mov ecx, esi
call fcn.0041ad90
test eax, eax
jne 0x42102b
push 1
lea edx, [ebp - 0x10]
push edx
mov ecx, 0x4c2864
call fcn.00430a90
mov esi, eax
push 0x32
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4c2864
mov byte [ebp - 4], 3
call fcn.00430a90
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420fef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421012
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0xa08]
push ecx
push 0x490bf4
call fcn.00427230
add esp, 8
jmp 0x4211dc
cmp ebx, edi
jne 0x421034
mov dword [ebp - 0x10], edi
jmp 0x421061
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x421048
mov dword [ebp - 0x10], edi
jmp 0x421061
lea edi, [eax + eax]
mov eax, edi
call fcn.004644e0
mov eax, esp
push 3
push edi
push ebx
push eax
call fcn.0040f410
mov dword [ebp - 0x10], eax
lea edx, [ebp + 0x604]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42107a
xor ebx, ebx
jmp 0x421098
lea edi, [eax + eax]
mov eax, edi
call fcn.004644e0
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x604]
push ecx
push eax
call fcn.0040f410
mov ebx, eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [ebp + 0xa08]
push edx
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x4210b3
xor eax, eax
jmp 0x4210d5
lea edi, [eax + eax]
mov eax, edi
call fcn.004644e0
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0xa08]
push ecx
push eax
call fcn.0040f410
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp - 0x10]
push edx
push ebx
push eax
push str.ShellOpenDoc:_before_OpenDoc_szDocProcess__s_szCmdLine_s_pszFileName:_s
call fcn.00427230
mov eax, dword [ebp + 0x1020]
mov ebx, dword [ebp - 0x1c]
add esp, 0x10
push 1
push eax
push ebx
lea ecx, [ebp + 0x604]
push ecx
lea edx, [ebp + 0xa08]
push edx
mov ecx, esi
call fcn.0041dc70
test eax, eax
je 0x421127
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.004223b0
mov eax, 1
jmp 0x4211ed
xor esi, esi
cmp ebx, esi
jne 0x421132
mov dword [ebp - 0x10], esi
jmp 0x42115b
push ebx
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x421142
mov dword [ebp - 0x10], esi
jmp 0x42115b
lea esi, [eax + eax]
mov eax, esi
call fcn.004644e0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.0040f410
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x604]
push eax
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x421170
xor ebx, ebx
jmp 0x42118e
lea esi, [eax + eax]
mov eax, esi
call fcn.004644e0
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x604]
push ecx
push eax
call fcn.0040f410
mov ebx, eax
lea edx, [ebp + 0xa08]
push edx
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x4211a3
xor eax, eax
jmp 0x4211bf
lea esi, [eax + eax]
mov eax, esi
call fcn.004644e0
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0xa08]
push ecx
push eax
call fcn.0040f410
mov edx, dword [ebp - 0x10]
push edx
push ebx
push eax
push str.ShellOpenDoc:_after_OpenDoc_szDocProcess__s_szCmdLine_s_pszFileName:_s
call fcn.00427230
push str.ShellOpenDoc_Finish_
call fcn.00427230
add esp, 0x14
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.004223b0
xor eax, eax
lea esp, [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1010]
xor ecx, ebp
call fcn.004644d0
add ebp, 0x1014
mov esp, ebp
pop ebp
ret 8