Function at 0x462208
Capabilities:
Get file system object information
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd0
push ebx
push esi
push edi
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], eax
mov eax, 0x799344
call fcn.0074df70
cmp dword [ebp - 0x9c], 0
jne 0x462247
xor eax, eax
mov edx, dword [ebp - 0x94]
mov dword fs:[0], edx
jmp 0x462b3e
mov word [ebp - 0x84], 0xc
lea eax, [ebp - 4]
call fcn.00453790
add dword [ebp - 0x78], 2
mov word [ebp - 0x84], 0x18
mov word [ebp - 0x84], 0x24
lea eax, [ebp - 8]
call fcn.00453790
add dword [ebp - 0x78], 2
mov word [ebp - 0x84], 0x18
xor edx, edx
mov dword [ebp - 0xa0], edx
mov word [ebp - 0x84], 0x30
mov word [ebp - 0x84], 0x3c
mov edx, dword [ebp - 0x9c]
add edx, 0x10
lea eax, [ebp - 0xc]
call fcn.00453e94
add dword [ebp - 0x78], 2
lea edx, [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004537c8
mov ecx, dword [ebp - 0x98]
cmp byte [ecx + 0x742], 0
je 0x4622f0
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x98]
call fcn.0045a428
test al, al
mov word [ebp - 0x84], 0x48
mov edx, 0x793430
lea eax, [ebp - 0x10]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.0045a0dc
test eax, eax
setg cl
and ecx, 1
push ecx
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004537c8
pop ecx
test cl, cl
je 0x46242a
mov word [ebp - 0x84], 0x60
mov edx, dword [ebp - 0x9c]
add edx, 0x10
lea eax, [ebp - 0x18]
call fcn.00453e94
add dword [ebp - 0x78], 2
push dword [eax]
push dword [ebp - 0x98]
lea eax, [ebp - 0x14]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
call fcn.0045a72c
add esp, 0xc
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0x54
lea eax, [ebp - 0x14]
call fcn.00454d64
test al, al
jne 0x4623a6
lea edx, [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.0045381c
jmp 0x462410
push 0x209
push 0
lea edx, [ebp - 0x2d0]
push edx
call fcn.0074da88
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x2d0]
push ecx
lea eax, [ebp - 8]
call fcn.00453ce0
push eax
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
test eax, eax
je 0x462410
mov word [ebp - 0x84], 0x6c
lea edx, [ebp - 0x2d0]
lea eax, [ebp - 0x1c]
call fcn.004539c4
mov edx, eax
add dword [ebp - 0x78], 2
lea eax, [ebp - 8]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004537c8
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0x30
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.0045381c
mov word [ebp - 0x84], 0x78
lea eax, [ebp - 0x20]
call fcn.00453ed4
push eax
inc dword [ebp - 0x78]
mov ecx, 2
mov edx, 1
mov eax, dword [ebp - 0x9c]
call fcn.0075ca84
lea edx, [ebp - 0x20]
push edx
mov edx, 0x793432
lea eax, [ebp - 0x24]
call fcn.0075c45c
inc dword [ebp - 0x78]
lea edx, [ebp - 0x24]
pop eax
call fcn.0075c708
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0075c648
dec dword [ebp - 0x78]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0075c648
pop ecx
test cl, cl
je 0x462870
lea eax, [ebp - 8]
call fcn.00453ce0
push eax
call sub.SHLWAPI.DLL_PathGetArgsA
mov dword [ebp - 0xa4], eax
mov word [ebp - 0x84], 0x30
cmp dword [ebp - 0xa4], 0
jne 0x4624dc
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.0045381c
jmp 0x462870
lea eax, [ebp - 8]
call fcn.00453ce0
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa4]
sub edx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], edx
cmp dword [ebp - 0xac], 0
jle 0x462870
mov word [ebp - 0x84], 0x84
lea eax, [ebp - 0x28]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0xac]
mov edx, 1
call fcn.00454564
lea edx, [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0x90
lea eax, [ebp - 0x2c]
call fcn.00453790
mov edx, eax
add dword [ebp - 0x78], 2
lea eax, [ebp - 4]
call fcn.00457db8
lea edx, [ebp - 0x2c]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0x9c
lea eax, [ebp - 0x30]
call fcn.00453790
mov edx, eax
add dword [ebp - 0x78], 2
mov eax, dword [ebp - 4]
call fcn.0045bbcc
lea edx, [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0xa8
lea edx, [ebp - 4]
lea eax, [ebp - 0x34]
call fcn.004547c0
inc dword [ebp - 0x78]
mov eax, dword [eax]
call fcn.004ab478
xor edx, edx
mov dl, al
cmp edx, 1
sbb ecx, ecx
neg ecx
push ecx
dec dword [ebp - 0x78]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0075c648
pop ecx
test cl, cl
je 0x462870
mov word [ebp - 0x84], 0xc0
mov edx, str.PROGRAM
lea eax, [ebp - 0x38]
call fcn.004539c4
add dword [ebp - 0x78], 2
mov word [ebp - 0x84], 0xb4
mov byte [ebp - 0xad], 0
lea eax, [ebp - 4]
call fcn.00453fa4
mov ebx, eax
lea eax, [ebp - 0x38]
call fcn.00453fa4
cmp ebx, eax
jle 0x4626ec
mov word [ebp - 0x84], 0xd8
lea eax, [ebp - 0x40]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
lea eax, [ebp - 4]
call fcn.00453fa4
mov ebx, eax
lea eax, [ebp - 0x38]
call fcn.00453fa4
sub ebx, eax
inc ebx
push ebx
lea eax, [ebp - 0x38]
call fcn.00453fa4
mov ecx, eax
lea eax, [ebp - 4]
pop edx
call fcn.00454564
lea ecx, [ebp - 0x40]
push ecx
lea eax, [ebp - 0x3c]
call fcn.00453790
mov edx, eax
add dword [ebp - 0x78], 2
pop eax
call fcn.0045b04c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0xcc
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x3c]
call fcn.00456b5c
test al, al
je 0x4626d2
mov byte [ebp - 0xad], 1
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0xb4
mov word [ebp - 0x84], 0xe4
lea eax, [ebp - 0x44]
call fcn.00453790
mov edx, eax
add dword [ebp - 0x78], 2
lea eax, [ebp - 8]
call fcn.0045b04c
lea edx, [ebp - 0x44]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004537c8
cmp byte [ebp - 0xad], 0
je 0x462856
mov word [ebp - 0x84], 0xf0
mov edx, str.PROGRAM_FILES
lea eax, [ebp - 0x48]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0x48]
lea eax, [ebp - 4]
call fcn.0045a0dc
test eax, eax
setg cl
and ecx, 1
push ecx
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004537c8
pop ecx
test cl, cl
je 0x462856
mov word [ebp - 0x84], 0xfc
lea eax, [ebp - 0x4c]
call fcn.00453790
mov edx, eax
add dword [ebp - 0x78], 2
mov eax, dword [ebp - 4]
call fcn.0045bbcc
lea edx, [ebp - 0x4c]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0x114
mov edx, str..EXE
lea eax, [ebp - 0x50]
call fcn.004539c4
add dword [ebp - 0x78], 2
lea edx, [ebp - 0x50]
lea eax, [ebp - 4]
call fcn.0045a0dc
mov dword [ebp - 0xb4], eax
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0x108
cmp dword [ebp - 0xb4], 0
jle 0x46284d
mov word [ebp - 0x84], 0x120
lea eax, [ebp - 0x54]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
mov ecx, dword [ebp - 0xb4]
add ecx, 4
lea eax, [ebp - 4]
mov edx, 1
call fcn.00454564
lea edx, [ebp - 0x54]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0xb4
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004537c8
mov word [ebp - 0x84], 0x30
mov word [ebp - 0x84], 0x12c
lea eax, [ebp - 0x58]
call fcn.00453790
mov edx, eax
add dword [ebp - 0x78], 2
mov eax, dword [ebp - 4]
call fcn.0045bbcc
lea edx, [ebp - 0x58]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004537c8
mov ecx, dword [ebp - 0x98]
cmp byte [ecx + 0x742], 0
je 0x4628fd
mov word [ebp - 0x84], 0x138
push dword [ebp - 4]
push dword [ebp - 0x98]
lea eax, [ebp - 0x5c]
call fcn.00453790
push eax
add dword [ebp - 0x78], 2
call fcn.0046640c
add esp, 0xc
lea edx, [ebp - 0x5c]
lea eax, [ebp - 4]
call fcn.0045381c
sub dword [ebp - 0x78], 2
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004537c8
xor ecx, ecx
mov dword [ebp - 0xb8], ecx
mov word [ebp - 0x84], 0x30
mov word [ebp - 0x84], 0x144
lea eax, [ebp - 0x64]
call fcn.00453ed4
push eax
inc dword [ebp - 0x78]
lea edx, [ebp - 4]
lea eax, [ebp - 0x60]
call fcn.004547c0
inc dword [ebp - 0x78]
mov eax, dword [eax]
pop edx
call fcn.004aba24
lea ecx, [ebp - 0x64]
push ecx
lea eax, [ebp - 0x68]
call fcn.00453ed4
mov edx, eax
inc dword [ebp - 0x78]
pop eax
call fcn.0075c96c
lea edx, [ebp - 0x68]
push edx
mov edx, str..LNK
lea eax, [ebp - 0x6c]
call fcn.0075c45c
inc dword [ebp - 0x78]
lea edx, [ebp - 0x6c]
pop eax
call fcn.0075c708
push eax
dec dword [ebp - 0x78]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.0075c648
dec dword [ebp - 0x78]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0075c648
dec dword [ebp - 0x78]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.0075c648
dec dword [ebp - 0x78]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.0075c648
pop ecx
test cl, cl
je 0x462a12
mov dword [ebp - 0xbc], 0x4000
mov word [ebp - 0x84], 0x30
push dword [ebp - 0xbc]
push 0x160
lea eax, [ebp - 0x430]
push eax
push 0
lea eax, [ebp - 4]
call fcn.00453ce0
push eax
call sub.SHELL32.DLL_SHGetFileInfoA
cmp dword [ebp - 0x42c], 0
jle 0x462a36
push 1
push dword [ebp - 0x42c]
mov edx, dword [ebp - 0x98]
push dword [edx + 0x768]
call sub.COMCTL32.DLL_ImageList_GetIcon
mov dword [ebp - 0xb8], eax
jmp 0x462a36
push 0
lea eax, [ebp - 4]
call fcn.00453ce0
push eax
mov edx, dword [0x7b92ac]
push dword [edx]
call sub.SHELL32.DLL_ExtractIconA
push eax
call sub.USER32.DLL_CopyIcon
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x462ab4
mov dl, 1
mov eax, dword [0x4fb184]
call fcn.0050459c
mov dword [ebp - 0xc0], eax
mov word [ebp - 0x84], 0x30
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xc0]
call fcn.0075b2b4
xor ecx, ecx
mov dl, 1
mov eax, dword [0x517a00]
call fcn.005193cc
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x1a8]
mov edx, dword [ebp - 0xc0]
call fcn.00500124
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x764]
mov edx, dword [ebp - 0xc4]
call fcn.00495064
inc eax
mov dword [ebp - 0xa0], eax
mov word [ebp - 0x84], 0x150
lea edx, [ebp - 4]
lea eax, [ebp - 0x70]
call fcn.004547c0
inc dword [ebp - 0x78]
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x9c]
add eax, 0x94
call fcn.0075c670
dec dword [ebp - 0x78]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.0075c648
mov word [ebp - 0x84], 0x18
jmp 0x462b07
mov eax, dword [ebp - 0xa0]
push eax
sub dword [ebp - 0x78], 2
lea eax, [ebp - 8]
mov edx, 2
call fcn.004537c8
sub dword [ebp - 0x78], 2
lea eax, [ebp - 4]
mov edx, 2
call fcn.004537c8
pop eax
mov edx, dword [ebp - 0x94]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret