Function at 0x20007190
Capabilities:
Create thread

Disassembly:
sub esp, 0x560
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x175]
mov byte [esp + 0x174], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x279]
mov byte [esp + 0x278], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x574]
push 0x104
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x30]
mov dword [esp + 0x1c], 0x104
push eax
push ecx
mov byte [esp + 0x1f], 0
call dword [0x2001a18c]
lea edx, [esp + 0x174]
push 0x104
lea eax, [esp + 0x30]
push edx
push eax
call fcn.2000f570
mov edi, dword [0x2001a2b0]
add esp, 0xc
lea ecx, [esp + 0x174]
lea edx, [esp + 0x2c]
push ecx
push edx
call edi
lea eax, [esp + 0x2c]
push eax
call fcn.2000f250
mov esi, dword [0x2001a33c]
add esp, 4
test al, al
jne 0x20007274
lea ecx, [esp + 0x2c]
push 0x20
push ecx
call esi
add esp, 8
test eax, eax
je 0x20007274
lea edx, [esp + 0x2c]
mov byte [eax], 0
push edx
call fcn.2000f250
add esp, 4
test al, al
je 0x20007250
lea eax, [esp + 0x2c]
push eax
call fcn.2000f250
add esp, 4
test al, al
jne 0x20007292
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x560
ret 8
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x278]
push ecx
push edx
call edi
lea eax, [esp + 0x2c]
push 0x2e
push eax
lea ebp, [esp + 0x34]
call esi
add esp, 8
test eax, eax
je 0x200073b6
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push 0
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x200073b6
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileTime]
lea edx, [esp + 0x18]
lea eax, [esp + 0x2c]
push edx
push eax
push 0
push ecx
call esi
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push edx
call ebp
mov ecx, 0x7d
xor eax, eax
lea edi, [esp + 0x37c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x37c]
push eax
push 0x200235a0
push ecx
call dword [0x2001a4dc]
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x37c]
push edx
push 0xf003f
push 0
push eax
push 0x80000000
call ebx
test eax, eax
je 0x2000735a
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x560
ret 8
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x104
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call ebp
mov ebx, dword [0x2001a350]
lea edx, [esp + 0x2c]
push 0x2002359c
push edx
call ebx
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x200073bc
lea eax, [esp + 0x2c]
push 0x200234d8
push eax
call ebx
add esp, 8
mov ebp, eax
jmp 0x200073bc
mov ebx, dword [0x2001a350]
mov ecx, dword [esp + 0x574]
push str.wwrptNLy
push ecx
call ebx
add esp, 8
test eax, eax
je 0x20007432
mov edi, 0x2002349c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x174]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x174]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x20024150
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebp, ebp
jne 0x20007459
mov esi, dword [0x2001a2b8]
lea eax, [esp + 0x2c]
push 0x2002349c
push eax
call esi
lea ecx, [esp + 0x174]
lea edx, [esp + 0x2c]
push ecx
push edx
call esi
jmp 0x20007468
lea eax, [esp + 0x174]
push eax
push ebp
call dword [0x2001a2b0]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x134]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x578]
mov dword [esp + 0x130], 0x44
test eax, eax
je 0x2000749b
mov dword [esp + 0x138], 0x200234a8
jmp 0x200074a6
mov dword [esp + 0x15c], 1
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x130]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x48]
push 0
push eax
push 0
call dword [0x2001a2f0]
test eax, eax
je 0x200074e9
mov ecx, dword [esp + 0x20]
mov esi, dword [0x2001a304]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x574]
push str._NQM_
push eax
call ebx
add esp, 8
test eax, eax
je 0x20007511
push 4
lea ecx, [esp + 0x27c]
push 0
push ecx
call dword [0x2001a1ec]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x560
ret 8