Function at 0x41e250
Capabilities:
Check os version
Prompt user for credentials

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22d8
call fcn.00546ac0
push ebx
push esi
push edi
push 0x114
lea eax, [ebp - 0x1c4]
mov dword [ebp - 4], 0
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x18], 0
mov bl, 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c4], 0x114
lea eax, [ebp - 0x1c4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x1c0], 6
jb 0x41e2d8
push 0x54c158
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 8], eax
test eax, eax
je 0x41e2d8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CredUIPromptForWindowsCredentialsW
push eax
call esi
push str.CredUnPackAuthenticationBufferW
push dword [ebp - 8]
mov dword [ebp - 4], eax
call esi
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x8c], 0x14
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [edi + 0xa4]
push 0x114
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x2d8]
push 0
push eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2d8], 0x114
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x2d4], 6
lea eax, [ebp - 0x78]
push eax
push 0xf3
jb 0x41e357
call fcn.0041d6d0
jmp 0x41e35c
call fcn.0041d760
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0xb0], 0
push str.debug.triongames.com
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0xb0]
push eax
push str.debug.triongames.com
call fcn.00403040
push str.CrashServiceServer
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.00420de0
add esp, 4
lea ecx, [ebp - 0x38]
push eax
push str.CrashServiceServer
call fcn.0040e2d0
push str.CrashDump
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.00420de0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push str.CrashDump
call fcn.0040e2d0
mov ecx, dword [edi + 0x14]
call fcn.0040f960
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0042e230
mov ecx, eax
call fcn.0040e840
mov eax, dword [ebp - 0x98]
mov esi, 0x5b3144
test eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
cmovne esi, eax
mov dword [ebp - 0x50], 0
push esi
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x58]
push eax
push esi
call fcn.00403040
mov eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x94]
add eax, eax
push eax
push dword [ebp - 0x98]
call fcn.00420bb0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x98], 0
push dword [ebp - 0x20]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
call fcn.00420bb0
push dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x30]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.00420bb0
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0xa4]
add eax, eax
mov dword [ebp - 0x30], 0
push eax
push dword [ebp - 0xa8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
call fcn.00420bb0
mov ecx, dword [edi + 0x74]
lea eax, [ebp - 0x48]
push eax
call fcn.00416b00
mov eax, dword [ebp - 0x50]
mov esi, 0x5b3144
test eax, eax
mov edx, esi
mov ecx, esi
cmovne edx, eax
mov eax, dword [ebp - 0x40]
test eax, eax
push edx
cmovne ecx, eax
lea eax, [ebp - 0x68]
push ecx
push eax
push 0xf4
call fcn.0041a800
mov eax, dword [ebp - 0x70]
add esp, 0x10
test eax, eax
mov ecx, esi
cmovne ecx, eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x80], ecx
test eax, eax
mov ecx, esi
cmovne ecx, eax
mov dword [ebp - 0x84], ecx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x41e752
cmp dword [ebp - 0x18], 0
je 0x41e752
cmp dword [edi + 0x90], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jne 0x41e5c6
mov eax, dword [ebp - 0x40]
test eax, eax
cmovne esi, eax
lea eax, [ebp - 8]
push eax
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_CredReadW]
test eax, eax
je 0x41e5c3
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x1c]
mov dword [ebp - 0xc], esi
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x10], edi
jmp 0x41e66c
mov ecx, dword [ebp - 4]
mov esi, dword [edi + 0x90]
test esi, esi
je 0x41e5ea
cmp byte [edi + 0x98], 0
je 0x41e5ea
mov edi, dword [edi + 0x94]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
jmp 0x41e66c
push 3
lea eax, [ebp - 4]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push eax
xor eax, eax
mov edx, 0x52e
cmp byte [edi + 0x8d], al
cmovne eax, edx
push eax
lea eax, [ebp - 0x8c]
push eax
call ecx
mov esi, dword [ebp - 0xc]
test eax, eax
mov dword [edi + 0x90], esi
sete bl
mov byte [edi + 0x98], 0
cmp dword [ebp - 4], 1
mov byte [edi + 0x8d], bl
sete al
mov byte [edi + 0x8e], al
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x94], eax
mov edi, eax
mov dword [ebp - 0x14], eax
push 0x800
lea eax, [ebp - 0xad8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x800
lea eax, [ebp - 0x12d8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x800
lea eax, [ebp - 0x1ad8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
test bl, bl
je 0x41e73b
lea eax, [ebp - 0x14]
mov dword [ebp - 0x90], 0x400
push eax
lea eax, [ebp - 0x12d8]
mov dword [ebp - 0x14], 0x400
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x400
push eax
lea eax, [ebp - 0x1ad8]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xad8]
push eax
push edi
push esi
push 0
call dword [ebp - 0x18]
cmp eax, 1
sete bl
test bl, bl
je 0x41e73b
lea eax, [ebp - 0xad8]
push eax
call fcn.00420e00
mov ecx, dword [ebp + 8]
add esp, 4
push eax
lea eax, [ebp - 0xad8]
push eax
call fcn.00403040
lea eax, [ebp - 0x12d8]
push eax
call fcn.00420e00
mov ecx, dword [ebp + 0xc]
add esp, 4
push eax
lea eax, [ebp - 0x12d8]
push eax
call fcn.00403040
mov eax, dword [ebp - 8]
test eax, eax
je 0x41e8b5
push eax
call dword [sym.imp.ADVAPI32.dll_CredFree]
jmp 0x41e8b5
cmp byte [edi + 0x8d], 0
je 0x41e770
mov eax, dword [ebp - 0x40]
mov ecx, esi
test eax, eax
push 0
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_CredDeleteW]
push 0x800
lea eax, [ebp - 0xad8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x800
lea eax, [ebp - 0x1ad8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x40]
add esp, 0x18
test eax, eax
mov dword [ebp - 8], 0
mov ecx, 0x52e
cmovne esi, eax
lea eax, [ebp - 8]
push 0x60040
push eax
push 0x400
lea eax, [ebp - 0x1ad8]
push eax
push 0x400
lea eax, [ebp - 0xad8]
push eax
xor eax, eax
cmp byte [edi + 0x8d], al
cmovne eax, ecx
push eax
push 0
push esi
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.credui.dll_CredUIPromptForCredentialsW]
test eax, eax
mov byte [edi + 0x98], 0
push 0x800
sete bl
cmp dword [ebp - 8], 1
push 0
sete al
mov byte [edi + 0x8d], bl
mov byte [edi + 0x8e], al
lea eax, [ebp - 0x12d8]
push eax
call sub.VCRUNTIME140.dll_memset
push 0x800
lea eax, [ebp - 0x22d8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
test bl, bl
je 0x41e8b5
push 0x400
lea eax, [ebp - 0x22d8]
push eax
push 0x400
lea eax, [ebp - 0x12d8]
push eax
lea eax, [ebp - 0xad8]
push eax
call dword [sym.imp.credui.dll_CredUIParseUserNameW]
test eax, eax
jne 0x41e877
lea eax, [ebp - 0x12d8]
push eax
call fcn.00420e00
add esp, 4
push eax
lea eax, [ebp - 0x12d8]
jmp 0x41e88d
lea eax, [ebp - 0xad8]
push eax
call fcn.00420e00
add esp, 4
push eax
lea eax, [ebp - 0xad8]
mov ecx, dword [ebp + 8]
push eax
call fcn.00403040
lea eax, [ebp - 0x1ad8]
push eax
call fcn.00420e00
mov ecx, dword [ebp + 0xc]
add esp, 4
push eax
lea eax, [ebp - 0x1ad8]
push eax
call fcn.00403040
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x3c]
add eax, eax
push eax
push dword [ebp - 0x40]
call fcn.00420bb0
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x4c]
add eax, eax
mov dword [ebp - 0x40], 0
push eax
push dword [ebp - 0x50]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.00420bb0
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x5c]
add eax, eax
mov dword [ebp - 0x50], 0
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
call fcn.00420bb0
mov ecx, dword [ebp - 0x74]
add ecx, ecx
mov dword [ebp - 0x60], 0
push ecx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
call fcn.00420bb0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8