Function at 0x401b10
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x44
mov eax, dword [0x4f414c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, dword [esp + 0x54]
lea eax, [esp + 0x1c]
push esi
push edi
push eax
mov ecx, 0x4f5f28
mov dword [esp + 0x28], 0x4cb5d4
mov dword [esp + 0x2c], 0x4015e0
mov dword [esp + 0x4c], eax
call fcn.00401440
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x401b62
mov edx, dword [ecx]
lea eax, [esp + 0x24]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
push 0x20
call fcn.00499641
add esp, 4
test eax, eax
je 0x401b79
mov ecx, eax
call fcn.0040f430
jmp 0x401b7b
xor eax, eax
mov ecx, dword [0x4f5e50]
mov dword [0x4f5e50], eax
test ecx, ecx
je 0x401b90
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x104
push 0x4f5c48
push str._LOCALAPPDATA_Epic_GamesEpic_Online_ServicesBootstrapperLogsEOSBootstrapper.log
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [0x4f5e50]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, eax
xor eax, eax
push eax
push 0x4cb554
mov ecx, dword [esi]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
mov edi, dword [ecx + 0x28]
lea ecx, [esp + 0x2c]
call fcn.004019a0
mov ecx, 0x4f5c48
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401be5
sub ecx, edx
mov dword [esp + 0x1c], 0
sar ecx, 1
xor eax, eax
push ecx
push 0x4f5c48
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
call fcn.004019a0
push 0
push 0
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
lea eax, [esp + 0x18]
push eax
call edi
mov edx, dword [esp + 0x20]
cmp edx, 8
jb 0x401c68
mov ecx, dword [esp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401c5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401e55
push edx
push ecx
call fcn.00499671
add esp, 8
mov edx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
cmp edx, 8
jb 0x401cbb
mov ecx, dword [esp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401cb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401e55
push edx
push ecx
call fcn.00499671
add esp, 8
mov ecx, dword [0x4f5e50]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
xor eax, eax
mov ecx, dword [esi]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 7
mov word [esp + 0x24], ax
mov edi, dword [ecx + 8]
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401cf0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esp + 0x2c]
call fcn.004019a0
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call edi
mov edx, dword [esp + 0x38]
cmp edx, 8
jb 0x401d4f
mov ecx, dword [esp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401d45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401e5a
push edx
push ecx
call fcn.00499671
add esp, 8
mov esi, dword [0x4f5e50]
lea ecx, [esp + 0x24]
push 0x19
push 0x4cb558
mov eax, dword [esi]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 7
mov edi, dword [eax + 0x34]
xor eax, eax
mov word [esp + 0x2c], ax
call fcn.004019a0
push 0x21
xor eax, eax
mov dword [esp + 0x20], 0
push 0x4cb590
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
call fcn.004019a0
lea eax, [esp + 0x24]
mov ecx, esi
push eax
lea eax, [esp + 0x10]
push eax
call edi
mov edx, dword [esp + 0x20]
mov esi, eax
cmp edx, 8
jb 0x401df0
mov ecx, dword [esp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401de6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401e5f
push edx
push ecx
call fcn.00499671
add esp, 8
mov edx, dword [esp + 0x38]
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
cmp edx, 8
jb 0x401e3f
mov ecx, dword [esp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401e35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401e5f
push edx
push ecx
call fcn.00499671
add esp, 8
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004998de
add esp, 0x44
ret 0x10
call fcn.0049e61f
call fcn.0049e61f
call fcn.0049e61f
int3