Function at 0x417cb0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x63dbe8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6f7654]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, edx
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x84], ecx
lea ecx, [esp + 0x20]
mov dword [ebp + 0x6c], eax
call fcn.0041c210
push eax
lea ecx, [ebp + 0x60]
mov dword [esp + 0x34], 0
call fcn.004016e0
or ebx, 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebx
call fcn.004016c0
lea edx, [esp + 0x20]
push edx
call fcn.0041c310
add esp, 4
lea esi, [ebp + 0x68]
push eax
mov ecx, esi
mov dword [esp + 0x34], 1
call fcn.004016e0
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebx
call fcn.004016c0
test edi, edi
je 0x417d6d
push edi
lea ecx, [esp + 0x24]
call fcn.00401640
push eax
lea ecx, [ebp + 0x74]
mov dword [esp + 0x34], 2
call fcn.004016e0
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebx
call fcn.004016c0
push esi
lea ecx, [esp + 0x3c]
call fcn.00401620
push 0x5c
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], 3
call fcn.00401720
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.00401a90
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.004196d0
lea edx, [esp + 0x38]
lea esi, [ebp + 0x78]
push edx
mov ecx, esi
call fcn.004016e0
call fcn.00401ab0
push eax
lea ecx, [esp + 0x1c]
call fcn.00401930
push str.CrashSender.exe
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
call fcn.00401700
lea edi, [esp + 0x20]
call fcn.00419920
mov edi, eax
mov ecx, edi
call fcn.00401a90
cmp eax, 1
jne 0x417e0d
mov ecx, edi
call fcn.00401a90
test eax, eax
jge 0x417dfe
push 0x80070057
call fcn.00401030
mov eax, dword [edi]
movzx eax, word [eax]
cmp ax, 0x5c
jne 0x417e0d
xor bl, bl
jmp 0x417e0f
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.004016c0
test bl, bl
je 0x417e21
call fcn.00419660
lea ecx, [esp + 0x20]
push esi
push ecx
lea ecx, [esp + 0x20]
call fcn.00419970
add esp, 8
push 0
push 0
push 3
push 0
push 1
push 0x120089
mov ecx, eax
call fcn.0043f970
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.004016c0
cmp edi, 0xffffffff
jne 0x417e69
mov ecx, esi
call fcn.00401e50
jmp 0x417e70
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
call fcn.00401a90
push eax
lea ecx, [esp + 0x1c]
call fcn.0043f970
push eax
push esi
call fcn.0041b890
lea edx, [esp + 0x38]
lea esi, [ebp + 0x7c]
push edx
mov ecx, esi
call fcn.004016e0
lea eax, [esp + 0x14]
push eax
call fcn.004195f0
lea edi, [esp + 0x20]
mov byte [esp + 0x30], 5
call fcn.00419920
mov edi, eax
mov ecx, edi
call fcn.00401a90
cmp eax, 1
jne 0x417ee3
mov ecx, edi
call fcn.00401a90
test eax, eax
jge 0x417ed4
push 0x80070057
call fcn.00401030
mov ecx, dword [edi]
movzx eax, word [ecx]
cmp ax, 0x5c
jne 0x417ee3
xor bl, bl
jmp 0x417ee5
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.004016c0
test bl, bl
je 0x417ef7
call fcn.00419660
lea edx, [esp + 0x24]
push esi
push edx
lea ecx, [esp + 0x1c]
call fcn.00419970
add esp, 8
mov ecx, eax
call fcn.0043f970
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call ebx
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.004016c0
test edi, edi
jne 0x417f4a
push 0x6bd56c
mov ecx, esi
call fcn.00401700
lea ecx, [esp + 0x14]
call fcn.0043f970
push eax
call ebx
mov edi, eax
test edi, edi
je 0x417fd1
lea ecx, [esp + 0x14]
call fcn.00401a90
push eax
lea ecx, [esp + 0x18]
call fcn.0043f970
push eax
push esi
call fcn.0041b890
test edi, edi
je 0x417f6f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esi, [ebp + 0x64]
push esi
call fcn.0041c3c0
add esp, 4
test eax, eax
jne 0x417fd1
call fcn.00401ab0
push eax
lea ecx, [esp + 0x20]
call fcn.00401930
mov byte [esp + 0x30], 6
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x20]
push str.LocalCrashRptEvent__s
push ecx
call fcn.004021e0
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.0043f970
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp + 0xc0], eax
test eax, eax
jne 0x417ff6
lea ecx, [esp + 0x1c]
call fcn.004016c0
lea ecx, [esp + 0x14]
call fcn.004016c0
lea ecx, [esp + 0x18]
call fcn.004016c0
lea ecx, [esp + 0x38]
call fcn.004016c0
mov eax, 1
jmp 0x4180df
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0
push 0
push str.TEMP
call ebx
xor esi, esi
cmp eax, esi
je 0x41803b
lea edi, [eax + eax]
push edi
call fcn.005ed06c
add esp, 4
push edi
mov esi, eax
push esi
push str.TEMP
call ebx
push esi
lea ecx, [ebp + 0x80]
call fcn.00401700
push esi
call fcn.005ecf8f
add esp, 4
xor esi, esi
push ecx
lea edx, [ebp + 0x80]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00401620
call fcn.0041c4a0
add esp, 4
cmp eax, esi
je 0x417fc8
mov edi, dword [esp + 0x3c]
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x20], esi
mov eax, edi
mov esi, ebp
call fcn.00418810
test eax, eax
jne 0x417fc8
mov ecx, edi
mov edx, ebp
call fcn.004188e0
test eax, eax
jne 0x417fc8
lea ecx, [ebp + 0xc8]
mov edx, ebp
mov dword [0x6ffd78], ebp
call fcn.00418100
lea ecx, [esp + 0x1c]
mov dword [ebp + 0x100], eax
mov dword [ebp + 0x5c], 1
call fcn.004016c0
lea ecx, [esp + 0x14]
call fcn.004016c0
lea ecx, [esp + 0x18]
call fcn.004016c0
lea ecx, [esp + 0x38]
call fcn.004016c0
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8