Function at 0x48f610
Capabilities:
Connect to wmi namespace via wbemlocator
Get common file path
Get disk information
Get mac address on windows
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x740
mov eax, dword [0x53fbb0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
mov dword [ebp - 0x740], ecx
push 0x200
push 0
mov eax, dword [ebp - 0x740]
push eax
call fcn.00491200
add esp, 0xc
push 0x200
push 0
mov ecx, dword [ebp - 0x740]
add ecx, 0x200
push ecx
call fcn.00491200
add esp, 0xc
push 0x200
push 0
mov edx, dword [ebp - 0x740]
add edx, 0x400
push edx
call fcn.00491200
add esp, 0xc
push 0x200
push 0
mov eax, dword [ebp - 0x740]
add eax, 0x600
push eax
call fcn.00491200
add esp, 0xc
push 0x200
push 0
mov ecx, dword [ebp - 0x740]
add ecx, 0x800
push ecx
call fcn.00491200
add esp, 0xc
push 0x200
push 0
mov edx, dword [ebp - 0x740]
add edx, 0xa00
push edx
call fcn.00491200
add esp, 0xc
push 0x200
push 0
mov eax, dword [ebp - 0x740]
add eax, 0xc00
push eax
call fcn.00491200
add esp, 0xc
push 0x200
push 0
mov ecx, dword [ebp - 0x740]
add ecx, 0xe00
push ecx
call fcn.00491200
add esp, 0xc
push 0x200
push 0
mov edx, dword [ebp - 0x740]
add edx, 0x1000
push edx
call fcn.00491200
add esp, 0xc
push 0x200
push 0
mov eax, dword [ebp - 0x740]
add eax, 0x1200
push eax
call fcn.00491200
add esp, 0xc
push 0x200
push 0
mov ecx, dword [ebp - 0x740]
add ecx, 0x1400
push ecx
call fcn.00491200
add esp, 0xc
push 0x200
push 0
mov edx, dword [ebp - 0x740]
add edx, 0x1600
push edx
call fcn.00491200
add esp, 0xc
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x44c], eax
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x490087
mov dword [ebp - 0x464], 0
lea eax, [ebp - 0x464]
push eax
push 0x50bda8
push 1
push 0
push 0x50be78
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x490087
mov dword [ebp - 0x468], 0
lea ecx, [ebp - 0x468]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x5086d8
mov edx, dword [ebp - 0x464]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x464]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x490073
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov eax, dword [ebp - 0x468]
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x49005f
mov dword [ebp - 0x46c], 0
lea ecx, [ebp - 0x46c]
push ecx
push 0
push 0x30
push 0x5086f8
push 0x50874c
mov edx, dword [ebp - 0x468]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x468]
push ecx
mov edx, dword [eax + 0x50]
call edx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48f9a9
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x474], 0
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x474]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x46c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x46c]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48f995
cmp dword [ebp - 0x470], 0
jbe 0x48f995
xor eax, eax
mov word [ebp - 0x488], ax
xor ecx, ecx
mov dword [ebp - 0x486], ecx
mov dword [ebp - 0x482], ecx
mov dword [ebp - 0x47e], ecx
mov word [ebp - 0x47a], cx
push 0
push 0
lea edx, [ebp - 0x488]
push edx
push 0
push str.UUID
mov eax, dword [ebp - 0x474]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x474]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48f981
push 0x100
mov ecx, dword [ebp - 0x480]
push ecx
mov edx, dword [ebp - 0x740]
add edx, 0x600
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x488]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x474]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x474]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x46c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x46c]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x46c]
push eax
push 0
push 0x30
push str.SELECT__FROM_Win32_ComputerSystemProduct
push 0x5087b4
mov ecx, dword [ebp - 0x468]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x468]
push eax
mov ecx, dword [edx + 0x50]
call ecx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48faec
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x490], 0
lea edx, [ebp - 0x48c]
push edx
lea eax, [ebp - 0x490]
push eax
push 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x46c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x46c]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48fad8
cmp dword [ebp - 0x48c], 0
jbe 0x48fad8
xor edx, edx
mov word [ebp - 0x4a0], dx
xor eax, eax
mov dword [ebp - 0x49e], eax
mov dword [ebp - 0x49a], eax
mov dword [ebp - 0x496], eax
mov word [ebp - 0x492], ax
push 0
push 0
lea ecx, [ebp - 0x4a0]
push ecx
push 0
push str.Name
mov edx, dword [ebp - 0x490]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x490]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48fac4
push 0x100
mov eax, dword [ebp - 0x498]
push eax
mov ecx, dword [ebp - 0x740]
add ecx, 0x800
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea edx, [ebp - 0x4a0]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x490]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x490]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x46c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x46c]
push eax
mov ecx, dword [edx + 8]
call ecx
lea edx, [ebp - 0x46c]
push edx
push 0
push 0x30
push 0x5087c8
push 0x508810
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x468]
push edx
mov eax, dword [ecx + 0x50]
call eax
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48fc2e
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a8], 0
lea ecx, [ebp - 0x4a4]
push ecx
lea edx, [ebp - 0x4a8]
push edx
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x46c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x46c]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48fc1a
cmp dword [ebp - 0x4a4], 0
jbe 0x48fc1a
xor ecx, ecx
mov word [ebp - 0x4b8], cx
xor edx, edx
mov dword [ebp - 0x4b6], edx
mov dword [ebp - 0x4b2], edx
mov dword [ebp - 0x4ae], edx
mov word [ebp - 0x4aa], dx
push 0
push 0
lea eax, [ebp - 0x4b8]
push eax
push 0
push 0x508818
mov ecx, dword [ebp - 0x4a8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4a8]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48fc06
push 0x100
mov edx, dword [ebp - 0x4b0]
push edx
mov eax, dword [ebp - 0x740]
add eax, 0xa00
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [ebp - 0x4b8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x4a8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4a8]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x46c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x46c]
push edx
mov eax, dword [ecx + 8]
call eax
lea ecx, [ebp - 0x46c]
push ecx
push 0
push 0x30
push str.SELECT__FROM_Win32_OperatingSystem
push 0x508880
mov edx, dword [ebp - 0x468]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x468]
push ecx
mov edx, dword [eax + 0x50]
call edx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48fdd9
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4c0], 0
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x4c0]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x46c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x46c]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48fdc5
cmp dword [ebp - 0x4bc], 0
jbe 0x48fdc5
xor eax, eax
mov word [ebp - 0x4d0], ax
xor ecx, ecx
mov dword [ebp - 0x4ce], ecx
mov dword [ebp - 0x4ca], ecx
mov dword [ebp - 0x4c6], ecx
mov word [ebp - 0x4c2], cx
push 0
push 0
lea edx, [ebp - 0x4d0]
push edx
push 0
push 0x508888
mov eax, dword [ebp - 0x4c0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x4c0]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48fdb1
push 0x100
mov ecx, dword [ebp - 0x4c8]
push ecx
mov edx, dword [ebp - 0x740]
add edx, 0xc00
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 0x4d4], 0
jmp 0x48fd5b
mov eax, dword [ebp - 0x4d4]
add eax, 1
mov dword [ebp - 0x4d4], eax
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ebp - 0x740]
movzx eax, word [edx + ecx*2 + 0xc00]
test eax, eax
je 0x48fda4
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ebp - 0x740]
movzx eax, word [edx + ecx*2 + 0xc00]
cmp eax, 0x2e
jne 0x48fda2
xor ecx, ecx
mov edx, dword [ebp - 0x4d4]
mov eax, dword [ebp - 0x740]
mov word [eax + edx*2 + 0xc00], cx
jmp 0x48fd4c
lea ecx, [ebp - 0x4d0]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x4c0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c0]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x46c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x46c]
push edx
mov eax, dword [ecx + 8]
call eax
lea ecx, [ebp - 0x46c]
push ecx
push 0
push 0x30
push 0x5088a0
push 0x5088d4
mov edx, dword [ebp - 0x468]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x468]
push ecx
mov edx, dword [eax + 0x50]
call edx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48ff1c
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4dc], 0
lea eax, [ebp - 0x4d8]
push eax
lea ecx, [ebp - 0x4dc]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x46c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x46c]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48ff08
cmp dword [ebp - 0x4d8], 0
jbe 0x48ff08
xor eax, eax
mov word [ebp - 0x4f0], ax
xor ecx, ecx
mov dword [ebp - 0x4ee], ecx
mov dword [ebp - 0x4ea], ecx
mov dword [ebp - 0x4e6], ecx
mov word [ebp - 0x4e2], cx
push 0
push 0
lea edx, [ebp - 0x4f0]
push edx
push 0
push str.SerialNumber
mov eax, dword [ebp - 0x4dc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x4dc]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x48fef4
push 0x100
mov ecx, dword [ebp - 0x4e8]
push ecx
mov edx, dword [ebp - 0x740]
add edx, 0xe00
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x4f0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x4dc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x4dc]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x46c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x46c]
push ecx
mov edx, dword [eax + 8]
call edx
lea eax, [ebp - 0x46c]
push eax
push 0
push 0x30
push str.SELECT__FROM_Win32_BIOS
push 0x50892c
mov ecx, dword [ebp - 0x468]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x468]
push eax
mov ecx, dword [edx + 0x50]
call ecx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x49005f
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f8], 0
lea edx, [ebp - 0x4f4]
push edx
lea eax, [ebp - 0x4f8]
push eax
push 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x46c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x46c]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x49004b
cmp dword [ebp - 0x4f4], 0
jbe 0x49004b
xor edx, edx
mov word [ebp - 0x508], dx
xor eax, eax
mov dword [ebp - 0x506], eax
mov dword [ebp - 0x502], eax
mov dword [ebp - 0x4fe], eax
mov word [ebp - 0x4fa], ax
push 0
push 0
lea ecx, [ebp - 0x508]
push ecx
push 0
push str.SMBIOSBIOSVersion
mov edx, dword [ebp - 0x4f8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4f8]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x490037
push 0x100
mov eax, dword [ebp - 0x500]
push eax
mov ecx, dword [ebp - 0x740]
add ecx, 0x1000
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea edx, [ebp - 0x508]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x4f8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x4f8]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x46c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x46c]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x468]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x468]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x464]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 0x460], 0
xor ecx, ecx
mov dword [ebp - 0x45c], ecx
mov dword [ebp - 0x458], ecx
mov dword [ebp - 0x454], ecx
lea esi, [ebp - 0x460]
mov eax, 1
xor ecx, ecx
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov edx, dword [ebp - 0x460]
push edx
mov eax, dword [ebp - 0x454]
push eax
push str._08X_08X
mov ecx, dword [ebp - 0x740]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x50c], 0
jmp 0x4900fd
mov edx, dword [ebp - 0x50c]
add edx, 1
mov dword [ebp - 0x50c], edx
cmp dword [ebp - 0x50c], 0xa
jge 0x49015d
xor eax, eax
mov word [ebp - 0x710], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x70e]
push ecx
call fcn.00491200
add esp, 0xc
lea edx, [ebp - 0x710]
push edx
mov eax, dword [ebp - 0x50c]
push eax
call fcn.004905f0
add esp, 8
test eax, eax
je 0x49015b
lea ecx, [ebp - 0x710]
push ecx
mov edx, dword [ebp - 0x740]
add edx, 0x200
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x49015d
jmp 0x4900ee
mov byte [ebp - 0x438], 0
xor eax, eax
mov dword [ebp - 0x437], eax
mov byte [ebp - 0x433], al
mov dword [ebp - 0x450], 0
lea ecx, [ebp - 0x450]
push ecx
push 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov edx, dword [ebp - 0x450]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x490231
lea eax, [ebp - 0x450]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x490231
mov edx, dword [ebp - 4]
mov dword [ebp - 0x714], edx
jmp 0x4901d3
mov eax, dword [ebp - 0x714]
mov ecx, dword [eax]
mov dword [ebp - 0x714], ecx
cmp dword [ebp - 0x714], 0
je 0x490231
mov edx, dword [ebp - 0x714]
add edx, 8
push edx
call fcn.004909e0
add esp, 4
mov dword [ebp - 0x718], eax
cmp dword [ebp - 0x718], 1
je 0x490206
cmp dword [ebp - 0x718], 0
jne 0x49022f
mov eax, dword [ebp - 0x714]
add eax, 0x194
mov ecx, dword [eax]
mov dword [ebp - 0x438], ecx
mov dx, word [eax + 4]
mov word [ebp - 0x434], dx
cmp dword [ebp - 0x718], 0
jne 0x49022f
jmp 0x490231
jmp 0x4901c5
movzx eax, byte [ebp - 0x433]
push eax
movzx ecx, byte [ebp - 0x434]
push ecx
movzx edx, byte [ebp - 0x435]
push edx
movzx eax, byte [ebp - 0x436]
push eax
movzx ecx, byte [ebp - 0x437]
push ecx
movzx edx, byte [ebp - 0x438]
push edx
push str._02X__02X__02X__02X__02X__02X
mov eax, dword [ebp - 0x740]
add eax, 0x400
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
mov dword [ebp - 0x43c], 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x43c]
push ecx
push 0
push 0
push 0x5089a8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4902c8
mov edx, dword [ebp - 0x43c]
push edx
push str._08X
mov eax, dword [ebp - 0x740]
add eax, 0x1200
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x428], cx
push 0x206
push 0
lea edx, [ebp - 0x426]
push edx
call fcn.00491200
add esp, 0xc
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.00491200
add esp, 0xc
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
lea edx, [ebp - 0x428]
push edx
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jl 0x490540
push 0x5089bc
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x490406
push 0
push 0
push 3
push 0
push 1
push bind
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x71c], eax
cmp dword [ebp - 0x71c], 0xffffffff
je 0x490406
mov dword [ebp - 0x724], 0
xor eax, eax
mov dword [ebp - 0x720], eax
push 0
push 0
lea ecx, [ebp - 0x724]
push ecx
mov edx, dword [ebp - 0x71c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x4903f9
lea eax, [ebp - 0x724]
push eax
call fcn.004905a0
add esp, 4
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x42c], edx
mov ecx, dword [ebp - 0x71c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.user32.dll
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x49049e
push 0
push 0
push 3
push 0
push 1
push bind
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x728], eax
cmp dword [ebp - 0x728], 0xffffffff
je 0x49049e
mov dword [ebp - 0x730], 0
xor edx, edx
mov dword [ebp - 0x72c], edx
push 0
push 0
lea eax, [ebp - 0x730]
push eax
mov ecx, dword [ebp - 0x728]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x490491
lea edx, [ebp - 0x730]
push edx
call fcn.004905a0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x728]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.notepad.exe
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x490540
push 0
push 0
push 3
push 0
push 1
push bind
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x734], eax
cmp dword [ebp - 0x734], 0xffffffff
je 0x490540
mov dword [ebp - 0x73c], 0
xor ecx, ecx
mov dword [ebp - 0x738], ecx
push 0
push 0
lea edx, [ebp - 0x73c]
push edx
mov eax, dword [ebp - 0x734]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x490533
lea ecx, [ebp - 0x73c]
push ecx
call fcn.004905a0
add esp, 4
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], edx
mov edx, dword [ebp - 0x734]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x444]
push eax
mov ecx, dword [ebp - 0x448]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x42c]
push ecx
mov edx, dword [ebp - 0x430]
push edx
push str._llu__llu__llu
push 0x100
mov eax, dword [ebp - 0x740]
add eax, 0x1400
push eax
call fcn.0049b4c6
add esp, 0x24
mov eax, dword [ebp - 0x740]
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049115e
mov esp, ebp
pop ebp
ret