Function at 0x4398a3
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xe6c
mov eax, dword [0x4434f4]
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 - 0xe04], ecx
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0xddc], edx
mov dword [ebp - 0xdd4], eax
mov dword [ebp - 0xdf0], ebx
mov dword [ebp - 0xdf4], ebx
mov dword [ebp - 0xde0], ebx
mov dword [ebp - 0xdec], ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea edi, [ecx + 1]
cmp eax, 0xffffffff
je 0x43ad88
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x439936
push ecx
push esi
push eax
mov ecx, edx
call fcn.00438290
test eax, eax
jne 0x439923
mov ecx, dword [ebp + 0x10]
xor edx, edx
inc edx
mov dword [ebp - 0xde0], edx
jmp 0x439939
mov ecx, 0x80004005
cmp eax, ecx
jne 0x439933
mov eax, ecx
jmp 0x43ad99
mov ecx, dword [ebp + 0x10]
xor edx, edx
inc edx
mov eax, 0x40aa28
test ecx, ecx
jne 0x439947
mov eax, 0x40aa54
test esi, esi
jne 0x439950
mov esi, 0x40aad0
push edx
push eax
push esi
lea eax, [ebp - 0xe40]
xor ecx, ecx
push eax
lea edx, [ebp - 0xdd4]
call fcn.00436af8
test eax, eax
je 0x43ad88
mov ecx, dword [ebp + 0x10]
neg ecx
sbb ecx, ecx
add ecx, 0x26dd
call fcn.0041dffe
lea ecx, [ebp - 0xe40]
call fcn.0043699f
mov edx, eax
mov dword [ebp - 0xdf8], edx
test edx, edx
je 0x43ad88
mov edx, dword [ebp - 0xddc]
mov edx, dword [edx + 0x10]
test edx, edx
je 0x43ad6e
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0xdf0]
jne 0x4399b2
sub ecx, esi
sar ecx, 1
lea eax, [ecx + ecx]
cmp eax, 0x208
jae 0x43ad6e
push edx
mov edx, 0x104
lea ecx, [ebp - 0x828]
call fcn.0040c010
lea eax, [ebp - 0x828]
push eax
push 0x40a4f4
push 4
call fcn.0041ea5f
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x4059e8
push dword [ebp - 0xdf8]
call dword [sym.imp.msvcrt.dll_wcstok]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x43ad68
fldz
fstp qword [ebp - 0xe28]
mov dword [ebp - 0xe00], 0x3c
mov dword [ebp - 0xdfc], 0xffff
mov dword [ebp - 0xdf0], 0x18
xor esi, esi
mov eax, 0x40aa28
mov dword [ebp - 0xdbc], esi
cmp dword [ebp + 0x10], esi
jne 0x439a61
mov eax, 0x40aa54
push ebx
push eax
push 0x40a510
push 4
call fcn.0041ea5f
add esp, 0x10
lea eax, [ebp - 0xe68]
lea edx, [ebp - 0xdd4]
xor ecx, ecx
push esi
push ebx
push 0x40a9d8
push eax
call fcn.00436af8
test eax, eax
jne 0x439ab8
push esi
push 0x40aab0
push 0x40a9d8
lea eax, [ebp - 0xe68]
xor ecx, ecx
push eax
lea edx, [ebp - 0xdd4]
call fcn.00436af8
test eax, eax
je 0x43ad3e
lea ecx, [ebp - 0xe68]
call fcn.0043699f
mov dword [ebp - 0xdd0], eax
test eax, eax
je 0x43ad3e
push eax
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.0040c010
lea eax, [ebp - 0x210]
push 0x4059e8
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
mov esi, eax
mov dword [ebp - 0xdcc], esi
pop ecx
pop ecx
test esi, esi
je 0x439b21
xor eax, eax
lea ecx, [ebp - 0xc38]
mov word [esi], ax
mov edx, 0x104
add esi, 2
push esi
mov dword [ebp - 0xdcc], esi
call fcn.0040c010
cmp dword [ebp - 0xe04], 0
je 0x439ba8
xor eax, eax
push 2
mov dword [ebp - 0xdc8], eax
lea eax, [ebp - 0x210]
push 0x404394
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x439b71
lea eax, [ebp - 0xdc8]
push eax
lea eax, [ebp - 0x210]
push 0x40439c
push eax
call dword [sym.imp.msvcrt.dll_swscanf]
mov eax, dword [ebp - 0xdc8]
add esp, 0xc
jmp 0x439b7f
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 - 0xe04]
push eax
call fcn.004362a5
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0xdbc], ecx
test eax, eax
je 0x439fe2
xor eax, eax
mov dword [ebp - 0xdc8], eax
lea eax, [ebp - 0xdc8]
push eax
lea eax, [ebp - 0x210]
push 0x4043d0
push eax
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0xc
test eax, eax
je 0x43a0c5
mov eax, dword [ebp - 0xdc8]
cmp eax, 0xffffffff
je 0x43a0c5
cmp eax, 0x19
ja 0x439e63
je 0x439e4c
cmp eax, 0x11
ja 0x439d22
je 0x439cd8
xor ecx, ecx
sub eax, ecx
je 0x439e9c
sub eax, 1
je 0x439c99
sub eax, 9
je 0x439e4c
sub eax, 1
je 0x439c85
sub eax, 1
jne 0x439fd4
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x439c47
xor eax, eax
mov esi, eax
jmp 0x439c6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x439c58
push 0x57
pop esi
test esi, esi
jle 0x439c63
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x43a0c5
push 0x409934
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.0041fb3c
jmp 0x439ea1
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x439cab
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x439eaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x439cc4
push 0x57
pop esi
test esi, esi
jle 0x439ea1
movzx esi, si
or esi, 0x80070000
jmp 0x439ea1
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x439cf4
xor eax, eax
mov esi, eax
jmp 0x439d18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x439d05
push 0x57
pop esi
test esi, esi
jle 0x439d10
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x43a0c5
push 0x409948
jmp 0x439c70
sub eax, 0x12
je 0x439e02
dec eax
sub eax, 1
je 0x439db8
sub eax, 1
je 0x439e9c
dec eax
sub eax, 1
je 0x439e9c
sub eax, 1
jne 0x439fd4
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x439d6d
xor eax, eax
mov esi, eax
jmp 0x439d91
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x439d7e
push 0x57
pop esi
test esi, esi
jle 0x439d89
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x43a0c5
lea eax, [ebp - 0x210]
push 0x4043d8
push eax
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x439ea1
xor ecx, ecx
mov word [eax + 4], cx
jmp 0x439ea1
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x439dd4
xor eax, eax
mov esi, eax
jmp 0x439df8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x439de5
push 0x57
pop esi
test esi, esi
jle 0x439df0
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x43a0c5
push 0x409960
jmp 0x439c70
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x439e1e
xor eax, eax
mov esi, eax
jmp 0x439e42
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x439e2f
push 0x57
pop esi
test esi, esi
jle 0x439e3a
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x43a0c5
push 0x409954
jmp 0x439c70
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
jmp 0x439cab
cmp eax, 0x4019
ja 0x439f53
cmp eax, 0x4016
jae 0x439e9c
cmp eax, 0x1e
je 0x439e9c
cmp eax, 0x32
je 0x439e9c
cmp eax, 0x33
je 0x439f09
cmp eax, 0x34
je 0x439ebf
jbe 0x43a0c5
cmp eax, 0x37
ja 0x43a0c5
mov esi, 0x80004005
test esi, esi
jne 0x43a0c5
mov esi, dword [ebp - 0xdcc]
xor eax, eax
lea ecx, [eax + 1]
mov dword [ebp - 0xdbc], ecx
jmp 0x439fda
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x439edb
xor eax, eax
mov esi, eax
jmp 0x439eff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x439eec
push 0x57
pop esi
test esi, esi
jle 0x439ef7
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x43a0c5
push 0x409980
jmp 0x439c70
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x439f25
xor eax, eax
mov esi, eax
jmp 0x439f49
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x439f36
push 0x57
pop esi
test esi, esi
jle 0x439f41
movzx esi, si
or esi, 0x80070000
test esi, esi
jne 0x43a0c5
push 0x409970
jmp 0x439c70
sub eax, 0x401f
je 0x439e9c
sub eax, 4
je 0x439fbd
sub eax, 3
je 0x439fab
sub eax, 5
je 0x439f99
sub eax, 0x3825
jne 0x439fd4
lea edx, [eax + 1]
lea ecx, [ebp - 0x210]
call fcn.0041fda0
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
jmp 0x439ea1
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.00435ca2
jmp 0x439fcd
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.004358e8
jmp 0x439fcd
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.00435ec8
mov esi, eax
jmp 0x439ea1
mov ecx, dword [ebp - 0xdbc]
test ecx, ecx
je 0x43a0c5
test esi, esi
je 0x43a028
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 0x439ffe
sub ecx, edx
lea eax, [ebp - 0xc38]
sar ecx, 1
mov edx, 0x104
sub edx, ecx
lea ecx, [ebp - 0x210]
push eax
call fcn.0040c045
jmp 0x43a02a
xor esi, esi
cmp dword [ebp + 0x10], 0
je 0x43a0a1
lea eax, [ebp - 0x210]
mov edx, 0x104
push eax
lea ecx, [ebp - 0xa30]
call fcn.0040c010
test eax, eax
js 0x43a096
lea ecx, [ebp - 0xa30]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x43a054
sub ecx, edx
sar ecx, 1
je 0x43a080
cmp word [ebp + ecx*2 - 0xa32], 0x5c
jne 0x43a080
test ecx, ecx
je 0x43a080
xor eax, eax
mov word [ebp + ecx*2 - 0xa32], ax
jmp 0x43a04b
lea eax, [ebp - 0xa30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43a096
test al, 0x10
jne 0x43a0a1
lea ecx, [ebp - 0x210]
call fcn.0041f49a
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push ebx
lea eax, [ebp - 0x210]
push eax
push 0x40a530
push 4
call fcn.0041ea5f
add esp, 0x10
push dword [ebp - 0xdd0]
call fcn.00441807
cmp dword [ebp - 0xdbc], 0
pop ecx
je 0x43ad3e
mov ecx, dword [ebp - 0xdd4]
lea eax, [ebp - 0xe40]
push eax
xor eax, eax
mov edx, ebx
push eax
call fcn.00422ff3
test eax, eax
je 0x43ad4e
mov ecx, dword [ebp - 0xdd4]
xor eax, eax
mov edx, ebx
lea esi, [eax + 1]
call fcn.00422ea6
mov ebx, eax
mov ecx, ebx
mov dword [ebp - 0xe08], ebx
call fcn.0041de27
xor eax, eax
inc eax
cmp ebx, eax
jb 0x43ad4e
mov ecx, esi
call fcn.0041dfa0
inc esi
lea ecx, [ebp - 0xe40]
mov dword [ebp - 0xe14], esi
call fcn.0043699f
mov ebx, eax
mov dword [ebp - 0xdbc], ebx
test ebx, ebx
je 0x43ad1e
cmp dword [ebp + 0x10], 0
push 0x4059e8
push ebx
je 0x43ac5d
xor eax, eax
mov dword [ebp - 0xdc0], 0x40
mov esi, eax
mov dword [ebp - 0xdcc], eax
mov dword [ebp - 0xdc8], 3
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
xor ecx, ecx
lea ebx, [ecx + 1]
test eax, eax
je 0x43a253
xor ecx, ecx
lea edi, [eax + 2]
mov word [eax], cx
mov eax, ebx
sub eax, 1
je 0x43a1ee
sub eax, 1
je 0x43a1e6
sub eax, 1
je 0x43a1cf
cmp dword [0x443534], 0xffffffff
jne 0x43a1c0
push ecx
push 5
pop edx
call fcn.0041fb3c
push 5
mov edx, 0x40a558
pop ecx
call fcn.0041e988
jmp 0x43a1f0
test edi, edi
je 0x43a1dc
mov ecx, edi
call fcn.0041fb3c
jmp 0x43a1de
xor eax, eax
mov dword [ebp - 0xdc0], eax
jmp 0x43a1f0
mov dword [ebp - 0xdcc], edi
jmp 0x43a1f0
mov esi, edi
push 0x4059e8
push edi
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
inc ebx
pop ecx
test eax, eax
jne 0x43a195
xor ebx, ebx
test esi, esi
je 0x43a226
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43a20e
sub ecx, edx
sar ecx, 1
cmp ecx, 2
sbb eax, eax
not eax
and esi, eax
mov edi, dword [ebp - 0xdcc]
test edi, edi
je 0x43a253
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43a235
sub ecx, edx
sar ecx, 1
cmp ecx, 2
sbb eax, eax
not eax
and eax, edi
mov dword [ebp - 0xdcc], eax
mov eax, dword [ebp - 0xddc]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x43a27d
xor ecx, ecx
cmp dword [eax + 0x50], ecx
jne 0x43a27d
mov eax, dword [ebp - 0xdc0]
test eax, 0x1000000
jne 0x43a27d
and eax, 0xffffffbf
mov dword [ebp - 0xdc0], eax
xor eax, eax
lea ecx, [ebp - 0x418]
mov dword [ebp - 0xdd0], eax
mov ebx, eax
mov dword [ebp - 0xde8], eax
mov edi, 0x103
mov dword [ebp - 0xdd8], eax
mov edx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.0040c010
lea eax, [ebp - 0x210]
mov edx, edi
push eax
lea ecx, [ebp - 0x620]
call fcn.0040c010
test esi, esi
je 0x43a2e0
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push esi
lea edx, [edi + 1]
lea ecx, [ebp - 0x418]
call fcn.0040c045
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov edi, dword [ebp - 0xdbc]
lea ecx, [ebp - 0x620]
push edi
mov edx, 0x104
call fcn.0040c045
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43a31a
test al, 0x10
je 0x43a33c
test esi, esi
jne 0x43a33c
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push edi
mov edx, 0x104
lea ecx, [ebp - 0x418]
call fcn.0040c045
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43abee
test al, 0x10
jne 0x43abee
mov eax, dword [ebp - 0xdc0]
test eax, 0x400
je 0x43a418
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43a385
test al, 0x10
je 0x43a412
lea eax, [ebp - 0x418]
push eax
push 0x404b98
push 4
call fcn.0041ea5f
add esp, 0xc
xor eax, eax
lea edi, [eax + 1]
mov ebx, dword [ebp - 0xdbc]
mov eax, dword [ebp - 0xddc]
xor ecx, ecx
cmp dword [eax + 0xc], ecx
je 0x43ac47
push 0x208
call fcn.0044183a
mov esi, eax
pop ecx
test esi, esi
je 0x43ac47
lea eax, [ebp - 0x210]
mov edx, 0x104
push eax
mov ecx, esi
call fcn.0040c010
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push ebx
mov edx, 0x104
mov ecx, esi
call fcn.0040c045
push ecx
xor eax, eax
push eax
mov eax, dword [ebp - 0xddc]
push esi
mov ecx, dword [eax + 0xc]
call fcn.0042bd24
push esi
call fcn.00441807
pop ecx
jmp 0x43ac47
mov eax, dword [ebp - 0xdc0]
test al, 0x10
je 0x43a449
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43a443
test al, 0x10
jne 0x43a443
lea eax, [ebp - 0x418]
push eax
push 0x404c28
jmp 0x43a391
mov eax, dword [ebp - 0xdc0]
test al, 4
je 0x43a4a3
lea eax, [ebp - 0x418]
push eax
push 0x404cb0
push 4
call fcn.0041ea5f
add esp, 0xc
cmp dword [ebp - 0xde0], ebx
je 0x43a476
lea ecx, [ebp - 0x418]
call fcn.00421555
cmp dword [ebp - 0xdc0], 8
je 0x43ab7b
lea edx, [ebp - 0x620]
lea ecx, [ebp - 0x418]
call fcn.0042146e
test eax, eax
je 0x43ab7b
xor eax, eax
jmp 0x43abca
lea eax, [ebp - 0xde4]
xor esi, esi
push eax
lea eax, [ebp - 0x620]
mov dword [ebp - 0xde4], esi
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x43a6c6
lea ecx, [ebp - 0x620]
call fcn.0041f47f
test eax, eax
je 0x43ab30
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 0x43ab30
lea eax, [ebp - 0xe50]
mov dword [ebp - 0xdc4], 0x80004005
push eax
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x43a6b7
lea eax, [ebp - 0xc48]
push eax
lea eax, [ebp - 0xe50]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x43a6b7
push 0xac
lea eax, [ebp - 0xdb8]
push esi
push eax
call sub.msvcrt.dll_memset
movzx eax, word [ebp - 0xc48]
add esp, 0xc
movzx esi, word [ebp - 0xc46]
mov dword [ebp - 0xde8], eax
movzx eax, word [ebp - 0xc42]
shl esi, 0x10
or esi, eax
xor eax, eax
mov dword [ebp - 0xdd0], esi
mov esi, eax
lea eax, [ebp - 0xdb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x43a6bd
mov ecx, dword [ebp - 0xdb8]
test ecx, ecx
jle 0x43a5a4
movzx eax, cx
jmp 0x43a5ab
mov eax, ecx
neg eax
movzx eax, ax
movzx eax, ax
xor edx, edx
div dword [ebp - 0xe00]
movzx edx, ax
xor eax, eax
inc eax
cmp ecx, eax
mov ax, word [ebp - 0xc40]
mov cx, word [ebp - 0xc42]
jge 0x43a5d3
add ax, dx
jmp 0x43a5f0
cmp ax, dx
jae 0x43a5ed
add cx, word [ebp - 0xdfc]
add ax, word [ebp - 0xdf0]
mov word [ebp - 0xc42], cx
sub ax, dx
push 0x17
pop edx
mov word [ebp - 0xc40], ax
cmp ax, dx
jbe 0x43a64f
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 0x43a64f
mov ax, word [ebp - 0xc46]
xor ecx, ecx
inc ecx
inc ax
push 0xd
pop edx
mov word [ebp - 0xc42], cx
mov word [ebp - 0xc46], ax
cmp ax, dx
jne 0x43a64f
inc word [ebp - 0xc48]
mov word [ebp - 0xc46], cx
fld qword [ebp - 0xe28]
lea eax, [ebp - 0xe20]
push eax
lea eax, [ebp - 0xc48]
push eax
fstp qword [ebp - 0xe20]
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
test eax, eax
je 0x43a6bd
fld qword [ebp - 0xe20]
lea eax, [ebp - 0xc48]
push eax
push ecx
push ecx
fstp qword [esp]
call dword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x43a6bd
movzx eax, word [ebp - 0xc48]
movzx ecx, word [ebp - 0xc46]
mov dword [ebp - 0xde8], eax
movzx eax, word [ebp - 0xc42]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0xdd0], ecx
jmp 0x43a6bd
mov esi, dword [ebp - 0xdc4]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43a740
push edi
call fcn.0044183a
mov esi, eax
pop ecx
test esi, esi
je 0x43ab2e
push esi
push edi
xor edi, edi
mov dword [ebp - 0xdc4], 0x80004005
push edi
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43a733
lea eax, [ebp - 0xe44]
push eax
lea eax, [ebp - 0xe10]
push eax
push 0x4043e0
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43a733
mov eax, dword [ebp - 0xe10]
mov dword [ebp - 0xdc4], edi
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xde8], ecx
mov dword [ebp - 0xdd0], eax
push esi
call fcn.00441807
mov esi, dword [ebp - 0xdc4]
pop ecx
test esi, esi
jne 0x43ab2e
lea eax, [ebp - 0xde4]
mov dword [ebp - 0xde4], esi
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
jne 0x43a95f
lea ecx, [ebp - 0x418]
call fcn.0041f47f
test eax, eax
je 0x43ab1d
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 0x43ab1d
lea eax, [ebp - 0xe58]
mov dword [ebp - 0xdc4], 0x80004005
push eax
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x43a94a
lea eax, [ebp - 0xc58]
push eax
lea eax, [ebp - 0xe58]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x43a94a
push 0xac
lea eax, [ebp - 0xd08]
push esi
push eax
call sub.msvcrt.dll_memset
movzx eax, word [ebp - 0xc58]
add esp, 0xc
movzx ebx, word [ebp - 0xc56]
mov dword [ebp - 0xdd8], eax
movzx eax, word [ebp - 0xc52]
shl ebx, 0x10
or ebx, eax
lea eax, [ebp - 0xd08]
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x43a950
mov ecx, dword [ebp - 0xd08]
test ecx, ecx
jle 0x43a83d
movzx eax, cx
jmp 0x43a844
mov eax, ecx
neg eax
movzx eax, ax
movzx eax, ax
xor edx, edx
div dword [ebp - 0xe00]
movzx edx, ax
xor eax, eax
inc eax
cmp ecx, eax
mov ax, word [ebp - 0xc50]
mov cx, word [ebp - 0xc52]
jge 0x43a86c
add ax, dx
jmp 0x43a889
cmp ax, dx
jae 0x43a886
add cx, word [ebp - 0xdfc]
add ax, word [ebp - 0xdf0]
mov word [ebp - 0xc52], cx
sub ax, dx
push 0x17
pop edx
mov word [ebp - 0xc50], ax
cmp ax, dx
jbe 0x43a8e8
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 0x43a8e8
mov ax, word [ebp - 0xc56]
xor ecx, ecx
inc ecx
inc ax
push 0xd
pop edx
mov word [ebp - 0xc52], cx
mov word [ebp - 0xc56], ax
cmp ax, dx
jne 0x43a8e8
inc word [ebp - 0xc58]
mov word [ebp - 0xc56], cx
fld qword [ebp - 0xe28]
lea eax, [ebp - 0xe30]
push eax
lea eax, [ebp - 0xc58]
push eax
fstp qword [ebp - 0xe30]
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
test eax, eax
je 0x43a950
fld qword [ebp - 0xe30]
lea eax, [ebp - 0xc58]
push eax
push ecx
push ecx
fstp qword [esp]
call dword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
test eax, eax
je 0x43a950
movzx eax, word [ebp - 0xc58]
movzx ebx, word [ebp - 0xc56]
mov dword [ebp - 0xdd8], eax
movzx eax, word [ebp - 0xc52]
shl ebx, 0x10
or ebx, eax
jmp 0x43a950
mov esi, dword [ebp - 0xdc4]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0xdd8]
jmp 0x43a9d7
push edi
call fcn.0044183a
mov esi, eax
pop ecx
test esi, esi
je 0x43ab1d
push esi
push edi
xor eax, eax
mov dword [ebp - 0xdc4], 0x80004005
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43a9c4
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0xe0c]
push eax
push 0x4043e0
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43a9c4
mov eax, dword [ebp - 0xe0c]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
xor eax, eax
mov dword [ebp - 0xdc4], eax
jmp 0x43a9ca
mov edi, dword [ebp - 0xdd8]
push esi
call fcn.00441807
mov esi, dword [ebp - 0xdc4]
pop ecx
test esi, esi
jne 0x43ab1d
mov eax, edi
shr eax, 0x10
cdq
mov ecx, eax
mov esi, edx
shld esi, ecx, 0x10
movzx eax, di
cdq
shl ecx, 0x10
or esi, edx
or ecx, eax
mov eax, ebx
shr eax, 0x10
cdq
shld esi, ecx, 0x10
shl ecx, 0x10
or esi, edx
or ecx, eax
movzx eax, bx
cdq
shld esi, ecx, 0x10
shl ecx, 0x10
or esi, edx
or ecx, eax
mov dword [ebp - 0xde4], ecx
mov ecx, dword [ebp - 0xde8]
mov eax, ecx
shr eax, 0x10
cdq
mov ebx, eax
mov edi, edx
shld edi, ebx, 0x10
movzx eax, cx
mov ecx, dword [ebp - 0xdd0]
shl ebx, 0x10
cdq
or ebx, eax
or edi, edx
shld edi, ebx, 0x10
mov eax, ecx
shr eax, 0x10
shl ebx, 0x10
cdq
or ebx, eax
or edi, edx
shld edi, ebx, 0x10
movzx eax, cx
cdq
shl ebx, 0x10
or edi, edx
or ebx, eax
mov eax, dword [ebp - 0xde4]
cmp ebx, eax
jne 0x43aa78
cmp esi, edi
jne 0x43aa7a
xor edi, edi
inc edi
mov esi, edi
jmp 0x43aa98
cmp esi, edi
jb 0x43aa92
ja 0x43aa82
cmp eax, ebx
jbe 0x43aa92
mov ebx, dword [ebp - 0xdc0]
xor esi, esi
mov dword [ebp - 0xdc8], esi
jmp 0x43aaaf
push 2
xor edi, edi
pop esi
inc edi
mov ebx, dword [ebp - 0xdc0]
mov dword [ebp - 0xdc8], esi
test bl, 0x40
jne 0x43ab02
cmp esi, edi
jne 0x43ab02
xor esi, esi
lea eax, [ebp - 0x418]
push eax
push 0x404e20
push 4
call fcn.0041ea5f
add esp, 0xc
cmp dword [ebp - 0xde0], 0
je 0x43aad9
lea ecx, [ebp - 0x418]
call fcn.00421555
test bl, 8
jne 0x43ab7b
lea edx, [ebp - 0x620]
lea ecx, [ebp - 0x418]
call fcn.0042146e
test eax, eax
je 0x43ab7b
mov edi, esi
jmp 0x43abbf
lea eax, [ebp - 0x620]
push eax
push 0x404e80
push 4
call fcn.0041ea5f
add esp, 0xc
jmp 0x43a3a0
lea eax, [ebp - 0x418]
push eax
push 0x404dc0
jmp 0x43a391
xor esi, esi
lea eax, [ebp - 0x620]
push eax
push 0x404d68
push 4
call fcn.0041ea5f
add esp, 0xc
cmp dword [ebp - 0xde0], ebx
je 0x43ab59
lea ecx, [ebp - 0x418]
call fcn.00421555
cmp dword [ebp - 0xdc0], 8
je 0x43ab7b
lea edx, [ebp - 0x620]
lea ecx, [ebp - 0x418]
call fcn.0042146e
test eax, eax
je 0x43ab7b
mov edi, esi
jmp 0x43abcc
lea eax, [ebp - 0x620]
push eax
push 0x404d10
push 2
call fcn.0041ea5f
add esp, 0xc
lea edx, [ebp - 0x620]
xor eax, eax
lea ecx, [ebp - 0x418]
inc eax
push eax
mov eax, dword [ebp - 0xdcc]
push eax
push dword [ebp - 0xde0]
call fcn.00420b04
mov edi, eax
test eax, eax
js 0x43ac1c
jne 0x43a3a0
xor eax, eax
inc eax
cmp dword [ebp - 0xdc8], eax
jne 0x43abcc
mov edi, eax
mov ebx, dword [ebp - 0xdbc]
lea eax, [ebp - 0x210]
push eax
push ebx
push 0x40a588
push 4
call fcn.0041ea5f
add esp, 0x10
jmp 0x43a3a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43ac00
movzx eax, ax
or eax, 0x80070000
push eax
lea eax, [ebp - 0x418]
push eax
push 0x404b50
push 2
call fcn.0041ea5f
add esp, 0x10
mov edi, 0x80070002
mov ebx, dword [ebp - 0xdbc]
lea eax, [ebp - 0x210]
push edi
push eax
lea eax, [ebp - 0x828]
mov dword [ebp - 0xdf4], edi
push eax
push ebx
push 0x40a5a8
push 2
call fcn.0041ea5f
add esp, 0x18
xor eax, eax
inc eax
cmp edi, eax
jne 0x43ad11
mov dword [ebp - 0xdec], eax
jmp 0x43ad11
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x43ac6e
xor ecx, ecx
mov word [eax], cx
push 0x208
call fcn.0044183a
mov esi, eax
pop ecx
test esi, esi
je 0x43ad11
lea eax, [ebp - 0x210]
mov edi, 0x104
push eax
mov edx, edi
mov ecx, esi
call fcn.0040c010
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push ebx
mov edx, edi
mov ecx, esi
call fcn.0041fb3c
xor eax, eax
xor edx, edx
inc eax
mov ecx, esi
push eax
xor eax, eax
push eax
push eax
call fcn.00420b04
mov edi, eax
test edi, edi
jns 0x43acd9
push edi
push esi
push 0x40a608
push 2
mov dword [ebp - 0xdf4], edi
call fcn.0041ea5f
add esp, 0x10
jmp 0x43ace9
push esi
push 0x40a5f0
push 4
call fcn.0041ea5f
add esp, 0xc
xor eax, eax
inc eax
cmp edi, eax
jne 0x43acf6
mov dword [ebp - 0xdec], eax
mov eax, dword [ebp - 0xddc]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x43ad0a
push ecx
push esi
call fcn.0042d962
push esi
call fcn.00441807
pop ecx
push ebx
call fcn.00441807
mov esi, dword [ebp - 0xe14]
pop ecx
lea eax, [ebp - 0xe40]
push eax
push eax
call dword [sym.imp.SETUPAPI.dll_SetupFindNextLine]
test eax, eax
je 0x43ad4e
cmp esi, dword [ebp - 0xe08]
jbe 0x43a129
jmp 0x43ad4e
push ebx
push 0x40a630
push 2
call fcn.0041ea5f
add esp, 0xc
xor eax, eax
push 0x4059e8
push eax
call dword [sym.imp.msvcrt.dll_wcstok]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x439a4a
mov ebx, dword [ebp - 0xdec]
push dword [ebp - 0xdf8]
call fcn.00441807
pop ecx
test edi, edi
js 0x43ad88
mov eax, dword [ebp - 0xdf4]
test eax, eax
jne 0x43ad8a
mov eax, edi
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x43ad99
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.00441b90
mov esp, ebp
pop ebp
ret 0x10