Function at 0x4a4c10
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1a0
mov eax, dword [0x5599f4]
lea esi, [ebp + 8]
lea ecx, [esp + 0x180]
xor eax, ebp
mov dword [esp + 0x198], eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], 0
mov dword [esp + 4], ecx
push ecx
push dword [esi]
call fcn.004acc54
add esp, 8
mov esi, dword [esi]
mov edi, dword [esi + 0x68]
mov ebx, dword [esi + 0x6c]
cmp edi, ebx
je 0x4a4ca8
lea esi, [esp + 0x98]
mov eax, dword [edi + 0x10]
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x4a4c79
mov ecx, dword [edi]
push eax
push ecx
push esi
call fcn.0041a9e0
add esp, 0xc
lea eax, [esp + 0x180]
push eax
push esi
call fcn.004acc54
add esp, 8
mov ecx, esi
call fcn.00401930
add edi, 0x18
cmp ebx, edi
jne 0x4a4c6c
lea eax, [ebp + 8]
mov esi, dword [eax]
cmp dword [esi + 0x28], 0
mov eax, 0xf
je 0x4a4d0d
lea ebx, [esp + 0x20]
add esi, 0x18
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov ecx, ebx
push 8
push str.database
call fcn.00401ea4
lea edi, [esp + 0x98]
mov edx, ebx
mov ecx, edi
push esi
call fcn.004a59e2
add esp, 4
lea eax, [esp + 0x180]
push eax
push edi
call fcn.004acc54
add esp, 8
mov ecx, edi
call fcn.00401930
mov ecx, ebx
call fcn.00401ae0
lea eax, [ebp + 8]
mov esi, dword [eax]
cmp dword [esi + 0x40], 0
je 0x4a4d72
lea ebx, [esp + 0x20]
add esi, 0x30
mov eax, 0xf
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov ecx, ebx
push 0xb
push str.metrics_dir
call fcn.00401ea4
lea edi, [esp + 0x98]
mov edx, ebx
mov ecx, edi
push esi
call fcn.004a59e2
add esp, 4
lea eax, [esp + 0x180]
push eax
push edi
call fcn.004acc54
add esp, 8
mov ecx, edi
call fcn.00401930
mov ecx, ebx
call fcn.00401ae0
lea eax, [ebp + 8]
mov esi, dword [eax]
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4a4dff
cmp dword [esi + 0x5c], 0xf
jbe 0x4a4d88
mov esi, dword [esi + 0x48]
jmp 0x4a4d8b
add esi, 0x48
lea ecx, [esp + 0x20]
push eax
push esi
push ecx
mov esi, ecx
call fcn.0041a9e0
add esp, 0xc
lea edi, [esp + 0x68]
mov eax, 0xf
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov ecx, edi
push 3
push 0x52a648
call fcn.00401ea4
lea ebx, [esp + 0x98]
mov edx, edi
mov ecx, ebx
push esi
call fcn.004a59e2
add esp, 4
lea eax, [esp + 0x180]
push eax
push ebx
call fcn.004acc54
add esp, 8
mov ecx, ebx
call fcn.00401930
mov ecx, edi
call fcn.00401ae0
mov ecx, esi
call fcn.00401930
lea eax, [ebp + 8]
mov esi, dword [eax]
mov eax, dword [esi + 0x60]
mov esi, 0xf
mov edi, dword [eax]
mov dword [esp], eax
cmp edi, eax
mov dword [esp + 8], edi
je 0x4a4f7a
xor eax, eax
lea ebx, [esp + 0x168]
mov dword [esp + 0x17c], esi
mov dword [esp + 0x178], eax
mov byte [esp + 0x168], al
mov ecx, ebx
mov eax, dword [edi + 0x20]
inc eax
push eax
call fcn.004033d0
mov ecx, 0xf
mov eax, dword [edi + 0x20]
cmp dword [edi + 0x24], ecx
jbe 0x4a4e54
mov edx, dword [edi + 0x10]
jmp 0x4a4e57
lea edx, [edi + 0x10]
mov ecx, ebx
push eax
push edx
call fcn.004021e0
mov ecx, ebx
push 0x3d
call fcn.0047ea36
mov ecx, 0xf
mov eax, dword [edi + 0x38]
cmp dword [edi + 0x3c], ecx
jbe 0x4a4e7b
mov edi, dword [edi + 0x28]
jmp 0x4a4e7e
add edi, 0x28
mov ecx, ebx
push eax
push edi
call fcn.004021e0
movsd xmm0, qword [eax + 0x10]
mov ecx, 0
mov edx, 0xf
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x70], xmm1
movsd qword [esp + 0x68], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov byte [eax], cl
lea ecx, [esp + 0x68]
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x7c], edx
jbe 0x4a4ecb
mov ecx, dword [esp + 0x68]
push eax
push ecx
lea edi, [esp + 0x28]
push edi
call fcn.0041a9e0
add esp, 0xc
mov esi, 0xf
xor eax, eax
lea ebx, [esp + 0x150]
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], eax
mov byte [esp + 0x150], al
mov ecx, ebx
push 0xa
push str.annotation
call fcn.00401ea4
lea edi, [esp + 0x98]
lea eax, [esp + 0x20]
mov edx, ebx
mov ecx, edi
push eax
call fcn.004a59e2
add esp, 4
lea eax, [esp + 0x180]
push eax
push edi
call fcn.004acc54
add esp, 8
mov ecx, edi
call fcn.00401930
mov ecx, ebx
call fcn.00401ae0
lea ecx, [esp + 0x20]
call fcn.00401930
lea ecx, [esp + 0x68]
call fcn.00401ae0
lea ebx, [esp + 0x168]
mov ecx, ebx
call fcn.00401ae0
lea ecx, [esp + 8]
call fcn.004c66b0
mov edi, dword [esp + 8]
xor eax, eax
cmp edi, dword [esp]
jne 0x4a4e21
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4a5046
lea ecx, [ebp + 8]
lea esi, [esp + 0x68]
xor ebx, ebx
mov edx, dword [ecx]
mov ecx, esi
push ebx
push 0x55d83c
push ebx
push 0x55d830
push ebx
push 0x55d820
push eax
push dword [edx + 0x8c]
push dword [0x55a468]
push dword [0x55a464]
push dword [0x55a460]
call fcn.004a7d06
lea edi, [esp + 0x168]
mov ecx, esi
push edi
call fcn.004a8044
lea esi, [esp + 0x150]
mov eax, 0xf
mov ecx, esi
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ebx
mov byte [esi], 0
push 0x16
push str.__initial_client_data
call fcn.00401ea4
mov ecx, dword [edi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [edi + 0x10]
mov dword [esp], ecx
mov ecx, dword [esi + 0x14]
mov ebx, ecx
sub ebx, edx
cmp eax, ebx
jbe 0x4a509d
mov ebx, dword [esp]
sub ebx, eax
cmp ebx, edx
jb 0x4a509d
cmp ecx, 0xf
lea ecx, [esp + 0x168]
cmova esi, dword [esp + 0x150]
push edx
push esi
push 0
call fcn.00404ba2
jmp 0x4a50b7
xor ebx, ebx
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4a55bd
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 0x98]
mov ecx, esi
push eax
push 2
push 0x180
push str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
call fcn.00419440
lea eax, [esp + 0xa8]
push 0x54efbd
push eax
call fcn.004015c0
add esp, 8
mov ecx, esi
call fcn.00419560
xor ebx, ebx
jmp 0x4a55bd
cmp dword [esp], 0xf
lea ecx, [esp + 0x150]
cmova edi, dword [esp + 0x168]
push eax
push edi
call fcn.004021e0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
xor ebx, ebx
mov ecx, 0xf
lea esi, [esp + 0x20]
movsd qword [esp + 0x20], xmm0
movsd qword [esp + 0x28], xmm1
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x30], xmm0
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
mov byte [eax], 0
cmp dword [esi + 0x14], ecx
mov eax, dword [esi + 0x10]
mov ecx, esi
jbe 0x4a50f9
mov ecx, dword [esp + 0x20]
lea edi, [esp + 0x98]
push eax
push ecx
push edi
call fcn.0041a9e0
add esp, 0xc
lea eax, [esp + 0x180]
push eax
push edi
call fcn.004acc54
add esp, 8
mov ecx, edi
call fcn.00401930
mov ecx, esi
call fcn.00401ae0
lea edi, [esp + 0x150]
mov ecx, edi
call fcn.00401ae0
lea ecx, [esp + 0x168]
call fcn.00401ae0
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xorps xmm0, xmm0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x4c], 0x100
push 0xfffffffffffffff6
call esi
mov dword [esp + 0x58], eax
push 0xfffffffffffffff5
call esi
mov dword [esp + 0x5c], eax
push 0xfffffffffffffff4
call esi
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [esp + 0x60], eax
mov dword [edi + 8], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [0x55d860]
mov ecx, dword [0x55c508]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x4a5697
mov eax, dword [0x55d868]
mov ecx, dword [0x55c508]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x4a56dd
mov ecx, dword [0x55d85c]
lea ebx, [esp + 0x168]
test ecx, ecx
je 0x4a5257
mov eax, dword [0x55d864]
test eax, eax
je 0x4a5257
mov dword [esp + 0x20], 0x48
xor eax, eax
push ebx
push eax
push 1
push eax
call ecx
test eax, eax
je 0x4a5447
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4a5597
lea esi, [esp + 0x98]
mov ecx, esi
push 2
push 0x1b1
push str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
call fcn.00418160
lea eax, [esp + 0xa0]
push str.InitializeProcThreadAttributeList__size__succeeded__expected_failure
push eax
call fcn.004015c0
add esp, 8
mov ecx, esi
call fcn.00417750
jmp 0x4a5597
mov dword [esp + 0x20], 0x44
xor edi, edi
xor eax, eax
cmp dword [esp + 0x194], 7
jbe 0x4a5278
mov ecx, dword [esp + 0x180]
mov dword [esp + 4], ecx
lea ecx, [ebp + 8]
mov ecx, dword [ecx]
cmp dword [ecx + 0x14], 8
jb 0x4a5285
mov ecx, dword [ecx]
lea edx, [esp + 0x20]
xor esi, esi
push ebx
push edx
push esi
push esi
push eax
push 1
push esi
push esi
push dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4a53f0
push dword [esp + 0x16c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
push 1
call fcn.004180d0
add esp, 4
test esi, esi
jne 0x4a5304
test al, al
je 0x4a5304
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 0x98]
mov ecx, esi
push eax
push 1
push 0x1f0
push str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
call fcn.00419440
lea eax, [esp + 0xa8]
push str.CloseHandle_thread
push eax
call fcn.004015c0
add esp, 8
mov ecx, esi
call fcn.00419560
push dword [esp + 0x168]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
push 1
call fcn.004180d0
add esp, 4
test esi, esi
jne 0x4a5361
test al, al
je 0x4a5361
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 0x98]
mov ecx, esi
push eax
push 1
push 0x1f3
push str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
call fcn.00419440
lea eax, [esp + 0xa8]
push str.CloseHandle_process
push eax
call fcn.004015c0
add esp, 8
mov ecx, esi
call fcn.00419560
lea eax, [ebp + 8]
mov esi, eax
lea eax, [esp + 0x98]
mov ecx, dword [esi]
mov ebx, eax
mov dword [esp + 0x98], 0xffffffff
add ecx, 0x8c
push ebx
call fcn.004a588e
xor eax, eax
lea ecx, [esp + 8]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0x98], 2
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov eax, dword [esi]
add eax, 0x74
push ecx
push ebx
push eax
call fcn.004ac87c
add esp, 0xc
mov ebx, eax
jmp 0x4a559b
xor ebx, ebx
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4a559b
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 0x98]
mov ecx, esi
push eax
push 2
push 0x1eb
push str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
call fcn.00419440
lea eax, [esp + 0xa8]
push str.CreateProcess
push eax
call fcn.004015c0
add esp, 8
mov ecx, esi
call fcn.00419560
xor ebx, ebx
jmp 0x4a559b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4a554d
push dword [esp + 0x168]
call fcn.004d4c0e
add esp, 4
mov edi, eax
mov dword [esp + 0x64], edi
push ebx
push 0
push 1
push edi
call dword [0x55d85c]
test eax, eax
je 0x4a5611
lea esi, [esp + 0x18]
mov ecx, esi
call fcn.004a5bc0
mov ecx, dword [esp + 0x158]
mov eax, dword [esp + 0x64]
sub ecx, dword [esp + 0x150]
mov dword [esi], eax
sar ecx, 2
cmp ecx, 7
ja 0x4a54b4
lea ecx, [esp + 0x150]
push 8
call fcn.004a5c3a
lea esi, [esp + 0x150]
mov ecx, esi
push 0x55a460
call fcn.004bd4b6
mov ecx, esi
push 0x55a464
call fcn.004bd4b6
mov ecx, esi
push 0x55a468
call fcn.004bd4b6
lea eax, [ebp + 8]
mov ecx, esi
mov eax, dword [eax]
add eax, 0x8c
push eax
call fcn.004bd4b6
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004bd4b6
mov edx, dword [esp + 0x58]
mov ecx, esi
call fcn.004a5b57
mov edx, dword [esp + 0x5c]
mov ecx, esi
call fcn.004a5b57
mov edx, dword [esp + 0x60]
mov ecx, esi
call fcn.004a5b57
mov eax, dword [esi]
mov ecx, dword [esi + 4]
xor edx, edx
sub ecx, eax
push edx
push edx
push ecx
push eax
push 0x20002
push edx
push dword [esp + 0x7c]
call dword [0x55d864]
test eax, eax
je 0x4a5654
mov eax, 0x80000
jmp 0x4a5263
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4a5597
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 0x98]
mov ecx, esi
push eax
push 2
push 0x1b5
push str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
call fcn.00419440
lea eax, [esp + 0xa8]
push str.InitializeProcThreadAttributeList__size_
push eax
call fcn.004015c0
add esp, 8
mov ecx, esi
call fcn.00419560
xor ebx, ebx
xor edi, edi
lea ecx, [esp + 0x18]
call fcn.004a5bc0
test edi, edi
je 0x4a55b1
push edi
call fcn.004d4c17
add esp, 4
lea ecx, [esp + 0x150]
call fcn.004be902
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a55d6
push eax
call fcn.00482bde
add esp, 4
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x180]
call fcn.00401930
xor eax, eax
lea ecx, [ebp + 8]
inc eax
cmp bl, 1
adc eax, 0
xchg dword [0x55d858], eax
call fcn.004a5948
mov ecx, dword [esp + 0x198]
xor ecx, ebp
call fcn.004d4bc8
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4a5440
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 0x98]
mov ecx, esi
push eax
push 2
push 0x1c0
push str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
call fcn.00419440
lea eax, [esp + 0xa8]
push str.InitializeProcThreadAttributeList
jmp 0x4a5430
push 2
call fcn.004180d0
add esp, 4
test al, al
je 0x4a5440
call sub.KERNEL32.dll_GetLastError
lea esi, [esp + 0x98]
mov ecx, esi
push eax
push 2
push 0x1da
push str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
call fcn.00419440
lea eax, [esp + 0xa8]
push str.UpdateProcThreadAttribute
jmp 0x4a5430
push 0x55d860
call fcn.004d51fb
add esp, 4
mov eax, dword [0x55d860]
cmp eax, 0xffffffff
jne 0x4a51b6
push 0
push str.::InitializeProcThreadAttributeList
push 0x50ff6e
call fcn.004acd28
add esp, 0xc
mov dword [0x55d85c], eax
push 0x55d860
call fcn.004d51bc
add esp, 4
jmp 0x4a51b6
push 0x55d868
call fcn.004d51fb
add esp, 4
mov eax, dword [0x55d868]
cmp eax, 0xffffffff
jne 0x4a51d7
cmp dword [0x55d85c], 0
je 0x4a5717
push 0
push str.::UpdateProcThreadAttribute
push 0x50ff6e
call fcn.004acd28
add esp, 0xc
jmp 0x4a5719
xor eax, eax
mov dword [0x55d864], eax
push 0x55d868
call fcn.004d51bc
add esp, 4
jmp 0x4a51d7