Function at 0x41d6f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ddfbb
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x67432c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004524ef
test al, al
je 0x41d738
inc edi
bound esp, qword [esi]
outsd dx, dword [esi]
cwde
and ebp, ebx
inc edi
mov ecx, 0x50cd5cf6
int 0x50
jns 0x41d793
stosd dword es:[edi], eax
call fcn.004521f8
test al, al
je 0x41d760
xchg edi, eax
fsubr qword [edx]
sbb dword [ecx + edx*2 - 0x23], 0xbd567772
arpl word [ecx + 0x13], bp
cli
push ecx
mov ecx, 0xc7849f56
sub byte [esi - 0x69be69e1], ah
pop ebx
retf 0xfd94
call fcn.00452015
test al, al
je 0x41d77f
mov ch, 0x35
adc edx, dword [edx + 0x17]
movsb byte es:[edi], byte [esi]
jmp 0x41d732
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00480640
push 0x208
or byte [edx], al
add byte [eax], al
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00480640
add esp, 0x18
mov dword [ebp - 0x424], 7
xor eax, eax
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x438]
mov word [ebp - 0x438], ax
push eax
push 0x5e6948
call fcn.00402ad0
mov dword [ebp - 4], 0
mov dword [ebp - 0x43c], 0
call fcn.00452603
test al, al
je 0x41d803
add byte [eax], al
add byte [ebp - 0x43773], cl
jmp dword [esi - 0x77]
bound ebx, qword [0x3a4b41c8]
mov al, 0x24
lodsd eax, dword [esi]
lcall 0x22e2, 0x6a544bf
invalid
call fcn.00452579
test al, al
je 0x41d827
wait
loope 0x41d7bb
lcall 0xd463, 0x269f937f
cmp al, 0x78
jae 0x41d823
scasd eax, dword es:[edi]
mov dh, 0x9e
adc dword [eax + ebp - 0xf35f45d], 0xe80cb4ab
or byte [ebp + 3], cl
add byte [eax + eax*8 - 0x3fce68c], al
invalid
call fcn.00452534
test al, al
je 0x41d849
add edi, esp
push es
push 0x811b9f6a
mov bh, 0xeb
out 0x55, al
sbb al, 0xb7
jg 0x41d85a
cli
mov byte [0xbfd7a0cc], al
xchg ebp, eax
or byte [ebx + 0x5e63c035], 0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x420]
push 0
push 0x17
push eax
push 0
call esi
test eax, eax
je 0x41d913
call fcn.00451fd0
test al, al
je 0x41d883
mov eax, dword [0x941f9274]
retf 0x98da
push 0x5e7d40
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x5e89d4
push eax
call fcn.00407f60
add esp, 0x10
cmp word [ebp - 0x218], 0
jne 0x41d8b1
xor ecx, ecx
jmp 0x41d8cf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d8c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00402ad0
push 7
push 0x5e7d40
lea ecx, [ebp - 0x438]
call fcn.00405da0
push 4
push 0x5e89e4
lea ecx, [ebp - 0x438]
call fcn.00405da0
mov ebx, 1
mov dword [ebp - 0x43c], ebx
jmp 0x41d915
xor ebx, ebx
push 0
push 0x19
lea eax, [ebp - 0x420]
push eax
push 0
call esi
test eax, eax
je 0x41da21
call fcn.0045223d
test al, al
je 0x41d945
jp 0x41d95b
outsb dx, byte [esi]
push esp
jmp 0x41d96d
call fcn.004525be
test al, al
je 0x41d96e
or al, 0xbf
inc esi
xchg edx, eax
sub esp, dword [eax + ebx*8 + 0x51]
pop esp
mov eax, dword [0x2a3a1da1]
wait
sub ah, byte [esi - 0x65]
sbb al, 0xc1
cmp ebx, ecx
dec esp
movsb byte es:[edi], byte [esi]
mov bl, 0x40
sub ch, byte [edi]
pushal
scasd eax, dword es:[edi]
sbb al, 0x15
add ah, dh
out 0xe8, al
pop ebp
inc esi
add eax, dword [eax]
call fcn.00451fd0
test al, al
je 0x41d995
adc dword [edx - 0x1d], esi
dec ecx
mov dl, byte [edx + eax*2 - 0x45]
mov word [ecx + 0x44ba2668], fs
xchg byte [ebx - 0x44], bh
test dword [eax + 0x2e52eda4], 0x31246cf1
lcall 0x5e7d, 0x40681c9d
add byte [ebp - 0x41f7b], cl
call dword [eax - 0x73]
test eax, ebp
std
invalid
push 0x5e7d40
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x5e89d4
push eax
call fcn.00407f60
add esp, 0x10
cmp word [ebp - 0x218], 0
jne 0x41d9c3
xor ecx, ecx
jmp 0x41d9df
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d9d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00402ad0
push 7
push 0x5e7d40
lea ecx, [ebp - 0x438]
call fcn.00405da0
push 4
push 0x5e89e4
lea ecx, [ebp - 0x438]
call fcn.00405da0
mov ebx, 1
mov dword [ebp - 0x43c], ebx
call fcn.0045223d
test al, al
je 0x41da3a
insb byte es:[edi], dx
das
adc eax, 0xb694180a
xchg dword [esi + 1], esi
add ch, cl
pop ebp
and ebx, ebx
bnd call fcn.004525be
call fcn.004525be
test al, al
je 0x41da69
dec esp
sub bl, byte [edx + 0x3c]
adc dl, byte [edi]
xchg byte [edx - 0x378db38d], bh
add esp, dword [ecx]
cmp byte [eax], bl
test al, 0x7e
sub eax, edx
ljmp 0xd12a
call fcn.00451fd0
test al, al
je 0x41da90
daa
out dx, eax
add eax, 0x1d4d32c1
xchg dword [edx - 0xb], edi
mov esp, 0x626af5c6
push cs
xchg edi, eax
loop 0x41dafe
sub dword [esi + 0x7e], eax
cdq
or bl, byte [ecx + 0x5362898e]
test ebx, ebx
je 0x41daba
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41daba
mov esi, 1
jmp 0x41dad6
call fcn.004524aa
test al, al
je 0x41dad4
out dx, eax
iretd
xor esi, esi
mov ecx, dword [ebp - 0x424]
cmp ecx, 8
jb 0x41daf4
inc ecx
push ecx
push dword [ebp - 0x438]
lea ecx, [ebp - 0x438]
call fcn.00402c20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add byte [eax], al
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046d81d
mov esp, ebp
pop ebp
ret