Function at 0x48a428
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4f4284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x20], 7
push esi
mov word [ebp - 0x34], ax
xor ebx, ebx
and dword [ebp - 0x24], ebx
lea eax, [ebp - 0x34]
push edi
push eax
push dword [ebp + 8]
mov dword [ebp - 0xb8], ebx
mov byte [ebp - 0xb4], bl
call fcn.0048ca13
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov edi, dword [eax + 0x6c]
mov esi, dword [eax + 0x68]
cmp esi, edi
je 0x48a4af
lea eax, [ebp - 0x34]
push eax
push ecx
push ecx
mov ecx, esp
push esi
call fcn.00415fb3
lea eax, [ebp - 0x1c]
push eax
call fcn.004448b0
add esp, 0xc
push eax
call fcn.0048ca13
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0041b1ee
add esi, 0x18
cmp esi, edi
jne 0x48a477
mov eax, dword [ebp + 8]
xor edi, edi
cmp dword [eax + 0x28], edi
je 0x48a502
push str.database
lea ecx, [ebp - 0x1c]
call fcn.00416019
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0048a048
add esp, 0xc
push eax
call fcn.0048ca13
pop ecx
pop ecx
xor esi, esi
lea ecx, [ebp - 0x4c]
push edi
inc esi
push esi
call fcn.0041b1ee
push edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.0041b199
mov eax, dword [ebp + 8]
jmp 0x48a505
xor esi, esi
inc esi
cmp dword [eax + 0x40], edi
je 0x48a551
push str.metrics_dir
lea ecx, [ebp - 0x1c]
call fcn.00416019
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0048a048
add esp, 0xc
push eax
call fcn.0048ca13
pop ecx
pop ecx
push edi
push esi
lea ecx, [ebp - 0x4c]
call fcn.0041b1ee
push edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.0041b199
mov eax, dword [ebp + 8]
cmp dword [eax + 0x58], edi
je 0x48a5ba
push 0x4de644
lea ecx, [ebp - 0x1c]
call fcn.00416019
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
push ecx
push ecx
add eax, 0x48
mov ecx, esp
push eax
call fcn.00415fb3
lea eax, [ebp - 0x64]
push eax
call fcn.004448b0
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0048a048
add esp, 0x18
push eax
call fcn.0048ca13
pop ecx
pop ecx
push edi
push esi
lea ecx, [ebp - 0x4c]
call fcn.0041b1ee
push edi
push esi
lea ecx, [ebp - 0x64]
call fcn.0041b1ee
push edi
push esi
lea ecx, [ebp - 0x1c]
call fcn.0041b199
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x60]
mov eax, dword [esi]
mov dword [ebp - 0xa4], eax
jmp 0x48a67c
push str.annotation
lea ecx, [ebp - 0x1c]
lea edi, [eax + 0x10]
call fcn.00416019
lea eax, [ebp - 0x34]
push eax
lea eax, [edi + 0x18]
push eax
push 0x3d
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00489aa0
add esp, 0xc
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00489a5e
pop ecx
mov ecx, esp
push eax
call fcn.00415fb3
lea eax, [ebp - 0x4c]
push eax
call fcn.004448b0
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0048a048
add esp, 0x18
push eax
call fcn.0048ca13
pop ecx
pop ecx
xor edi, edi
lea ecx, [ebp - 0x64]
push edi
push 1
call fcn.0041b1ee
push edi
push 1
lea ecx, [ebp - 0x4c]
call fcn.0041b1ee
push edi
push 1
lea ecx, [ebp - 0x88]
call fcn.0041b199
push edi
push 1
lea ecx, [ebp - 0xa0]
call fcn.0041b199
push edi
push 1
lea ecx, [ebp - 0x1c]
call fcn.0041b199
lea ecx, [ebp - 0xa4]
call fcn.004cabc4
mov eax, dword [ebp - 0xa4]
cmp eax, esi
jne 0x48a5ca
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0xac], esi
test esi, esi
jne 0x48a6f9
push 2
call fcn.00432780
pop ecx
test al, al
je 0x48a6e0
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x17e
push str.c:_bc_bwin_archive_src_third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea ecx, [ebp - 0x1c8]
call fcn.00431820
add eax, 0x10
push 0x4de654
push eax
call fcn.00415b8c
pop ecx
xor ebx, ebx
pop ecx
inc ebx
test bl, 1
je 0x48ab14
lea ecx, [ebp - 0x1c8]
call fcn.00431af0
jmp 0x48ab14
mov eax, 0x4f69c8
lea ecx, [ebp - 0x21c]
cdq
push edx
push eax
mov eax, 0x4f69b8
cdq
push edx
push eax
mov eax, 0x4f69a8
cdq
push edx
push eax
mov eax, dword [ebp + 8]
push esi
push dword [eax + 0x8c]
push dword [0x4f41e4]
push dword [0x4f41e0]
push dword [0x4f41dc]
call fcn.0048cc50
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0048cf4b
push eax
push str.__initial_client_data
lea ecx, [ebp - 0x64]
call fcn.00416019
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004314f0
pop ecx
mov ecx, esp
push eax
call fcn.00415fb3
lea eax, [ebp - 0xa0]
push eax
call fcn.004448b0
add esp, 0xc
push eax
call fcn.0048ca13
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0xa0]
call fcn.0041b1ee
push edi
push 1
lea ecx, [ebp - 0x88]
call fcn.0041b199
push edi
push 1
lea ecx, [ebp - 0x64]
call fcn.0041b199
push edi
push 1
lea ecx, [ebp - 0x4c]
call fcn.0041b199
push 0x48
lea eax, [ebp - 0x100]
push edi
push eax
call fcn.004a0ee0
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
add esp, 0xc
mov dword [ebp - 0xd4], 0x100
push 0xfffffffffffffff6
call edi
push 0xfffffffffffffff5
mov dword [ebp - 0xc8], eax
call edi
push 0xfffffffffffffff4
mov dword [ebp - 0xc4], eax
call edi
mov dword [ebp - 0xc0], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov ecx, dword [0x4f6e24]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xb0], eax
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x4f69f0]
mov dword [ebp - 0xb8], edi
cmp eax, dword [edi + 4]
jg 0x48ad34
mov eax, dword [0x4f69f8]
cmp eax, dword [edi + 4]
jle 0x48a847
jmp 0x48ad74
mov eax, dword [0x4f69ec]
test eax, eax
je 0x48ab64
cmp dword [0x4f69f4], ebx
je 0x48ab64
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x100], 0x48
push ecx
push 0
push 1
push 0
call eax
test eax, eax
je 0x48a8cc
push 2
call fcn.00432780
pop ecx
test al, al
je 0x48a8b3
push 2
push 0x1af
push str.c:_bc_bwin_archive_src_third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea ecx, [ebp - 0x1c0]
call fcn.00431700
add eax, 8
push str.InitializeProcThreadAttributeList__size__succeeded__expected_failure
push eax
call fcn.00415b8c
pop ecx
pop ecx
push 2
pop ebx
test bl, 2
je 0x48ab01
lea ecx, [ebp - 0x1c0]
call fcn.00431880
jmp 0x48ab01
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x48a92c
push 2
call fcn.00432780
pop ecx
test al, al
je 0x48a913
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x1b3
push str.c:_bc_bwin_archive_src_third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea ecx, [ebp - 0x1c8]
call fcn.00431820
add eax, 0x10
push str.InitializeProcThreadAttributeList__size_
push eax
call fcn.00415b8c
pop ecx
pop ecx
push 4
pop ebx
test bl, 4
je 0x48ab01
lea ecx, [ebp - 0x1c8]
call fcn.00431af0
jmp 0x48ab01
push dword [ebp - 0xa8]
call fcn.0049d9a4
mov edi, eax
lea eax, [ebp - 0xa8]
pop ecx
push eax
push 0
push 1
push edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xbc], edi
call dword [0x4f69ec]
test eax, eax
jne 0x48a9b1
push 2
call fcn.00432780
pop ecx
test al, al
je 0x48a998
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x1be
push str.c:_bc_bwin_archive_src_third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea ecx, [ebp - 0x1c8]
call fcn.00431820
add eax, 0x10
push str.InitializeProcThreadAttributeList
push eax
call fcn.00415b8c
pop ecx
pop ecx
push 8
pop ebx
test bl, 8
je 0x48aaf6
lea ecx, [ebp - 0x1c8]
call fcn.00431af0
jmp 0x48aaf6
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0048b079
push 8
lea ecx, [ebp - 0x10]
call fcn.0045d860
push 0x4f41dc
lea ecx, [ebp - 0x10]
call fcn.0045d8c0
push 0x4f41e0
lea ecx, [ebp - 0x10]
call fcn.0045d8c0
push 0x4f41e4
lea ecx, [ebp - 0x10]
call fcn.0045d8c0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
add eax, 0x8c
push eax
call fcn.0045d8c0
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x10]
call fcn.0045d8c0
push dword [ebp - 0xc8]
lea eax, [ebp - 0x10]
push eax
call fcn.00489bf3
push dword [ebp - 0xc4]
lea eax, [ebp - 0x10]
push eax
call fcn.00489bf3
push dword [ebp - 0xc0]
lea eax, [ebp - 0x10]
push eax
call fcn.00489bf3
mov eax, dword [ebp - 0xc]
add esp, 0x18
sub eax, dword [ebp - 0x10]
xor ecx, ecx
and eax, 0xfffffffc
push ecx
push ecx
push eax
push dword [ebp - 0x10]
push 0x20002
push ecx
push dword [ebp - 0xbc]
call dword [0x4f69f4]
test eax, eax
jne 0x48ab57
push 2
call fcn.00432780
pop ecx
test al, al
je 0x48aaab
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x1d8
push str.c:_bc_bwin_archive_src_third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea ecx, [ebp - 0x1c8]
call fcn.00431820
add eax, 0x10
push str.UpdateProcThreadAttribute
push eax
call fcn.00415b8c
pop ecx
pop ecx
push 0x10
pop ebx
test bl, 0x10
je 0x48aabb
lea ecx, [ebp - 0x1c8]
call fcn.00431af0
mov esi, dword [ebp - 0xac]
xor ebx, ebx
inc ebx
cmp dword [ebp - 0xb0], 0
je 0x48aaf0
mov ecx, dword [ebp - 0xb8]
mov eax, dword [0x4f69e8]
cmp eax, dword [ecx + 4]
jg 0x48adc2
push dword [ebp - 0xb0]
call dword [0x4f69e4]
mov edi, dword [ebp - 0xa4]
test edi, edi
je 0x48ab01
push edi
call fcn.0049d89c
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00495dd2
test esi, esi
je 0x48ab14
push esi
call fcn.0048bdd7
pop ecx
xor esi, esi
lea ecx, [ebp - 0x34]
push 0
inc esi
push esi
call fcn.0041b1ee
mov ebx, dword [ebp - 0xb4]
xor eax, eax
test bl, bl
mov ecx, 0x4f69c4
sete al
inc eax
xchg dword [ecx], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x48ab44
push esi
call fcn.00489b81
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d8a1
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xac]
mov edx, 0x80000
jmp 0x48ab70
xor edx, edx
mov dword [ebp - 0x100], 0x44
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
mov eax, dword [ebp + 8]
cmovae ecx, dword [ebp - 0x34]
cmp dword [eax + 0x14], 8
jb 0x48ab86
mov eax, dword [eax]
lea edi, [ebp - 0x110]
push edi
lea edi, [ebp - 0x100]
push edi
xor edi, edi
push edi
push edi
push edx
push 1
push edi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x48abfe
push 2
call fcn.00432780
pop ecx
test al, al
je 0x48abe5
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x1e9
push str.c:_bc_bwin_archive_src_third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea ecx, [ebp - 0x1c8]
call fcn.00431820
add eax, 0x10
push str.CreateProcess
push eax
call fcn.00415b8c
pop ecx
pop ecx
push 0x20
pop ebx
test bl, 0x20
je 0x48aac1
lea ecx, [ebp - 0x1c8]
call fcn.00431af0
jmp 0x48aac1
push dword [ebp - 0x10c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push 1
mov dword [ebp - 0xa8], eax
call fcn.00432780
pop ecx
test al, al
je 0x48ac56
cmp dword [ebp - 0xa8], ebx
jne 0x48ac56
call sub.KERNEL32.dll_GetLastError
push eax
push 1
push 0x1ee
push str.c:_bc_bwin_archive_src_third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea ecx, [ebp - 0x1c8]
call fcn.00431820
add eax, 0x10
push str.CloseHandle_thread
push eax
call fcn.00415b8c
pop ecx
pop ecx
push 0x40
pop ebx
test bl, 0x40
je 0x48ac69
lea ecx, [ebp - 0x1c8]
and ebx, 0xffffffbf
call fcn.00431af0
push dword [ebp - 0x110]
call edi
push 1
mov edi, eax
call fcn.00432780
pop ecx
test al, al
je 0x48acb6
test edi, edi
jne 0x48acb6
or ebx, 0x80
call sub.KERNEL32.dll_GetLastError
push eax
push 1
push 0x1f1
push str.c:_bc_bwin_archive_src_third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea ecx, [ebp - 0x1c8]
call fcn.00431820
add eax, 0x10
push str.CloseHandle_process
push eax
call fcn.00415b8c
pop ecx
pop ecx
test bl, bl
jns 0x48acc5
lea ecx, [ebp - 0x1c8]
call fcn.00431af0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xa8]
or dword [ebp - 0xa8], 0xffffffff
push eax
lea ecx, [ecx + 0x8c]
call fcn.0048b0a7
xor eax, eax
lea edi, [ebp - 0x1ec]
push 9
pop ecx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x70]
mov dword [ebp - 0x1ec], 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x1ec]
push eax
mov eax, dword [ebp + 8]
add eax, 0x74
push eax
call fcn.0048fc44
mov ecx, dword [ebp - 0xb4]
add esp, 0xc
test al, al
movzx ecx, cl
push 1
pop ebx
cmovne ecx, ebx
mov dword [ebp - 0xb4], ecx
jmp 0x48aac4
push 0x4f69f0
call fcn.0049d798
cmp dword [0x4f69f0], 0xffffffff
pop ecx
jne 0x48a835
push 0
push str.::InitializeProcThreadAttributeList
push str.kernel32.dll
call fcn.0048cc07
push 0x4f69f0
mov dword [0x4f69ec], eax
call fcn.0049d759
add esp, 0x10
jmp 0x48a835
mov edi, 0x4f69f8
push edi
call fcn.0049d798
cmp dword [0x4f69f8], 0xffffffff
pop ecx
jne 0x48a847
cmp dword [0x4f69ec], ebx
je 0x48adb0
push 0
push str.::UpdateProcThreadAttribute
push str.kernel32.dll
call fcn.0048cc07
add esp, 0xc
mov dword [0x4f69f4], eax
jmp 0x48adb6
and dword [0x4f69f4], ebx
push edi
call fcn.0049d759
pop ecx
jmp 0x48a847
mov edi, 0x4f69e8
push edi
call fcn.0049d798
cmp dword [0x4f69e8], 0xffffffff
pop ecx
jne 0x48aae4
push ebx
push str.::DeleteProcThreadAttributeList
push str.kernel32.dll
call fcn.0048cc07
push edi
mov dword [0x4f69e4], eax
call fcn.0049d759
add esp, 0x10
jmp 0x48aae4