Function at 0x476f06
Capabilities:
Create process on windows

Disassembly:
push 0x154
mov eax, 0x5b3a24
call fcn.0056beab
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0x10], esi
push 0x1d
setne al
movzx eax, al
push eax
mov edi, str.srcClientCommon_MergeWhitelist.cpp
mov dword [ebp - 0x68], ebx
call fcn.0047f667
pop ecx
pop ecx
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x70], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x476f4f
mov dword [ebp - 0x70], esi
cmp dword [ebp - 0x70], 1
jne 0x4770fe
mov ebx, 0x5c8a08
push ebx
lea esi, [ebp - 0x48]
call fcn.004037ae
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.00475e7a
pop ecx
push 0
push eax
or eax, 0xffffffff
mov byte [ebp - 4], 1
call fcn.0040eb9d
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00404589
push 0x5e1858
lea eax, [ebp - 0x48]
push eax
call fcn.0040dc78
push edi
push dword [ebp - 0x68]
or eax, 0xffffffff
lea esi, [ebp - 0x48]
call fcn.0040eb9d
push ebx
mov eax, esi
push eax
call fcn.0040dc78
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
pop esi
stosd dword es:[edi], eax
push esi
xor edi, edi
lea eax, [ebp - 0xc8]
push edi
push eax
call fcn.0055fda0
xor eax, eax
xor ebx, ebx
inc ebx
add esp, 0xc
cmp dword [ebp - 0x34], 8
mov word [ebp - 0x98], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0x9c], ebx
jae 0x476ffd
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0xc8]
push ecx
push edi
push edi
push 0x8000000
push ebx
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x477069
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea eax, [ebp - 0x160]
push eax
call fcn.00403aba
mov edi, eax
push str.CreateProcess_failed_with
push edi
mov byte [ebp - 4], 2
call fcn.0040635f
pop ecx
pop ecx
push ebx
push edi
call fcn.004109e7
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
call fcn.00403b24
mov byte [ebp - 4], 3
push esi
mov ecx, str.srcClientCommon_MergeWhitelist.cpp
lea eax, [ebp - 0x2c]
call fcn.0040277f
mov esi, dword [ebp - 0x80]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x6c]
push eax
push esi
mov dword [ebp - 0x6c], 0xff
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
mov dword [ebp - 0x68], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x68], edi
jne 0x4770ab
push str.GetExitCodeProcess_failed
lea esi, [ebp - 0x2c]
call fcn.004037ae
mov byte [ebp - 4], 4
push 0x4e
jmp 0x47705c
cmp dword [ebp - 0x6c], edi
je 0x4770ee
lea eax, [ebp - 0x160]
push eax
call fcn.00403aba
mov esi, eax
push str.Whitelist_merger_returned
push esi
mov byte [ebp - 4], 5
call fcn.0040635f
pop ecx
pop ecx
push dword [ebp - 0x6c]
push esi
call fcn.004109e7
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.00403b24
mov byte [ebp - 4], 6
push 0x52
jmp 0x47705c
push ebx
xor edi, edi
lea esi, [ebp - 0x48]
call fcn.00404589
jmp 0x4771e4
lea ecx, [ebp - 0x2c]
call fcn.00476e4b
cmp dword [eax + 0x14], 8
jb 0x47710e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x68], eax
call fcn.00404589
mov esi, dword [ebp - 0x68]
cmp esi, edi
jne 0x477172
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebp - 0x160]
push eax
call fcn.00403aba
mov esi, eax
push str.LoadLibrary_failed_with
push esi
mov dword [ebp - 4], 7
call fcn.0040635f
pop ecx
pop ecx
push edi
push esi
call fcn.004109e7
lea eax, [ebp - 0x2c]
push eax
mov eax, esi
call fcn.00403b24
mov byte [ebp - 4], 8
push 0x5b
jmp 0x47705c
mov dword [ebp - 0x6c], esi
push str.NvUpdateWhiteList
push esi
mov dword [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x68], eax
cmp eax, edi
jne 0x4771a7
push str.GetProcAddress_failed
lea esi, [ebp - 0x2c]
call fcn.004037ae
mov byte [ebp - 4], 0xa
push 0x63
jmp 0x47705c
cmp dword [ebx + 0x14], 8
jb 0x4771af
mov ebx, dword [ebx]
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.0047beff
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x4771c7
mov eax, dword [eax]
push edi
push eax
push edi
push edi
call dword [ebp - 0x68]
push edi
push 1
lea ecx, [ebp - 0x64]
call fcn.0040443a
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.0056bf2e
ret