Function at 0x140031e80
Capabilities:
Resume thread

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
movzx r13d, cl
lea rax, [0x1400eb208]
mov qword [r11 - 0x68], rax
lea rax, [0x140131500]
mov qword [r11 - 0x60], rax
lea rcx, [0x140131508]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r14d, r14d
mov dword [rsp + 0x80], r14d
mov rax, qword [0x14013c2f0]
mov rdi, qword [rax]
mov qword [rsp + 0x40], rdi
lea r15, [0x14013c2e8]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], r14
movzx ebx, byte [rsp + 0xe8]
nop
nop
nop
mov rax, qword [0x14013c2f0]
cmp rdi, rax
je 0x1400324d9
mov rbp, qword [rdi + 0x40]
cmp rdi, rax
jne 0x140031f3e
call fcn.14009d0b0
cmp rdi, qword [0x14013c2f0]
jne 0x140031f4c
call fcn.14009d0b0
test rbp, rbp
je 0x140032032
xor edx, edx
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140031fdd
cmp eax, 0x80
je 0x140031fbd
cmp eax, 0x102
je 0x140031fa2
cmp eax, 0xffffffff
jne 0x140031fa2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, str.WaitForSingleObject_GetLastError:__u_
mov r8d, 0x13b
lea rdx, str..UIThreadManager.cpp
mov ecx, 5
call fcn.1400580a0
jmp 0x140031ffb
test r13b, r13b
je 0x1400323d2
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x108]
jmp 0x1400323d2
lea r9, str.Event_object_should_not_enter_WAIT_ABANDONED
mov r8d, 0x130
lea rdx, str..UIThreadManager.cpp
mov ecx, 8
call fcn.1400580a0
jmp 0x140031ffb
lea r9, str.Event_object_is_signaled.
mov r8d, 0x141
lea rdx, str..UIThreadManager.cpp
mov ecx, 8
call fcn.1400580a0
cmp rdi, qword [0x14013c2f0]
jne 0x140032009
call fcn.14009d0b0
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x14003201d
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.WS2_32.dll_htonl]
cmp rdi, qword [0x14013c2f0]
jne 0x14003202b
call fcn.14009d0b0
mov qword [rdi + 0x40], r14
mov rbp, r14
cmp qword [rdi + 0x110], 0
je 0x140032172
mov rcx, qword [rdi + 0x108]
mov rax, qword [rdi + 0x110]
lea rsi, [rcx + rax]
cmp rcx, rsi
jbe 0x14003205c
call fcn.14009d0b0
mov rdx, qword [rdi + 0x108]
add rsi, 0xffffffffffffffff
mov rax, qword [rdi + 0x110]
lea rcx, [rdx + rax]
cmp rsi, rcx
ja 0x14003207c
cmp rsi, rdx
jae 0x140032081
call fcn.14009d0b0
mov rax, qword [rdi + 0x110]
add rax, qword [rdi + 0x108]
cmp rsi, rax
jb 0x140032099
call fcn.14009d0b0
mov rax, qword [rdi + 0x100]
cmp rax, rsi
ja 0x1400320a8
sub rsi, rax
mov rax, qword [rdi + 0xf8]
mov rcx, qword [rax + rsi*8]
cmp byte [rcx + 0x28], 0
je 0x140032172
mov rcx, qword [rdi + 0x110]
test rcx, rcx
je 0x140032122
mov rax, qword [rdi + 0x108]
lea rsi, [rcx + rax - 1]
mov rax, qword [rdi + 0x100]
cmp rax, rsi
ja 0x1400320e4
sub rsi, rax
mov rax, qword [rdi + 0xf8]
mov rsi, qword [rax + rsi*8]
cmp qword [rsi + 0x20], 8
jb 0x1400320ff
mov rcx, qword [rsi + 8]
call fcn.14006b8a0
mov qword [rsi + 0x20], 7
mov qword [rsi + 0x18], r14
mov word [rsi + 8], 0
add qword [rdi + 0x110], 0xffffffffffffffff
jne 0x140032122
mov qword [rdi + 0x108], r14
cmp rdi, qword [0x14013c2f0]
jne 0x140032130
call fcn.14009d0b0
cmp qword [rdi + 0x38], 8
jb 0x14003213d
mov rax, qword [rdi + 0x20]
jmp 0x140032141
lea rax, [rdi + 0x20]
mov qword [rsp + 0x20], rax
lea r9, str.discard_a_command_from_queue._thread:__s_
mov r8d, 0x17a
lea rdx, str..UIThreadManager.cpp
mov ecx, 8
call fcn.1400580a0
cmp qword [rdi + 0x110], 0
jne 0x140032040
test rbp, rbp
jne 0x1400323d2
mov rsi, qword [rdi + 0x110]
test rsi, rsi
jne 0x1400322f2
cmp rdi, qword [0x14013c2f0]
jne 0x140032199
call fcn.14009d0b0
cmp qword [rdi + 0x38], 8
jb 0x1400321a6
mov rax, qword [rdi + 0x20]
jmp 0x1400321aa
lea rax, [rdi + 0x20]
mov qword [rsp + 0x20], rax
lea r9, str.remove_from_thread_map._thread:__s_
mov r8d, 0x183
lea rdx, str..UIThreadManager.cpp
mov ecx, 8
call fcn.1400580a0
mov r12, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
test rsi, rsi
je 0x140032234
mov rcx, r12
sub rcx, rsi
sar rcx, 4
mov rax, qword [rsp + 0xa0]
sub rax, rsi
sar rax, 4
cmp rcx, rax
jae 0x140032234
xor eax, eax
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], bl
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x38]
lea edx, [rax + 1]
mov rcx, r12
call fcn.140036be0
lea r11, [r12 + 0x10]
mov qword [rsp + 0x98], r11
jmp 0x140032461
mov rbp, r12
cmp rsi, r12
jbe 0x140032251
call fcn.14009d0b0
mov r12, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbp
test rsi, rsi
je 0x140032287
mov rax, r12
sub rax, rsi
sar rax, 4
je 0x140032287
cmp rsi, r12
jbe 0x14003227e
call fcn.14009d0b0
sub rbp, rsi
sar rbp, 4
jmp 0x14003228a
mov rbp, r14
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea r9, [rsp + 0x38]
mov r8d, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x88]
call fcn.1400353c0
mov rsi, qword [rsp + 0x90]
cmp rsi, qword [rsp + 0x98]
jbe 0x1400322c9
call fcn.14009d0b0
add rbp, rbp
lea rax, [rsi + rbp*8]
cmp rax, qword [rsp + 0x98]
ja 0x1400322e8
cmp rax, qword [rsp + 0x90]
jae 0x140032461
call fcn.14009d0b0
jmp 0x140032461
cmp rdi, qword [0x14013c2f0]
jne 0x140032300
call fcn.14009d0b0
cmp qword [rdi + 0x38], 8
jb 0x14003230d
mov rax, qword [rdi + 0x20]
jmp 0x140032311
lea rax, [rdi + 0x20]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea r9, str.create_thread._thread:__s__queued:__u_
mov r8d, 0x18a
lea rdx, str..UIThreadManager.cpp
mov ecx, 8
call fcn.1400580a0
mov qword [rsp + 0x20], r14
mov r9d, 4
xor r8d, r8d
xor edx, edx
lea rcx, str.CTmInternetExplorerUIThread
call fcn.140085070
mov rsi, rax
test rax, rax
jne 0x14003237e
lea r9, str.create_UI_thread_object_failed._out_of_memory.
mov r8d, 0x190
lea rdx, str..UIThreadManager.cpp
lea ecx, [rax + 5]
call fcn.1400580a0
jmp 0x140032461
cmp rdi, qword [0x14013c2f0]
jne 0x14003238c
call fcn.14009d0b0
mov qword [rdi + 0x40], rsi
mov dword [rsi + 0x50], r14d
cmp rdi, qword [0x14013c2f0]
jne 0x1400323a2
call fcn.14009d0b0
mov rax, qword [rsi]
lea rdx, [rdi + 0x18]
mov rcx, rsi
call qword [rax + 0x110]
mov r11, qword [rsi]
lea rdx, [rdi + 0x48]
mov rcx, rsi
call qword [r11 + 0x120]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x140032461
mov rcx, qword [rdi + 0x110]
test rcx, rcx
je 0x140032461
mov rax, qword [rdi + 0x108]
lea rsi, [rax + rcx]
cmp rax, rsi
jbe 0x1400323f7
call fcn.14009d0b0
mov rdx, qword [rdi + 0x108]
add rsi, 0xffffffffffffffff
mov rax, qword [rdi + 0x110]
lea rcx, [rdx + rax]
cmp rsi, rcx
ja 0x140032417
cmp rsi, rdx
jae 0x14003241c
call fcn.14009d0b0
mov rax, qword [rdi + 0x110]
add rax, qword [rdi + 0x108]
cmp rsi, rax
jb 0x140032434
call fcn.14009d0b0
mov rax, qword [rdi + 0x100]
cmp rax, rsi
ja 0x140032443
sub rsi, rax
mov rax, qword [rdi + 0xf8]
mov rdx, qword [rax + rsi*8]
cmp byte [rdx + 0x29], 0
je 0x140032461
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x100]
cmp byte [rdi + 0x119], 0
je 0x140032474
call fcn.14009d0b0
jmp 0x140031f20
mov rax, qword [rdi + 0x10]
cmp byte [rax + 0x119], 0
jne 0x1400324a9
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x119], 0
jne 0x14003249f
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x119], 0
je 0x140032490
mov qword [rsp + 0x40], rdi
jmp 0x140031f20
mov rax, qword [rdi + 8]
cmp byte [rax + 0x119], 0
jne 0x1400324cc
cmp rdi, qword [rax + 0x10]
jne 0x1400324cc
mov rdi, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x119], 0
je 0x1400324b6
mov rdi, rax
mov qword [rsp + 0x40], rax
jmp 0x140031f20
mov rsi, qword [rsp + 0x90]
cmp rsi, qword [rsp + 0x98]
jbe 0x1400324f0
call fcn.14009d0b0
mov rbx, qword [rsp + 0x98]
cmp qword [rsp + 0x90], rbx
jbe 0x140032507
call fcn.14009d0b0
cmp rsi, rbx
je 0x140032555
cmp rsi, qword [rsp + 0x98]
jb 0x14003251b
call fcn.14009d0b0
lea rcx, [rsp + 0x60]
mov rax, qword [rsi]
mov qword [rcx], rax
mov rax, qword [rsi + 8]
mov qword [rcx + 8], rax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.140033430
cmp rsi, qword [rsp + 0x98]
jb 0x14003254f
call fcn.14009d0b0
add rsi, 0x10
jmp 0x1400324f0
cmp qword [0x14013c2f8], 0
jne 0x1400325ad
cmp byte [0x14013bfb1], 0
je 0x1400325ad
mov byte [0x14013bfb0], 1
mov rsi, qword [rsp + 0x90]
test rsi, rsi
je 0x140032584
mov rcx, rsi
call fcn.14006b8a0
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], r14
lea rcx, [0x140131508]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x1400325e9
mov rsi, qword [rsp + 0x90]
test rsi, rsi
je 0x1400325c2
mov rcx, rsi
call fcn.14006b8a0
mov qword [rsp + 0x90], r14
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], r14
lea rcx, [0x140131508]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret