Function at 0x10020a60
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e7cb
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x101bd92c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x41c], ecx
cmp dword [ebp + 0xc], 0
jg 0x10020aa0
xor eax, eax
jmp 0x10020e10
lea ecx, [ebp - 0x40c]
call fcn.10020e60
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x410], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 0x400], eax
lea edx, [ebp - 0x40c]
push edx
push 0x100209f0
mov eax, dword [ebp - 0x410]
push eax
call dword [sym.imp.dbghelp.dll_EnumerateLoadedModules64]
test eax, eax
jne 0x10020b22
mov dword [ebp - 0x424], 0
mov ecx, dword [ebp - 0x424]
mov dword [ebp - 0x418], ecx
jmp 0x10020bd7
cmp dword [ebp + 8], 0
jne 0x10020c07
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp - 0x400], eax
jne 0x10020b7b
push 0x2cc
push 0
lea edx, [ebp - 0x3fc]
push edx
call fcn.10098090
add esp, 0xc
mov dword [ebp - 0x3fc], 0x10007
call 0x10020b5f
pop eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x348], ebp
mov dword [ebp - 0x338], esp
xor eax, eax
jne 0x10020b3a
jmp 0x10020c05
mov ecx, dword [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea edx, [ebp - 0x3fc]
push edx
call fcn.10098090
add esp, 0xc
mov dword [ebp - 0x3fc], 0x10007
lea eax, [ebp - 0x3fc]
push eax
mov ecx, dword [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x10020c05
mov edx, dword [ebp - 0x400]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 0x418], 0
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x404], eax
jmp 0x10020df8
jmp 0x10020c17
mov ecx, 0xb3
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x3fc]
rep movsd dword es:[edi], dword [esi]
push 0x108
push 0
lea ecx, [ebp - 0x130]
push ecx
call fcn.10098090
add esp, 0xc
mov dword [ebp - 0x434], 0x14c
mov edx, dword [ebp - 0x344]
xor eax, eax
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x124], 3
mov ecx, dword [ebp - 0x348]
xor edx, edx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x104], 3
mov eax, dword [ebp - 0x338]
xor ecx, ecx
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf4], 3
mov dword [ebp - 0x414], 0
jmp 0x10020cac
mov edx, dword [ebp - 0x414]
add edx, 1
mov dword [ebp - 0x414], edx
mov eax, dword [ebp - 0x414]
cmp eax, dword [ebp + 0xc]
jge 0x10020dee
push 0
mov ecx, dword [sym.imp.dbghelp.dll_SymGetModuleBase64]
push ecx
mov edx, dword [sym.imp.dbghelp.dll_SymFunctionTableAccess64]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x400]
push edx
mov eax, dword [ebp - 0x410]
push eax
push 0x14c
call dword [sym.imp.dbghelp.dll_StackWalk64]
test eax, eax
jne 0x10020cfa
jmp 0x10020dee
mov ecx, dword [ebp - 0x110]
or ecx, dword [ebp - 0x10c]
jne 0x10020d0d
jmp 0x10020dee
mov edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x410]
push ecx
call dword [sym.imp.dbghelp.dll_SymGetModuleBase64]
mov dword [ebp - 0x42c], eax
lea edx, [ebp - 0x42c]
push edx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x40c]
call fcn.10020fc0
lea ecx, [ebp - 0x430]
push ecx
lea ecx, [ebp - 0x40c]
call fcn.10020fb0
push eax
lea ecx, [ebp - 0x420]
call fcn.10010140
movzx edx, al
test edx, edx
je 0x10020de9
lea ecx, [ebp - 0x420]
call fcn.10021010
add eax, 4
push eax
lea ecx, [ebp - 0x28]
call fcn.1000fc60
mov ecx, dword [ebp - 0x41c]
add ecx, 4
call fcn.1000c060
push eax
lea ecx, [ebp - 0x28]
call fcn.1000c060
push eax
call fcn.10122bd0
add esp, 8
test eax, eax
jne 0x10020de1
mov dword [ebp - 0x428], 1
lea ecx, [ebp - 0x28]
call fcn.100043e0
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x404], eax
jmp 0x10020df8
lea ecx, [ebp - 0x28]
call fcn.100043e0
jmp 0x10020c9d
mov dword [ebp - 0x404], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40c]
call fcn.10020e30
mov eax, dword [ebp - 0x404]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009174c
mov esp, ebp
pop ebp
ret 8