Function at 0x10062c00
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cb87b
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
push str.NtQueryInformationThread
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x10062c65
push str.NtQueryInformationThread__NULL
mov ecx, dword [ebp + 8]
call fcn.10018af0
mov eax, 1
jmp 0x10062f0a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x38], eax
push str.d:mycodewin_agent_toolwin_urdurdurdcommon._PreventThreadInjection.cpp:PreventThreadInjection::VerifyDLLThread__:Line_80
push 0
push 1
lea ecx, [ebp - 0xb8]
push ecx
call fcn.10009d30
mov edx, dword [eax]
mov dword [ebp - 0x74], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x70], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._tVerifyDLLThread_tTID:_d_PID:_d_threadid_lu_threadHandle:_p
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov edx, dword [ebp - 0x70]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 8], ecx
call fcn.10008d70
add esp, 0x20
cmp dword [ebp - 0x38], 0
jne 0x10062cfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x78], eax
xor eax, eax
jmp 0x10062f0a
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x34], 0
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x14]
push eax
push 4
lea ecx, [ebp - 0x18]
push ecx
push 9
mov edx, dword [ebp - 0x38]
push edx
call dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x10062d70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x60], 5
jne 0x10062d61
mov dword [ebp - 0x4c], 0
jmp 0x10062d68
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x4c]
jmp 0x10062f0a
push 0x10239c48
push 0x10239c58
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x54], eax
push 0x10239c68
push 0x10239c78
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3c], eax
push str.LoadLibraryExA
push 0x10239c88
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x48], eax
push 0x10239b94
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x54]
je 0x10062df8
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x3c]
je 0x10062df8
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x48]
je 0x10062df8
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x40]
jne 0x10062e5d
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x54]
jne 0x10062e17
push str.dwStaAddr__s_LoadLibraryA_addr
mov ecx, dword [ebp + 8]
call fcn.10018af0
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x3c]
jne 0x10062e2c
push str.dwStaAddr__s_LoadLibraryW_addr
mov ecx, dword [ebp + 8]
call fcn.10018af0
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x48]
jne 0x10062e41
push str.dwStaAddr__s_LoadLibraryExA_addr
mov ecx, dword [ebp + 8]
call fcn.10018af0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x40]
jne 0x10062e56
push str.dwStaAddr__s_LoadLibraryExW_addr
mov ecx, dword [ebp + 8]
call fcn.10018af0
xor eax, eax
jmp 0x10062f0a
mov dword [ebp - 0x44], 1
push 0x1c
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp dword [ebp - 0x24], 0x1000
jne 0x10062e94
cmp dword [ebp - 0x1c], 0x1000000
je 0x10062e94
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0xac]
push eax
call fcn.10071a60
add esp, 8
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x68]
push edx
push 0x10239cf0
lea eax, [ebp - 0x94]
push eax
call fcn.10069a60
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10018a40
lea ecx, [ebp - 0x94]
call fcn.100397d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.100397d0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 8