Function at 0x47e510
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x810
mov ecx, dword [0x5b9fc0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5b9624]
cmp eax, dword [ecx + 8]
jg 0x47ecfd
cmp dword [0x5b95e4], 0
push ebx
push esi
push edi
je 0x47ecf4
xor eax, eax
mov dword [ebp - 0xc], 0
push eax
push 0x104
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.00402d00
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push dword [ebp - 0xc]
cmovae eax, dword [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
xor eax, eax
mov dword [ebp - 0x6c], 0
push 0x594568
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.00450cf0
lea ecx, [eax + 1]
cmp dword [ebp - 0xc], ecx
lea eax, [ebp - 0x1c]
cmovb ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], 8
push ecx
cmovae eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x7c]
push eax
call fcn.00402e60
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x47e605
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e5fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ee64
push edx
push ecx
call fcn.00531d2c
add esp, 8
mov esi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x38], 7
lea eax, [esi + 6]
push eax
call fcn.0040c460
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x7c]
push esi
cmovae eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x4c]
push eax
call fcn.00402350
push 6
push str.theme_
lea ecx, [ebp - 0x4c]
call fcn.00402350
mov edi, dword [ebp + 8]
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x47e659
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x4c]
push eax
call fcn.00402350
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x47e6c3
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47e6b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ee69
push edx
push ecx
call fcn.00531d2c
add esp, 8
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
mov ebx, dword [ebp - 0x34]
cmp edx, 8
mov eax, dword [ebp - 0x24]
cmovae ecx, ebx
cmp word [ecx + eax*2 - 8], 0x2e
je 0x47e6f2
push 4
push str..xml
lea ecx, [ebp - 0x34]
call fcn.00402350
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x34]
cmp edx, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
lea esi, [ebp - 0x34]
push eax
cmovae esi, ebx
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
cmp esi, 0xffffffff
je 0x47ece4
test esi, 0x10
jne 0x47ece4
push 0
lea ecx, [ebp - 0x1ec]
call fcn.00422360
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 0
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x1ec]
push eax
call fcn.00422620
test al, al
je 0x47ecd9
lea eax, [ebp - 0x604]
push eax
lea ecx, [ebp - 0x1ec]
call fcn.00422860
lea ecx, [ebp - 0x604]
call fcn.00422040
test al, al
je 0x47ecd9
cmp dword [edi + 0x14], 8
jb 0x47e78e
mov edi, dword [edi]
push edi
push str.LoadTheme:_s_n
call fcn.0046ffb0
add esp, 8
lea ecx, [ebp - 0x604]
call fcn.00422050
mov edx, eax
mov dword [ebp - 0xc], 0
mov ecx, edx
mov dword [ebp - 8], 7
xor eax, eax
mov word [ebp - 0x1c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47e7c2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.00402e60
mov ebx, dword [ebp - 8]
lea edi, [ebp - 0x1c]
mov esi, dword [ebp - 0x1c]
cmp ebx, 8
cmovae edi, esi
cmp dword [ebp - 0xc], 6
jne 0x47ec09
mov ecx, 0x59a878
mov edx, 6
sub edi, ecx
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x47ec09
add ecx, 2
sub edx, 1
jne 0x47e800
xor eax, eax
mov dword [ebp - 0x3c], edx
mov word [ebp - 0x4c], ax
lea ecx, [ebp - 0x604]
mov dword [ebp - 0x54], eax
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x3f8]
push eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x50], 7
call fcn.00421ff0
lea ecx, [ebp - 0x3f8]
call fcn.00422040
test al, al
je 0x47eb39
nop dword [eax + eax]
lea ecx, [ebp - 0x3f8]
call fcn.00422050
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x47e870
sub edx, esi
lea ecx, [ebp - 0x1c]
sar edx, 1
push edx
push eax
call fcn.00402e60
lea eax, [ebp - 0x1c]
push str.Color
push eax
call fcn.00407240
add esp, 8
test al, al
je 0x47ea8b
lea ecx, [ebp - 0x3f8]
call fcn.004221d0
xor edx, edx
mov dword [ebp - 4], eax
mov ecx, 7
mov dword [ebp - 0x9c], 0
xor edi, edi
mov dword [ebp - 0x98], ecx
mov word [ebp - 0xac], dx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], ecx
mov word [ebp - 0x94], dx
test eax, eax
jle 0x47ea37
nop dword [eax + eax]
push edi
lea ecx, [ebp - 0x3f8]
call fcn.00422070
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x47e901
sub edx, esi
lea ecx, [ebp - 0x4c]
sar edx, 1
push edx
push eax
call fcn.00402e60
push edi
lea ecx, [ebp - 0x3f8]
call fcn.004220c0
mov edx, eax
lea esi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x47e930
sub edx, esi
lea ecx, [ebp - 0x64]
sar edx, 1
push edx
push eax
call fcn.00402e60
cmp dword [ebp - 0x38], 8
lea esi, [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x3c]
cmovae esi, eax
cmp ebx, 4
jne 0x47e983
mov ecx, str.name
mov edx, ebx
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x47e980
add ecx, 2
sub edx, 1
jne 0x47e967
lea ecx, [ebp - 0xac]
jmp 0x47e9b7
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
lea esi, [ebp - 0x4c]
cmovae esi, eax
cmp ebx, 5
jne 0x47e9cb
mov eax, str.value
mov edx, ebx
sub esi, eax
nop dword [eax + eax]
mov cx, word [eax + esi]
cmp cx, word [eax]
jne 0x47e9cb
add eax, 2
sub edx, 1
jne 0x47e9a0
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
push eax
call fcn.00402e60
inc edi
cmp edi, dword [ebp - 4]
jl 0x47e8f0
cmp dword [ebp - 0x9c], 0
je 0x47e9f4
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00408620
add esp, 8
mov edx, dword [ebp - 0x80]
cmp edx, 8
jb 0x47ea31
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ea27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ee64
push edx
push ecx
call fcn.00531d2c
add esp, 8
mov ecx, dword [ebp - 0x98]
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
cmp ecx, 8
jb 0x47ea8b
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0xac]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ea81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ee64
push edx
push ecx
call fcn.00531d2c
add esp, 8
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x3f8]
call fcn.00421fa0
mov esi, eax
lea edi, [ebp - 0x3f8]
mov ecx, 0x83
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x3f8]
call fcn.00422040
test al, al
jne 0x47e860
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x47eaf9
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47eaef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ee6e
push edx
push ecx
call fcn.00531d2c
add esp, 8
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x47eb33
mov ecx, dword [ebp - 0x4c]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47eb29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ee6e
push edx
push ecx
call fcn.00531d2c
add esp, 8
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 8]
cmp ebx, 8
jb 0x47eb6d
lea ebx, [ebx*2 + 2]
mov eax, esi
cmp ebx, 0x1000
jb 0x47eb63
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ee6e
push ebx
push esi
call fcn.00531d2c
add esp, 8
lea ecx, [ebp - 0x1ec]
call fcn.004223a0
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x47ebb2
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47eba8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ee6e
push edx
push ecx
call fcn.00531d2c
add esp, 8
mov edx, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x47ec00
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ebf6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ee6e
push edx
push ecx
call fcn.00531d2c
add esp, 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, 8
jb 0x47ec3d
lea ebx, [ebx*2 + 2]
mov eax, esi
cmp ebx, 0x1000
jb 0x47ec33
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ee6e
push ebx
push esi
call fcn.00531d2c
add esp, 8
lea ecx, [ebp - 0x1ec]
call fcn.004223a0
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x47ec82
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ec78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ee6e
push edx
push ecx
call fcn.00531d2c
add esp, 8
mov edx, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x47ecf4
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47ecc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ee6e
push edx
push ecx
call fcn.00531d2c
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x1ec]
call fcn.004223a0
lea ecx, [ebp - 0x34]
call fcn.00403070
lea ecx, [ebp - 0x7c]
call fcn.00403070
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5b9624
call fcn.00532174
add esp, 4
cmp dword [0x5b9624], 0xffffffff
jne 0x47e539
xor eax, eax
mov dword [0x5b95cc], 0
xorps xmm0, xmm0
mov dword [0x5b95d0], 7
movups xmmword [0x5b9544], xmm0
push 6
movups xmmword [0x5b9580], xmm0
push str.center
movups xmmword [0x5b9590], xmm0
mov ecx, 0x5b95bc
mov word [0x5b95bc], ax
movaps xmm0, xmmword [0x57c460]
mov dword [0x5b95e4], eax
mov dword [0x5b95e8], 7
mov word [0x5b95d4], ax
mov dword [0x5b95fc], eax
mov dword [0x5b9600], 7
mov word [0x5b95ec], ax
mov byte [0x5b9540], al
mov dword [0x5b9554], eax
mov dword [0x5b9558], eax
mov dword [0x5b955c], 0x1010100
mov dword [0x5b9560], 0x10100
mov word [0x5b9564], 1
mov dword [0x5b9568], eax
mov dword [0x5b956c], eax
mov dword [0x5b9570], eax
mov dword [0x5b9574], 0x10101
mov dword [0x5b9578], 0x10101
mov word [0x5b957c], ax
mov byte [0x5b957e], al
mov dword [0x5b95a0], eax
movups xmmword [0x5b9604], xmm0
mov dword [0x5b95a4], 0x48
mov byte [0x5b95a8], al
mov dword [0x5b95ac], 0x48
mov byte [0x5b95b0], al
mov word [0x5b961c], ax
mov dword [0x5b9620], 0xff
mov byte [0x5b95b8], al
call fcn.00402e60
push 8
push str.gray.xml
mov ecx, 0x5b95d4
call fcn.00402e60
push 0
push 0x594564
mov ecx, 0x5b95ec
call fcn.00402e60
push 0x578670
call fcn.00531fa2
push 0x5b9624
call fcn.0053212a
add esp, 8
jmp 0x47e539
call fcn.0055e070
call fcn.0055e070
call fcn.0055e070
int3