Function at 0x447178
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1b0
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [esp + 0x1a8], eax
call fcn.0046ec84
test al, al
jne 0x447e9f
lea ecx, [ebp + 8]
xor eax, eax
lea edx, [esp + 0x198]
mov dword [edx + 4], eax
mov dword [edx], eax
mov dword [edx + 8], eax
mov edi, dword [ecx]
mov dword [esp + 0x10], edx
push edx
push edi
call fcn.0046eca8
add esp, 8
mov esi, dword [edi + 0x3c]
mov dword [esp + 8], edi
mov edi, dword [edi + 0x40]
cmp esi, edi
je 0x447226
lea ebx, [esp + 0xe4]
movzx eax, byte [esi + 0xb]
mov ecx, esi
test al, al
jns 0x4471ea
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push eax
push ecx
push ebx
call fcn.00439410
add esp, 0xc
lea eax, [esp + 0x198]
push eax
push ebx
call fcn.0046eca8
add esp, 8
cmp byte [esp + 0xef], 0
jns 0x44721f
push dword [esp + 0xe4]
call fcn.0048ae3c
add esp, 4
add esi, 0xc
cmp esi, edi
jne 0x4471db
mov esi, dword [esp + 8]
movzx eax, byte [esi + 0x17]
test al, al
jns 0x447235
mov eax, dword [esi + 0x10]
test eax, eax
je 0x44729d
lea ebx, [esi + 0xc]
lea esi, [esp + 0x50]
mov ecx, esi
push str.database
call fcn.00412804
lea edi, [esp + 0xe4]
mov ecx, edi
mov edx, esi
push ebx
call fcn.0044895c
add esp, 4
lea eax, [esp + 0x198]
push eax
push edi
call fcn.0046eca8
add esp, 8
cmp byte [edi + 0xb], 0
jns 0x447286
push dword [esp + 0xe4]
call fcn.0048ae3c
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x447299
push dword [esp + 0x50]
call fcn.0048ae3c
add esp, 4
mov esi, dword [esp + 8]
movzx eax, byte [esi + 0x23]
test al, al
jns 0x4472a8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x447310
lea ebx, [esi + 0x18]
lea esi, [esp + 0x50]
mov ecx, esi
push str.metrics_dir
call fcn.00412804
lea edi, [esp + 0xe4]
mov ecx, edi
mov edx, esi
push ebx
call fcn.0044895c
add esp, 4
lea eax, [esp + 0x198]
push eax
push edi
call fcn.0046eca8
add esp, 8
cmp byte [edi + 0xb], 0
jns 0x4472f9
push dword [esp + 0xe4]
call fcn.0048ae3c
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x44730c
push dword [esp + 0x50]
call fcn.0048ae3c
add esp, 4
mov esi, dword [esp + 8]
movzx eax, byte [esi + 0x2f]
test al, al
js 0x44731c
mov ecx, eax
jmp 0x44731f
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x4473c2
test al, al
jns 0x447333
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
jmp 0x447336
lea ecx, [esi + 0x24]
lea ebx, [esp + 0x50]
push eax
push ecx
push ebx
call fcn.00439410
add esp, 0xc
lea esi, [esp + 0xb0]
mov ecx, esi
push 0x4c2d99
call fcn.00412804
lea edi, [esp + 0xe4]
mov ecx, edi
mov edx, esi
push ebx
call fcn.0044895c
add esp, 4
lea eax, [esp + 0x198]
push eax
push edi
call fcn.0046eca8
add esp, 8
cmp byte [edi + 0xb], 0
jns 0x447392
push dword [esp + 0xe4]
call fcn.0048ae3c
add esp, 4
cmp byte [esp + 0xbb], 0
jns 0x4473ab
push dword [esp + 0xb0]
call fcn.0048ae3c
add esp, 4
cmp byte [esp + 0x5b], 0
mov esi, dword [esp + 8]
jns 0x4473c2
push dword [esp + 0x50]
call fcn.0048ae3c
add esp, 4
mov ebx, dword [esi + 0x30]
mov dword [esp + 0xa4], ebx
lea eax, [esi + 0x34]
mov dword [esp + 0xc], eax
cmp ebx, eax
je 0x447523
lea eax, [ebx + 0x10]
push 0x3d
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004182b4
add esp, 0xc
movzx eax, byte [ebx + 0x27]
test al, al
jns 0x4473fe
mov eax, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x1c]
jmp 0x447401
add ebx, 0x1c
lea ecx, [esp + 0x30]
push eax
push ebx
call fcn.004320d0
mov ecx, dword [eax + 8]
mov dword [esp + 0xb8], ecx
movq xmm0, qword [eax]
movq qword [esp + 0xb0], xmm0
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
movzx eax, byte [esp + 0xbb]
lea ecx, [esp + 0xb0]
test al, al
jns 0x44744e
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
push eax
push ecx
lea ebx, [esp + 0x58]
push ebx
call fcn.00439410
add esp, 0xc
lea esi, [esp + 0x18c]
mov ecx, esi
push str.annotation
call fcn.00412804
lea edi, [esp + 0xe4]
mov ecx, edi
mov edx, esi
push ebx
call fcn.0044895c
add esp, 4
lea eax, [esp + 0x198]
push eax
push edi
call fcn.0046eca8
add esp, 8
cmp byte [esp + 0xef], 0
jns 0x4474ae
push dword [esp + 0xe4]
call fcn.0048ae3c
add esp, 4
cmp byte [esp + 0x197], 0
jns 0x4474c7
push dword [esp + 0x18c]
call fcn.0048ae3c
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x4474da
push dword [esp + 0x50]
call fcn.0048ae3c
add esp, 4
cmp byte [esp + 0xbb], 0
jns 0x4474f3
push dword [esp + 0xb0]
call fcn.0048ae3c
add esp, 4
cmp byte [esp + 0x3b], 0
jns 0x447506
push dword [esp + 0x30]
call fcn.0048ae3c
add esp, 4
lea ecx, [esp + 0xa4]
call fcn.004487b2
mov ebx, dword [esp + 0xa4]
cmp ebx, dword [esp + 0xc]
jne 0x4473db
mov eax, dword [esp + 8]
mov ebx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
mov dword [esp + 0xc], eax
cmp ebx, eax
je 0x44759f
lea edi, [esp + 0x50]
mov ecx, edi
push str.attachment
call fcn.00412804
lea esi, [esp + 0xe4]
mov ecx, esi
mov edx, edi
push ebx
call fcn.0044895c
add esp, 4
lea eax, [esp + 0x198]
push eax
push esi
call fcn.0046eca8
add esp, 8
cmp byte [esp + 0xef], 0
jns 0x447583
push dword [esp + 0xe4]
call fcn.0048ae3c
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x447596
push dword [esp + 0x50]
call fcn.0048ae3c
add esp, 4
add ebx, 0xc
cmp ebx, dword [esp + 0xc]
jne 0x447535
xor eax, eax
dec eax
mov dword [esp + 0x194], eax
mov dword [esp + 0x190], eax
mov dword [esp + 0x18c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x18c], 0x4be5a8
mov dword [esp + 0x190], eax
mov byte [esp + 0x194], 0
test eax, eax
je 0x44769f
pcmpeqd xmm0, xmm0
lea esi, [esp + 0xb0]
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
xor edi, edi
mov ecx, esi
push edi
push 0x4e1ce4
push edi
push 0x4e1cd8
push edi
push 0x4e1cc8
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x64]
push dword [0x4d3e2c]
push dword [0x4d3e28]
push dword [0x4d3e20]
call fcn.0046edc4
lea ebx, [esp + 0x30]
mov ecx, esi
push ebx
call fcn.0046edf4
lea esi, [esp + 0xa4]
mov ecx, esi
push str.__initial_client_data
call fcn.00412804
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x44766a
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov ecx, esi
push eax
push ebx
call fcn.004320d0
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
movq xmm0, qword [eax]
movq qword [esp + 0x50], xmm0
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
movzx eax, byte [esp + 0x5b]
test al, al
jns 0x4476ff
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
jmp 0x447703
xor edi, edi
push 2
call fcn.00410640
add esp, 4
mov ebx, 0
test al, al
je 0x447cc5
call fcn.00453230
lea esi, [esp + 0xe4]
mov ecx, esi
push eax
push 2
push 0x19a
push str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
call fcn.004533d0
lea eax, [esp + 0xec]
push 0xb
push 0x4c2db3
push eax
call fcn.00413e90
add esp, 0xc
mov ecx, esi
call fcn.00453480
xor edi, edi
xor ebx, ebx
jmp 0x447cc5
lea ecx, [esp + 0x50]
lea ebx, [esp + 0xe4]
push eax
push ecx
push ebx
call fcn.00439410
add esp, 0xc
lea eax, [esp + 0x198]
push eax
push ebx
call fcn.0046eca8
add esp, 8
cmp byte [ebx + 0xb], 0
jns 0x44773b
push dword [esp + 0xe4]
call fcn.0048ae3c
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x44774e
push dword [esp + 0x50]
call fcn.0048ae3c
add esp, 4
cmp byte [esp + 0xaf], 0
jns 0x447767
push dword [esp + 0xa4]
call fcn.0048ae3c
add esp, 4
cmp byte [esp + 0x3b], 0
jns 0x44777a
push dword [esp + 0x30]
call fcn.0048ae3c
add esp, 4
pxor xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
xor edi, edi
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], edi
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0x7c], 0x100
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff6
call esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x88], eax
push 0xfffffffffffffff5
call esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x8c], eax
push 0xfffffffffffffff4
call esi
mov esi, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edi
mov dword [esp + 0x4c], 0xffffffff
mov dword [esp + 0x44], 0x4be22c
mov dword [esp + 0x48], edi
mov byte [esp + 0x4c], 0
mov eax, dword [0x4e1d08]
mov ecx, dword [0x4d5294]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x447e08
mov eax, dword [0x4e1d10]
mov ecx, dword [0x4d5294]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x447e4d
mov ecx, dword [0x4e1d04]
test ecx, ecx
je 0x4478e1
cmp dword [0x4e1d0c], 0
je 0x4478e1
mov dword [esp + 0x50], 0x48
lea edi, [esp + 0x30]
mov dword [edi], 0xffffffff
call dword [section..00cfg]
xor eax, eax
push edi
push eax
push 1
push eax
call ecx
test eax, eax
je 0x447919
push 2
call fcn.00410640
add esp, 4
test al, al
je 0x447c7b
lea esi, [esp + 0xe4]
mov ecx, esi
push 2
push 0x1cb
push str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
call fcn.00452670
lea eax, [esp + 0xec]
push 0x44
push str.InitializeProcThreadAttributeList__size__succeeded__expected_failure
push eax
call fcn.00413e90
add esp, 0xc
mov ecx, esi
call fcn.00452a50
jmp 0x447c7b
mov dword [esp + 0x50], 0x44
mov dword [esp + 0xc], 0
xor esi, esi
mov edi, dword [esp + 8]
movzx eax, byte [edi + 0xb]
test al, al
js 0x447908
cmp al, 0xc
jb 0x447912
jmp 0x447a29
cmp dword [edi + 4], 0xc
jae 0x447a26
xor ebx, ebx
jmp 0x447a79
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x447c2f
mov dword [esp + 0x14], esi
push dword [esp + 0x30]
call fcn.0048ae73
add esp, 4
mov esi, eax
mov dword [esp + 0x94], eax
mov ecx, dword [0x4e1d04]
call dword [section..00cfg]
push edi
push 0
push 1
mov dword [esp + 0x18], esi
push esi
call ecx
test eax, eax
je 0x447d3a
mov eax, dword [esp + 8]
lea edi, [eax + 0x64]
lea esi, [esp + 0x44]
mov ecx, esi
call fcn.00448bd4
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
lea esi, [esp + 0xa4]
mov ecx, esi
push 8
call fcn.00448a7c
mov ecx, esi
push 0x4d3e20
call fcn.00417434
mov ecx, esi
push 0x4d3e28
call fcn.00417434
mov ecx, esi
push 0x4d3e2c
call fcn.00417434
mov ecx, esi
push edi
call fcn.00417434
mov ecx, esi
lea eax, [esp + 0x190]
push eax
call fcn.00417434
mov ecx, esi
mov edx, dword [esp + 0x1c]
call fcn.00448b06
mov ecx, esi
mov edx, dword [esp + 0x18]
call fcn.00448b06
mov ecx, esi
mov edi, esi
mov edx, dword [esp + 0x14]
call fcn.00448b06
mov esi, dword [esi]
mov edi, dword [edi + 4]
sub edi, esi
je 0x447dea
mov ecx, dword [0x4e1d0c]
call dword [section..00cfg]
xor eax, eax
push eax
push eax
push edi
push esi
push 0x20002
push eax
mov esi, dword [esp + 0x24]
push esi
call ecx
test eax, eax
je 0x447d91
mov esi, 0x80000
jmp 0x4478f3
mov eax, dword [edi + 4]
add eax, 0xfffffff4
lea edx, [esp + 0x30]
mov ecx, ebx
push edx
push 0xffffffffffffffff
push eax
push edi
call fcn.00433190
cmp byte [esp + 0xef], 0
jns 0x447a4d
mov ebx, dword [esp + 0xe4]
push str.rundll32.exe
push ebx
call fcn.0049ffdd
add esp, 8
test eax, eax
sete bl
cmp byte [esp + 0xef], 0
jns 0x447a79
push dword [esp + 0xe4]
call fcn.0048ae3c
add esp, 4
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
cmp byte [esp + 0x1a3], 0
jns 0x447a98
mov eax, dword [esp + 0x198]
mov dword [esp + 0x10], eax
xor eax, eax
mov ecx, 0
test bl, bl
jne 0x447aad
cmp byte [edi + 0xb], 0
mov ecx, edi
jns 0x447aad
mov ecx, dword [edi]
lea edx, [esp + 0x30]
lea edi, [esp + 0x50]
push edx
push edi
push eax
push eax
push esi
push 1
push eax
push eax
push dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x447bd7
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
push 1
call fcn.00410640
add esp, 4
test al, al
je 0x447b2d
test esi, esi
jne 0x447b2d
call fcn.00453230
lea esi, [esp + 0xe4]
mov ecx, esi
push eax
push 1
push 0x21b
push str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
call fcn.004533d0
lea eax, [esp + 0xec]
push 0x12
push str.CloseHandle_thread
push eax
call fcn.00413e90
add esp, 0xc
mov ecx, esi
call fcn.00453480
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
push 1
call fcn.00410640
add esp, 4
test al, al
mov edi, dword [esp + 8]
je 0x447b8d
test esi, esi
jne 0x447b8d
call fcn.00453230
lea esi, [esp + 0xe4]
mov ecx, esi
push eax
push 1
push 0x21e
push str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
call fcn.004533d0
lea eax, [esp + 0xec]
push 0x13
push str.CloseHandle_process
push eax
call fcn.00413e90
add esp, 0xc
mov ecx, esi
call fcn.00453480
lea ecx, [edi + 0x60]
lea esi, [esp + 0xe4]
mov dword [esi], 0xffffffff
push esi
call fcn.00448400
pxor xmm0, xmm0
movdqu xmmword [esi + 0x14], xmm0
movdqu xmmword [esi + 4], xmm0
mov dword [esi], 2
xor eax, eax
lea ecx, [esp + 0x20]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
add edi, 0x54
push ecx
push esi
push edi
call fcn.0046e434
add esp, 0xc
mov ebx, eax
jmp 0x447c27
xor ebx, ebx
push 2
call fcn.00410640
add esp, 4
test al, al
je 0x447c27
call fcn.00453230
lea esi, [esp + 0xe4]
mov ecx, esi
push eax
push 2
push 0x216
push str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
call fcn.004533d0
lea eax, [esp + 0xec]
push 0xd
push str.CreateProcess
push eax
call fcn.00413e90
add esp, 0xc
mov ecx, esi
call fcn.00453480
xor ebx, ebx
mov edi, ebx
mov esi, dword [esp + 0xc]
jmp 0x447c81
push 2
call fcn.00410640
add esp, 4
test al, al
je 0x447c7b
call fcn.00453230
lea esi, [esp + 0xe4]
mov ecx, esi
push eax
push 2
push 0x1cf
push str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
call fcn.004533d0
lea eax, [esp + 0xec]
push 0x28
push str.InitializeProcThreadAttributeList__size_
push eax
call fcn.00413e90
add esp, 0xc
mov ecx, esi
call fcn.00453480
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x44], 0x4be22c
cmp byte [esp + 0x4c], 0
jne 0x447ea5
lea ecx, [esp + 0x44]
call fcn.00448bd4
test esi, esi
je 0x447caa
push esi
call fcn.0048ae7c
add esp, 4
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x447cc5
mov dword [esp + 0xa8], eax
push eax
call fcn.0048ae3c
add esp, 4
mov dword [esp + 0x18c], 0x4be5a8
cmp byte [esp + 0x194], 0
jne 0x447ea2
mov eax, dword [esp + 0x190]
test eax, eax
je 0x447cf2
push eax
call fcn.0046ea2a
add esp, 4
cmp byte [esp + 0x1a3], 0
jns 0x447d0b
push dword [esp + 0x198]
call fcn.0048ae3c
add esp, 4
xor eax, eax
mov ecx, edi
cmp cl, 1
adc eax, 1
mov dword [0x4e1d00], eax
lea ecx, [ebp + 8]
call fcn.004488c0
mov ecx, dword [esp + 0x1a8]
xor ecx, ebp
call fcn.0048b34a
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0xc]
push 2
call fcn.00410640
add esp, 4
test al, al
je 0x447d8a
call fcn.00453230
lea esi, [esp + 0xe4]
mov ecx, esi
push eax
push 2
push 0x1da
push str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
call fcn.004533d0
lea eax, [esp + 0xec]
push 0x21
push str.InitializeProcThreadAttributeList
push eax
call fcn.00413e90
add esp, 0xc
mov ecx, esi
call fcn.00453480
mov esi, edi
jmp 0x447c7d
push 2
call fcn.00410640
add esp, 4
test al, al
je 0x447c7d
call fcn.00453230
mov edi, esi
lea esi, [esp + 0xe4]
mov ecx, esi
push eax
push 2
push 0x1f4
push str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
call fcn.004533d0
lea eax, [esp + 0xec]
push 0x19
push str.UpdateProcThreadAttribute
push eax
call fcn.00413e90
add esp, 0xc
mov ecx, esi
mov esi, edi
call fcn.00453480
jmp 0x447c7d
push str.vector___index_out_of_bounds
push str.__n___size__
push 0x5b5
push str....._buildtools_third_partylibc_trunkinclude_vector
push str._s:_d:_assertion__s_failed:__s
call fcn.00414c6c
push 0x4e1d08
call fcn.0048ae81
add esp, 4
cmp dword [0x4e1d08], 0xffffffff
jne 0x447831
push 0
push str.::InitializeProcThreadAttributeList
push str.kernel32.dll
call fcn.0046eeb0
add esp, 0xc
mov dword [0x4e1d04], eax
push 0x4e1d08
call fcn.0048aefb
add esp, 4
jmp 0x447831
push 0x4e1d10
call fcn.0048ae81
add esp, 4
cmp dword [0x4e1d10], 0xffffffff
jne 0x447852
cmp dword [0x4e1d04], 0
je 0x447e86
push 0
push str.::UpdateProcThreadAttribute
push str.kernel32.dll
call fcn.0046eeb0
add esp, 0xc
jmp 0x447e88
xor eax, eax
mov dword [0x4e1d0c], eax
push 0x4e1d10
call fcn.0048aefb
add esp, 4
jmp 0x447852
int3
int3
int3