Function at 0x4391c4
Capabilities:
Check if file exists
Delete registry key
Get common file path
Get file attributes
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe64
mov eax, dword [0x4424f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, ecx
mov ecx, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0xe00], ecx
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0xdd8], edx
mov dword [ebp - 0xdd0], eax
mov dword [ebp - 0xdec], ebx
mov dword [ebp - 0xdf4], ebx
mov dword [ebp - 0xdd4], ebx
mov dword [ebp - 0xdf0], ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea edi, [ecx + 1]
cmp eax, 0xffffffff
je 0x43a6a0
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x439257
push ecx
push esi
push eax
mov ecx, edx
call fcn.00437bd1
test eax, eax
jne 0x439244
mov ecx, dword [ebp + 0x10]
xor edx, edx
inc edx
mov dword [ebp - 0xdd4], edx
jmp 0x43925a
mov ecx, 0x80004005
cmp eax, ecx
jne 0x439254
mov eax, ecx
jmp 0x43a6b1
mov ecx, dword [ebp + 0x10]
xor edx, edx
inc edx
mov eax, 0x40aa38
test ecx, ecx
jne 0x439268
mov eax, 0x40aa64
test esi, esi
jne 0x439271
mov esi, 0x40aae0
push edx
push eax
push esi
lea eax, [ebp - 0xe38]
xor ecx, ecx
push eax
lea edx, [ebp - 0xdd0]
call fcn.0043645b
test eax, eax
je 0x43a6a0
mov ecx, dword [ebp + 0x10]
neg ecx
sbb ecx, ecx
add ecx, 0x26dd
call fcn.0041ddf0
lea ecx, [ebp - 0xe38]
call fcn.00436308
mov edx, eax
mov dword [ebp - 0xdf8], edx
test edx, edx
je 0x43a6a0
mov edx, dword [ebp - 0xdd8]
mov edx, dword [edx + 0x10]
test edx, edx
je 0x43a686
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xdec]
jne 0x4392d3
sub ecx, esi
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0x208
jae 0x43a686
push edx
mov edx, 0x104
lea ecx, [ebp - 0x828]
call fcn.0040c040
lea eax, [ebp - 0x828]
push eax
push 0x40a504
push 4
call fcn.0041e83a
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x4059f8
push dword [ebp - 0xdf8]
call dword [sym.imp.msvcrt.dll_wcstok]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x43a680
fldz
fstp qword [ebp - 0xe20]
mov dword [ebp - 0xdfc], 0xffff
mov dword [ebp - 0xdec], 0x18
xor esi, esi
mov eax, 0x40aa38
mov dword [ebp - 0xdbc], esi
cmp dword [ebp + 0x10], esi
jne 0x439378
mov eax, 0x40aa64
push ebx
push eax
push 0x40a520
push 4
call fcn.0041e83a
add esp, 0x10
lea eax, [ebp - 0xe60]
lea edx, [ebp - 0xdd0]
xor ecx, ecx
push esi
push ebx
push 0x40a9e8
push eax
call fcn.0043645b
test eax, eax
jne 0x4393cf
push esi
push 0x40aac0
push 0x40a9e8
lea eax, [ebp - 0xe60]
xor ecx, ecx
push eax
lea edx, [ebp - 0xdd0]
call fcn.0043645b
test eax, eax
je 0x43a656
lea ecx, [ebp - 0xe60]
call fcn.00436308
mov dword [ebp - 0xdcc], eax
test eax, eax
je 0x43a656
push eax
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.0040c040
lea eax, [ebp - 0x210]
push 0x4059f8
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
mov esi, eax
mov dword [ebp - 0xdc8], esi
pop ecx
pop ecx
test esi, esi
je 0x439438
xor eax, eax
lea ecx, [ebp - 0xc38]
mov word [esi], ax
mov edx, 0x104
add esi, 2
push esi
mov dword [ebp - 0xdc8], esi
call fcn.0040c040
cmp dword [ebp - 0xe00], 0
je 0x4394bf
xor eax, eax
push 2
mov dword [ebp - 0xdc4], eax
lea eax, [ebp - 0x210]
push 0x4043a4
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x439488
lea eax, [ebp - 0xdc4]
push eax
lea eax, [ebp - 0x210]
push 0x4043ac
push eax
call dword [sym.imp.msvcrt.dll_swscanf]
mov eax, dword [ebp - 0xdc4]
add esp, 0xc
jmp 0x439496
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
push ecx
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0xe00]
push eax
call fcn.00435c22
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0xdbc], ecx
test eax, eax
je 0x4398f9
xor eax, eax
mov dword [ebp - 0xdc4], eax
lea eax, [ebp - 0xdc4]
push eax
lea eax, [ebp - 0x210]
push 0x4043e0
push eax
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0xc
test eax, eax
je 0x4399d8
mov eax, dword [ebp - 0xdc4]
cmp eax, 0xffffffff
je 0x4399d8
cmp eax, 0x19
ja 0x43977a
je 0x439763
cmp eax, 0x11
ja 0x439639
je 0x4395ef
xor ecx, ecx
sub eax, ecx
je 0x4397b3
sub eax, 1
je 0x4395b0
sub eax, 9
je 0x439763
sub eax, 1
je 0x43959c
sub eax, 1
jne 0x4398eb
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x43955e
xor eax, eax
mov esi, eax
jmp 0x439582
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x43956f
push 0x57
pop esi
test esi, esi
jle 0x43957a
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x4399d8
push 0x409944
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.0040c075
jmp 0x4397b8
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x4395c2
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x4397c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4395db
push 0x57
pop esi
test esi, esi
jle 0x4397b8
movzx esi, si
or esi, 0x80070000
jmp 0x4397b8
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x43960b
xor eax, eax
mov esi, eax
jmp 0x43962f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x43961c
push 0x57
pop esi
test esi, esi
jle 0x439627
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x4399d8
push 0x409958
jmp 0x439587
sub eax, 0x12
je 0x439719
dec eax
sub eax, 1
je 0x4396cf
sub eax, 1
je 0x4397b3
dec eax
sub eax, 1
je 0x4397b3
sub eax, 1
jne 0x4398eb
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x439684
xor eax, eax
mov esi, eax
jmp 0x4396a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x439695
push 0x57
pop esi
test esi, esi
jle 0x4396a0
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x4399d8
lea eax, [ebp - 0x210]
push 0x4043e8
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x4397b8
xor ecx, ecx
mov word [eax + 4], cx
jmp 0x4397b8
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x4396eb
xor eax, eax
mov esi, eax
jmp 0x43970f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4396fc
push 0x57
pop esi
test esi, esi
jle 0x439707
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x4399d8
push 0x409970
jmp 0x439587
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x439735
xor eax, eax
mov esi, eax
jmp 0x439759
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x439746
push 0x57
pop esi
test esi, esi
jle 0x439751
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x4399d8
push 0x409964
jmp 0x439587
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
jmp 0x4395c2
cmp eax, 0x4019
ja 0x43986a
cmp eax, 0x4016
jae 0x4397b3
cmp eax, 0x1e
je 0x4397b3
cmp eax, 0x32
je 0x4397b3
cmp eax, 0x33
je 0x439820
cmp eax, 0x34
je 0x4397d6
jbe 0x4399d8
cmp eax, 0x37
ja 0x4399d8
mov esi, 0x80004005
test esi, esi
jne 0x4399d8
mov esi, dword [ebp - 0xdc8]
xor eax, eax
lea ecx, [eax + 1]
mov dword [ebp - 0xdbc], ecx
jmp 0x4398f1
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x4397f2
xor eax, eax
mov esi, eax
jmp 0x439816
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x439803
push 0x57
pop esi
test esi, esi
jle 0x43980e
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x4399d8
push 0x409990
jmp 0x439587
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x43983c
xor eax, eax
mov esi, eax
jmp 0x439860
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x43984d
push 0x57
pop esi
test esi, esi
jle 0x439858
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x4399d8
push 0x409980
jmp 0x439587
sub eax, 0x401f
je 0x4397b3
sub eax, 4
je 0x4398d4
sub eax, 3
je 0x4398c2
sub eax, 5
je 0x4398b0
sub eax, 0x3825
jne 0x4398eb
lea edx, [eax + 1]
lea ecx, [ebp - 0x210]
call fcn.0041fb21
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
jmp 0x4397b8
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.00435649
jmp 0x4398e4
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.0043529c
jmp 0x4398e4
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.00435865
mov esi, eax
jmp 0x4397b8
mov ecx, dword [ebp - 0xdbc]
test ecx, ecx
je 0x4399d8
test esi, esi
je 0x43993f
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x210]
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x439915
sub ecx, edx
lea eax, [ebp - 0xc38]
sar ecx, 1
mov edx, 0x104
sub edx, ecx
lea ecx, [ebp - 0x210]
push eax
call fcn.0040c075
jmp 0x439941
xor esi, esi
cmp dword [ebp + 0x10], 0
je 0x4399b4
lea eax, [ebp - 0x210]
mov edx, 0x104
push eax
lea ecx, [ebp - 0xa30]
call fcn.0040c040
test eax, eax
js 0x4399a9
lea ecx, [ebp - 0xa30]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x43996b
sub ecx, edx
sar ecx, 1
je 0x439993
cmp word [ebp + ecx*2 - 0xa32], 0x5c
jne 0x439993
xor eax, eax
mov word [ebp + ecx*2 - 0xa32], ax
jmp 0x439962
lea eax, [ebp - 0xa30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4399a9
test al, 0x10
jne 0x4399b4
lea ecx, [ebp - 0x210]
call fcn.0041f239
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push ebx
lea eax, [ebp - 0x210]
push eax
push 0x40a540
push 4
call fcn.0041e83a
add esp, 0x10
push dword [ebp - 0xdcc]
call fcn.00440db7
cmp dword [ebp - 0xdbc], 0
pop ecx
je 0x43a656
mov ecx, dword [ebp - 0xdd0]
lea eax, [ebp - 0xe38]
push eax
xor eax, eax
mov edx, ebx
push eax
call fcn.00422caa
test eax, eax
je 0x43a666
mov ecx, dword [ebp - 0xdd0]
xor eax, eax
mov edx, ebx
lea esi, [eax + 1]
call fcn.00422ba2
mov ebx, eax
mov ecx, ebx
mov dword [ebp - 0xe04], ebx
call fcn.0041dc25
xor eax, eax
inc eax
cmp ebx, eax
jb 0x43a666
mov ecx, esi
call fcn.0041dd92
inc esi
lea ecx, [ebp - 0xe38]
mov dword [ebp - 0xe10], esi
call fcn.00436308
mov ebx, eax
mov dword [ebp - 0xdc0], ebx
test ebx, ebx
je 0x43a636
cmp dword [ebp + 0x10], 0
je 0x43a53b
mov esi, dword [ebp - 0xdc0]
xor eax, eax
push 0x40
pop ebx
push 0x4059f8
push esi
mov edi, eax
mov dword [ebp - 0xdc8], eax
mov dword [ebp - 0xdbc], ebx
mov dword [ebp - 0xdc4], 3
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
xor ecx, ecx
lea ebx, [ecx + 1]
test eax, eax
je 0x439b71
xor ecx, ecx
lea esi, [eax + 2]
mov word [eax], cx
mov eax, ebx
ret
sub eax, 1
je 0x439b06
sub eax, 1
je 0x439afe
sub eax, 1
je 0x439ae7
cmp dword [0x442534], 0xffffffff
jne 0x439ad8
push ecx
push 5
pop edx
call fcn.0041e30f
push 5
mov edx, 0x40a568
pop ecx
call fcn.0041e767
jmp 0x439b08
test esi, esi
je 0x439af4
mov ecx, esi
call fcn.0041f003
jmp 0x439af6
xor eax, eax
mov dword [ebp - 0xdbc], eax
jmp 0x439b08
mov dword [ebp - 0xdc8], esi
jmp 0x439b08
mov edi, esi
push 0x4059f8
push esi
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
inc ebx
pop ecx
test eax, eax
jne 0x439aad
xor esi, esi
test edi, edi
je 0x439b3e
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x439b26
sub ecx, edx
sar ecx, 1
cmp ecx, 2
sbb eax, eax
not eax
and edi, eax
mov ebx, dword [ebp - 0xdc8]
test ebx, ebx
je 0x439b6b
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x439b4d
sub ecx, edx
sar ecx, 1
cmp ecx, 2
sbb eax, eax
not eax
and eax, ebx
mov dword [ebp - 0xdc8], eax
mov esi, dword [ebp - 0xdc0]
mov eax, dword [ebp - 0xdd8]
mov ebx, dword [ebp - 0xdbc]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x439b9c
xor ecx, ecx
cmp dword [eax + 0x50], ecx
jne 0x439b9c
test ebx, 0x1000000
jne 0x439b9c
and ebx, 0xffffffbf
mov dword [ebp - 0xdbc], ebx
xor eax, eax
mov edx, 0x103
mov ecx, eax
mov dword [ebp - 0xdcc], eax
mov dword [ebp - 0xde4], eax
lea eax, [ebp - 0x828]
mov dword [ebp - 0xde8], ecx
mov dword [ebp - 0xde0], ecx
lea ecx, [ebp - 0x418]
push eax
call fcn.0040c040
lea eax, [ebp - 0x210]
mov edx, 0x103
push eax
lea ecx, [ebp - 0x620]
call fcn.0040c040
test edi, edi
je 0x439c08
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push edi
mov edx, 0x104
lea ecx, [ebp - 0x418]
call fcn.0040c075
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push esi
mov edx, 0x104
lea ecx, [ebp - 0x620]
call fcn.0040c075
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439c3c
test al, 0x10
je 0x439c5e
test edi, edi
jne 0x439c5e
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push esi
mov edx, 0x104
lea ecx, [ebp - 0x418]
call fcn.0040c075
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43a4cc
test al, 0x10
jne 0x43a4cc
test ebx, 0x400
je 0x439d2f
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439ca2
test al, 0x10
je 0x439d2f
lea eax, [ebp - 0x418]
push eax
push 0x404ba8
push 4
call fcn.0041e83a
add esp, 0xc
xor eax, eax
lea edi, [eax + 1]
mov ebx, dword [ebp - 0xdc0]
mov eax, dword [ebp - 0xdd8]
xor ecx, ecx
cmp dword [eax + 0xc], ecx
je 0x43a525
push 0x208
call fcn.00440dea
mov esi, eax
pop ecx
test esi, esi
je 0x43a525
lea eax, [ebp - 0x210]
mov edx, 0x104
push eax
mov ecx, esi
call fcn.0040c040
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push ebx
mov edx, 0x104
mov ecx, esi
call fcn.0040c075
push ecx
xor eax, eax
push eax
mov eax, dword [ebp - 0xdd8]
push esi
mov ecx, dword [eax + 0xc]
call fcn.0042b883
push esi
call fcn.00440db7
pop ecx
jmp 0x43a525
test bl, 0x10
je 0x439d5b
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439d5b
test al, 0x10
jne 0x439d5b
lea eax, [ebp - 0x418]
push eax
push 0x404c38
jmp 0x439cae
test bl, 4
je 0x439db3
lea eax, [ebp - 0x418]
push eax
push 0x404cc0
push 4
call fcn.0041e83a
add esp, 0xc
cmp dword [ebp - 0xdd4], 0
je 0x439d8a
lea ecx, [ebp - 0x418]
call fcn.00421295
cmp ebx, 8
je 0x43a45a
lea edx, [ebp - 0x620]
lea ecx, [ebp - 0x418]
call fcn.004211c4
test eax, eax
je 0x43a45a
xor eax, eax
jmp 0x43a4a8
lea eax, [ebp - 0xddc]
xor esi, esi
push eax
lea eax, [ebp - 0x620]
mov dword [ebp - 0xddc], esi
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x439fc5
lea ecx, [ebp - 0x620]
call fcn.0041f21e
test eax, eax
je 0x43a412
push esi
push 0x80
push 3
xor eax, eax
push esi
inc eax
push eax
push esi
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43a412
lea eax, [ebp - 0xe48]
mov ebx, 0x80004005
push eax
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x439fbc
lea eax, [ebp - 0xc58]
push eax
lea eax, [ebp - 0xe48]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x439fbc
push 0xac
lea eax, [ebp - 0xdb8]
push esi
push eax
call sub.msvcrt.dll_memset
movzx esi, word [ebp - 0xc56]
add esp, 0xc
movzx eax, word [ebp - 0xc52]
movzx ecx, word [ebp - 0xc58]
shl esi, 0x10
or esi, eax
mov dword [ebp - 0xde8], ecx
xor eax, eax
mov dword [ebp - 0xdcc], esi
mov ebx, eax
lea eax, [ebp - 0xdb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x439fbc
mov ecx, dword [ebp - 0xdb8]
test ecx, ecx
jle 0x439eaf
movzx eax, cx
jmp 0x439eb6
mov eax, ecx
neg eax
movzx eax, ax
xor edx, edx
movzx eax, ax
push 0x3c
pop esi
div esi
xor esi, esi
inc esi
movzx edx, ax
mov ax, word [ebp - 0xc50]
cmp ecx, esi
mov cx, word [ebp - 0xc52]
jge 0x439edd
add ax, dx
jmp 0x439efa
cmp ax, dx
jae 0x439ef7
add cx, word [ebp - 0xdfc]
add ax, word [ebp - 0xdec]
mov word [ebp - 0xc52], cx
sub ax, dx
push 0x17
pop edx
mov word [ebp - 0xc50], ax
cmp ax, dx
jbe 0x439f56
mov edx, 0xffe8
add ax, dx
inc cx
push 0x20
mov word [ebp - 0xc50], ax
pop eax
mov word [ebp - 0xc52], cx
cmp cx, ax
jne 0x439f56
mov ax, word [ebp - 0xc56]
push 0xd
inc ax
mov word [ebp - 0xc52], si
pop ecx
mov word [ebp - 0xc56], ax
cmp ax, cx
jne 0x439f56
inc word [ebp - 0xc58]
mov word [ebp - 0xc56], si
fld qword [ebp - 0xe20]
lea eax, [ebp - 0xe18]
push eax
lea eax, [ebp - 0xc58]
push eax
fstp qword [ebp - 0xe18]
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
test eax, eax
je 0x439fbc
fld qword [ebp - 0xe18]
lea eax, [ebp - 0xc58]
push eax
push ecx
push ecx
fstp qword [esp]
call dword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x439fbc
movzx esi, word [ebp - 0xc56]
movzx eax, word [ebp - 0xc52]
movzx ecx, word [ebp - 0xc58]
shl esi, 0x10
or esi, eax
mov dword [ebp - 0xde8], ecx
mov dword [ebp - 0xdcc], esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43a030
push edi
call fcn.00440dea
mov esi, eax
pop ecx
test esi, esi
je 0x43a410
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x620]
push edi
push eax
mov ebx, 0x80004005
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43a029
lea eax, [ebp - 0xe3c]
push eax
lea eax, [ebp - 0xe0c]
push eax
push 0x4043f0
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43a029
mov eax, dword [ebp - 0xe0c]
mov ebx, edi
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xde8], ecx
mov dword [ebp - 0xdcc], eax
push esi
call fcn.00440db7
pop ecx
xor esi, esi
test ebx, ebx
jne 0x43a408
lea eax, [ebp - 0xddc]
mov dword [ebp - 0xddc], esi
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x43a24a
lea ecx, [ebp - 0x418]
call fcn.0041f21e
test eax, eax
je 0x43a3f7
push esi
push 0x80
push 3
xor eax, eax
push esi
inc eax
push eax
push esi
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x43a3f7
lea eax, [ebp - 0xe50]
mov ebx, 0x80004005
push eax
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x43a241
lea eax, [ebp - 0xc48]
push eax
lea eax, [ebp - 0xe50]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x43a241
push 0xac
lea eax, [ebp - 0xd08]
push esi
push eax
call sub.msvcrt.dll_memset
movzx esi, word [ebp - 0xc46]
add esp, 0xc
movzx eax, word [ebp - 0xc42]
movzx ecx, word [ebp - 0xc48]
shl esi, 0x10
or esi, eax
mov dword [ebp - 0xde0], ecx
xor eax, eax
mov dword [ebp - 0xde4], esi
mov ebx, eax
lea eax, [ebp - 0xd08]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x43a241
mov ecx, dword [ebp - 0xd08]
test ecx, ecx
jle 0x43a134
movzx eax, cx
jmp 0x43a13b
mov eax, ecx
neg eax
movzx eax, ax
xor edx, edx
movzx eax, ax
push 0x3c
pop esi
div esi
xor esi, esi
inc esi
movzx edx, ax
mov ax, word [ebp - 0xc40]
cmp ecx, esi
mov cx, word [ebp - 0xc42]
jge 0x43a162
add ax, dx
jmp 0x43a17f
cmp ax, dx
jae 0x43a17c
add cx, word [ebp - 0xdfc]
add ax, word [ebp - 0xdec]
mov word [ebp - 0xc42], cx
sub ax, dx
push 0x17
pop edx
mov word [ebp - 0xc40], ax
cmp ax, dx
jbe 0x43a1db
mov edx, 0xffe8
add ax, dx
inc cx
push 0x20
mov word [ebp - 0xc40], ax
pop eax
mov word [ebp - 0xc42], cx
cmp cx, ax
jne 0x43a1db
mov ax, word [ebp - 0xc46]
push 0xd
inc ax
mov word [ebp - 0xc42], si
pop ecx
mov word [ebp - 0xc46], ax
cmp ax, cx
jne 0x43a1db
inc word [ebp - 0xc48]
mov word [ebp - 0xc46], si
fld qword [ebp - 0xe20]
lea eax, [ebp - 0xe28]
push eax
lea eax, [ebp - 0xc48]
push eax
fstp qword [ebp - 0xe28]
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
test eax, eax
je 0x43a241
fld qword [ebp - 0xe28]
lea eax, [ebp - 0xc48]
push eax
push ecx
push ecx
fstp qword [esp]
call dword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x43a241
movzx ecx, word [ebp - 0xc48]
movzx eax, word [ebp - 0xc42]
mov dword [ebp - 0xde0], ecx
movzx ecx, word [ebp - 0xc46]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0xde4], ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43a2b5
push edi
call fcn.00440dea
mov esi, eax
pop ecx
test esi, esi
je 0x43a3f7
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x418]
push edi
push eax
mov ebx, 0x80004005
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43a2ae
lea eax, [ebp - 0xe40]
push eax
lea eax, [ebp - 0xe08]
push eax
push 0x4043f0
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43a2ae
mov eax, dword [ebp - 0xe08]
mov ebx, edi
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xde0], ecx
mov dword [ebp - 0xde4], eax
push esi
call fcn.00440db7
pop ecx
test ebx, ebx
jne 0x43a3f7
mov eax, dword [ebp - 0xde0]
xor ecx, ecx
mov edi, eax
xor esi, esi
movzx eax, ax
cdq
shr edi, 0x10
shld ecx, edi, 0x10
shl edi, 0x10
or ecx, edx
mov edx, dword [ebp - 0xde4]
or edi, eax
shld ecx, edi, 0x10
mov eax, edx
shr eax, 0x10
shl edi, 0x10
or edi, eax
xor eax, eax
or ecx, eax
movzx eax, dx
cdq
shld ecx, edi, 0x10
shl edi, 0x10
or ecx, edx
or edi, eax
mov eax, dword [ebp - 0xde8]
mov ebx, eax
movzx eax, ax
shr ebx, 0x10
shld esi, ebx, 0x10
cdq
shl ebx, 0x10
or esi, edx
mov edx, dword [ebp - 0xdcc]
or ebx, eax
shld esi, ebx, 0x10
mov eax, edx
shl ebx, 0x10
shr eax, 0x10
or ebx, eax
xor eax, eax
or esi, eax
movzx eax, dx
shld esi, ebx, 0x10
cdq
shl ebx, 0x10
or esi, edx
or ebx, eax
cmp ebx, edi
jne 0x43a352
cmp ecx, esi
jne 0x43a354
xor edi, edi
inc edi
mov esi, edi
jmp 0x43a372
cmp ecx, esi
jb 0x43a36c
ja 0x43a35c
cmp edi, ebx
jbe 0x43a36c
mov ebx, dword [ebp - 0xdbc]
xor esi, esi
mov dword [ebp - 0xdc4], esi
jmp 0x43a389
push 2
xor edi, edi
pop esi
inc edi
mov ebx, dword [ebp - 0xdbc]
mov dword [ebp - 0xdc4], esi
test bl, 0x40
ret
inc eax
jne 0x43a3dc
cmp esi, edi
jne 0x43a3dc
xor esi, esi
lea eax, [ebp - 0x418]
push eax
push 0x404e30
push 4
call fcn.0041e83a
add esp, 0xc
cmp dword [ebp - 0xdd4], 0
je 0x43a3b3
lea ecx, [ebp - 0x418]
call fcn.00421295
test bl, 8
jne 0x43a45a
lea edx, [ebp - 0x620]
lea ecx, [ebp - 0x418]
call fcn.004211c4
test eax, eax
je 0x43a45a
mov edi, esi
jmp 0x43a49d
lea eax, [ebp - 0x620]
push eax
push 0x404e90
push 4
call fcn.0041e83a
add esp, 0xc
jmp 0x439cbd
lea eax, [ebp - 0x418]
push eax
push 0x404dd0
jmp 0x439cae
mov ebx, dword [ebp - 0xdbc]
jmp 0x43a412
xor esi, esi
lea eax, [ebp - 0x620]
push eax
push 0x404d78
push 4
call fcn.0041e83a
add esp, 0xc
cmp dword [ebp - 0xdd4], 0
je 0x43a43c
lea ecx, [ebp - 0x418]
call fcn.00421295
cmp ebx, 8
je 0x43a45a
lea edx, [ebp - 0x620]
lea ecx, [ebp - 0x418]
call fcn.004211c4
test eax, eax
je 0x43a45a
mov edi, esi
jmp 0x43a4aa
lea eax, [ebp - 0x620]
push eax
push 0x404d20
push 2
call fcn.0041e83a
add esp, 0xc
lea edx, [ebp - 0x620]
xor eax, eax
lea ecx, [ebp - 0x418]
inc eax
push eax
push dword [ebp - 0xdc8]
push dword [ebp - 0xdd4]
call fcn.0042086f
mov edi, eax
test eax, eax
js 0x43a4fa
jne 0x439cbd
xor eax, eax
inc eax
cmp dword [ebp - 0xdc4], eax
jne 0x43a4aa
mov edi, eax
mov ebx, dword [ebp - 0xdc0]
lea eax, [ebp - 0x210]
push eax
push ebx
push 0x40a598
push 4
call fcn.0041e83a
add esp, 0x10
jmp 0x439cc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43a4de
movzx eax, ax
or eax, 0x80070000
push eax
lea eax, [ebp - 0x418]
push eax
push 0x404b60
push 2
call fcn.0041e83a
add esp, 0x10
mov edi, 0x80070002
mov ebx, dword [ebp - 0xdc0]
lea eax, [ebp - 0x210]
push edi
push eax
lea eax, [ebp - 0x828]
mov dword [ebp - 0xdf4], edi
push eax
push ebx
push 0x40a5b8
push 2
call fcn.0041e83a
add esp, 0x18
xor eax, eax
inc eax
cmp edi, eax
jne 0x43a629
mov dword [ebp - 0xdf0], eax
jmp 0x43a629
push 0x4059f8
push ebx
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x43a552
xor ecx, ecx
mov word [eax], cx
push 0x208
call fcn.00440dea
mov esi, eax
pop ecx
test esi, esi
je 0x43a629
lea eax, [ebp - 0x210]
mov edi, 0x104
push eax
mov edx, edi
mov ecx, esi
call fcn.0040c040
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push ebx
mov edx, edi
mov ecx, esi
call fcn.0040c075
xor eax, eax
xor edx, edx
inc eax
mov ecx, esi
push eax
xor eax, eax
push eax
push eax
call fcn.0042086f
mov edi, eax
test edi, edi
jns 0x43a5bd
push edi
push esi
push 0x40a618
push 2
mov dword [ebp - 0xdf4], edi
call fcn.0041e83a
add esp, 0x10
jmp 0x43a5cd
push esi
push 0x40a600
push 4
call fcn.0041e83a
add esp, 0xc
xor eax, eax
inc eax
cmp edi, eax
jne 0x43a5da
mov dword [ebp - 0xdf0], eax
mov eax, dword [ebp - 0xdd8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x43a622
xor ebx, ebx
push ebx
call fcn.0042d06e
mov dword [ebp - 0xddc], eax
test eax, eax
je 0x43a609
push esi
mov ecx, eax
call fcn.0042204b
mov ebx, eax
mov eax, dword [ebp - 0xddc]
test ebx, ebx
je 0x43a61c
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push ebx
call fcn.00440db7
pop ecx
mov ebx, dword [ebp - 0xdc0]
push esi
call fcn.00440db7
pop ecx
push ebx
call fcn.00440db7
mov esi, dword [ebp - 0xe10]
pop ecx
lea eax, [ebp - 0xe38]
push eax
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x43a666
cmp esi, dword [ebp - 0xe04]
jbe 0x439a3c
jmp 0x43a666
push ebx
push 0x40a640
push 2
call fcn.0041e83a
add esp, 0xc
xor eax, eax
push 0x4059f8
push eax
call dword [sym.imp.msvcrt.dll_wcstok]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x439361
mov ebx, dword [ebp - 0xdf0]
push dword [ebp - 0xdf8]
call fcn.00440db7
pop ecx
test edi, edi
js 0x43a6a0
mov eax, dword [ebp - 0xdf4]
test eax, eax
jne 0x43a6a2
mov eax, edi
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x43a6b1
neg ebx
sbb ebx, ebx
not ebx
and eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441130
leave
ret 0x10