Function at 0x40e560
Capabilities:
Create thread
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575a3f
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x27c0
call fcn.00542e40
mov eax, dword [0x5f6998]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x27a8], edi
xor ebx, ebx
mov byte [ebp - 0x2799], bl
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
lea ecx, [ebp - 0x27c8]
call fcn.0044e499
mov dword [ebp - 4], ebx
mov dword [ebp - 0x27a0], 0x4e20
push ebx
push 4
lea eax, [ebp - 0x27a0]
push eax
push 2
lea ecx, [ebp - 0x27c8]
call fcn.0044dd6e
mov dword [ebp - 0x27a0], 0x3e8
push ebx
push 4
lea ecx, [ebp - 0x27a0]
push ecx
push 4
lea ecx, [ebp - 0x27c8]
call fcn.0044dd6e
mov dword [ebp - 0x27a0], 1
push ebx
push 4
lea edx, [ebp - 0x27a0]
push edx
push 3
lea ecx, [ebp - 0x27c8]
call fcn.0044dd6e
mov dword [ebp - 0x27b4], ebx
lea eax, [ebp - 0x27c8]
mov dword [esi + 0x24], eax
mov eax, 7
mov dword [ebp - 0x2784], eax
mov dword [ebp - 0x2788], ebx
xor ecx, ecx
mov word [ebp - 0x2798], cx
mov byte [ebp - 4], 1
mov dword [ebp - 0x2768], eax
mov dword [ebp - 0x276c], ebx
xor edx, edx
mov word [ebp - 0x277c], dx
mov byte [ebp - 4], 2
mov dword [ebp - 0x2748], eax
mov dword [ebp - 0x274c], ebx
xor eax, eax
mov word [ebp - 0x275c], ax
mov byte [ebp - 4], 4
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x272c], 7
mov dword [ebp - 0x2730], ebx
xor ecx, ecx
mov word [ebp - 0x2740], cx
mov ecx, eax
lea edx, [ecx + 2]
mov dword [ebp - 0x27a0], edx
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40e6b0
sub ecx, dword [ebp - 0x27a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2740]
call fcn.004037c0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2740]
push eax
lea ecx, [ebp - 0x2798]
call fcn.004167c0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x272c], 8
jb 0x40e702
mov ecx, dword [ebp - 0x2740]
push ecx
call fcn.0043f967
add esp, 4
mov dword [ebp - 0x272c], 7
mov dword [ebp - 0x2730], ebx
xor edx, edx
mov word [ebp - 0x2740], dx
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x277c]
push eax
lea ecx, [esi + 4]
call fcn.004033b0
mov ecx, dword [ebp - 0x2760]
mov dword [esi + 0x20], ecx
lea edx, [ebp - 0x27b4]
push edx
push ebx
push esi
push 0x40e2e0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40e940
mov esi, dword [esi + 0x28]
cmp esi, ebx
je 0x40e940
mov ecx, esi
mov dword [ebp - 0x27a4], ecx
cmp dword [ebp - 0x2748], 8
mov eax, dword [ebp - 0x275c]
jae 0x40e78b
lea eax, [ebp - 0x275c]
push 0x20080000
push ebx
push ebx
push 1
push ebx
push eax
push 1
call fcn.0044f0a7
mov esi, eax
mov dword [ebp - 0x27a0], esi
push str.Accept:_audio_x_aiff__audio_basic__audio_midi__________________________audio_mpeg__audio_wav__image_jpeg__image_gif__image_jpg__image_png__________________________image_mng__image_bmp__text_plain__text_html__text_htm_r_n
lea ecx, [ebp - 0x27ac]
call fcn.00403d90
mov byte [ebp - 4], 6
push 0x10000000
lea eax, [ebp - 0x27ac]
push eax
mov ecx, esi
call fcn.0044e3e2
mov byte [ebp - 4], 7
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.0044ea26
mov dword [ebp - 4], 6
jmp 0x40e7ff
lea ecx, [ebp - 0x27b0]
push ecx
mov ecx, esi
call fcn.0044de15
cmp dword [ebp - 0x27b0], 0xc8
jne 0x40e8b4
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 0x34]
call eax
push 0x9001
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx + 0x1c]
call eax
push eax
lea ecx, [ebp - 0x2738]
call fcn.0045581c
mov byte [ebp - 4], 9
mov edx, dword [esi]
push 0x270f
lea eax, [ebp - 0x2724]
push eax
mov ecx, esi
mov edx, dword [edx + 0x38]
call edx
cmp eax, ebx
jle 0x40e893
lea ecx, [ecx]
mov byte [ebp + eax - 0x2724], bl
push eax
lea eax, [ebp - 0x2724]
push eax
lea ecx, [ebp - 0x2738]
call fcn.00454e78
mov edx, dword [esi]
push 0x270f
lea eax, [ebp - 0x2724]
push eax
mov ecx, esi
mov edx, dword [edx + 0x38]
call edx
cmp eax, ebx
jg 0x40e860
lea ecx, [ebp - 0x2738]
call fcn.004550dc
mov byte [ebp - 0x2799], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2738]
call fcn.00455271
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [eax + 0x50]
call edx
mov eax, dword [esi]
push 1
mov ecx, esi
mov edx, dword [eax + 4]
call edx
mov esi, dword [ebp - 0x27a4]
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [esi]
push 1
mov ecx, esi
mov edx, dword [eax + 4]
call edx
lea ecx, [ebp - 0x27c8]
call fcn.0044eb4c
mov ecx, edi
cmp byte [ebp - 0x2799], bl
je 0x40e920
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
call edx
mov dword [ebp - 0x27a4], eax
mov esi, dword [eax]
mov eax, dword [edi]
mov ecx, edi
mov edx, dword [eax + 0x1c]
call edx
push eax
mov ecx, dword [ebp - 0x27a4]
mov eax, dword [esi + 8]
call eax
jmp 0x40ea5f
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
call eax
test eax, eax
jne 0x40e967
mov dword [0x5fc390], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x27ac]
call fcn.00401f60
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2798]
call fcn.0040e470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c8]
call fcn.0044ebe2
xor eax, eax
jmp 0x40eaae
mov ecx, dword [ebp - 0x27b0]
add ecx, 0xffffff37
cmp ecx, 0x18e
ja 0x40ea48
push 0x2a74
push ecx
mov ecx, esp
mov dword [ebp - 0x27cc], esp
push 0xffffffffffffffff
push str.FoxitUpdater_DLL
call fcn.00567cd2
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x27a4]
push edx
mov byte [ebp - 4], 6
call fcn.00571a50
add esp, 0xc
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
cmp eax, ebx
je 0x40e9bf
add eax, 0xc
jmp 0x40e9c4
mov eax, 0x58df78
push eax
lea ecx, [ebp - 0x27a0]
call fcn.00403d90
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x27a4]
call fcn.00567cb8
lea ecx, [ebp - 0x27a8]
call fcn.00401ef0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x27b0]
push eax
mov ecx, dword [ebp - 0x27a0]
push ecx
lea edx, [ebp - 0x27a8]
push edx
call fcn.004038b0
add esp, 0xc
push ebx
lea eax, [ebp - 0x27a8]
push eax
push 0x41b
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx + 0x24]
call eax
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x27a8]
call fcn.00401f60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x27a0]
call fcn.00401f60
jmp 0x40ea5f
push ebx
push ebx
push 0x418
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx + 0x24]
call eax
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
movzx esi, byte [ebp - 0x2799]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x27ac]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ea8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2798]
call fcn.0040e470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c8]
call fcn.0044ebe2
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00542c3e
mov esp, ebp
pop ebp
ret 4