Function at 0x4029f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x430040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x14], 0x42843719
mov eax, 0xdb4c
mov word [ebp - 0x10], ax
mov ecx, 0x46c2
mov word [ebp - 0xe], cx
mov byte [ebp - 0xc], 0x8e
mov byte [ebp - 0xb], 0x7c
mov byte [ebp - 0xa], 0x64
mov byte [ebp - 9], 0xf1
mov byte [ebp - 8], 0x81
mov byte [ebp - 7], 0x6e
mov byte [ebp - 6], 0xfd
mov byte [ebp - 5], 0x5b
mov dword [ebp - 0x24], 0x177f0c4a
mov edx, 0x1cd3
mov word [ebp - 0x20], dx
mov eax, 0x4de7
mov word [ebp - 0x1e], ax
mov byte [ebp - 0x1c], 0xa3
mov byte [ebp - 0x1b], 0x2c
mov byte [ebp - 0x1a], 0x71
mov byte [ebp - 0x19], 0xdb
mov byte [ebp - 0x18], 0xbb
mov byte [ebp - 0x17], 0x9f
mov byte [ebp - 0x16], 0xa3
mov byte [ebp - 0x15], 0x6d
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x14]
push edx
push 1
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x402ab0
xor al, al
jmp 0x402d26
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp dword [ebp - 0x44], 0
je 0x402ae7
xor al, al
jmp 0x402d26
cmp dword [ebp - 0x2c], 0
jne 0x402af4
xor al, al
jmp 0x402d26
mov byte [ebp - 0x25], 0
mov ecx, 1
test ecx, ecx
je 0x402d15
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x34]
push eax
push 1
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x402b39
jmp 0x402d15
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
cmp dword [ebp - 0x48], 0
je 0x402b64
jmp 0x402af8
push 0
push 0
push 0
push str.VCAuxiliaryBuildMicrosoft.VCToolsVersion.default.txt
mov edx, dword [ebp - 0x40]
push edx
call fcn.00402520
add esp, 0x14
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0x42f684
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.00408bda
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004078df
add esp, 4
cmp dword [ebp - 0x5c], 0
je 0x402bb7
jmp 0x402af8
cmp dword [ebp - 0x38], 0
jne 0x402bc2
jmp 0x402af8
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0040e78a
add esp, 4
push eax
call fcn.00413821
add esp, 4
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x402c02
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0040e75a
add esp, 4
jmp 0x402af8
mov edx, dword [ebp - 0x80]
add edx, 1
mov eax, dword [ebp - 0x7c]
adc eax, 0
push 0
push 2
push eax
push edx
call fcn.00404180
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.004078fa
add esp, 4
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00408b19
add esp, 0xc
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x38]
push edx
call fcn.0040e75a
add esp, 4
cmp dword [ebp - 0x68], 0
jne 0x402c5c
jmp 0x402af8
push 0xa
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004053ba
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x402c7b
xor ecx, ecx
mov edx, dword [ebp - 0x50]
mov word [edx], cx
push 0
push str.libx64
mov eax, dword [ebp - 0x3c]
push eax
push str.VCToolsMSVC_
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00402520
add esp, 0x14
mov dword [ebp - 0x54], eax
push 0
push 0
push 0
push 0x42f6c0
mov edx, dword [ebp - 0x54]
push edx
call fcn.00402520
add esp, 0x14
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push eax
call fcn.004024f0
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x402d04
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004078df
add esp, 4
push 0
push 0
push 0
push str.VCAuxiliaryBuild_vcvarsall.bat
mov eax, dword [ebp - 0x40]
push eax
call fcn.00402520
add esp, 0x14
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x70]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x54]
mov dword [eax + 4], ecx
mov byte [ebp - 0x25], 1
jmp 0x402d15
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004078df
add esp, 4
jmp 0x402af8
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040416e
mov esp, ebp
pop ebp
ret