Function at 0x41f830
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de301
mov eax, dword fs:[0]
push eax
sub esp, 0x288
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
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00480620
xor eax, eax
mov dword [ebp - 0x27c], 7
add esp, 0xc
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
push eax
push 0x5e6948
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x268], eax
mov word [ebp - 0x278], ax
call fcn.00402ac0
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x5e6948
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
call fcn.00402ac0
xor eax, eax
mov byte [ebp - 4], 2
push eax
push 0x5e6948
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00402ac0
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x5e6948
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00402ac0
mov byte [ebp - 4], 4
call fcn.004523f8
test al, al
je 0x41f97c
mov byte [edi], bl
lcall 0xbbb2, 0xd4017094
invalid
call fcn.0045225a
test al, al
je 0x41f99a
movsb byte es:[edi], byte [esi]
sub dword [ecx + 0x32ac85f8], eax
mov dword [esp + eax*2 + 0x2463b08a], 0x9b2171ce
shr eax, cl
adc al, 0x2a
add eax, dword [eax]
call fcn.004523b3
test al, al
je 0x41f9b5
adc bl, cl
ljmp 0x6ea7
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
push str.b8421
call fcn.004209b0
cmp word [ebp - 0x218], 0
jne 0x41f9d6
xor ecx, ecx
jmp 0x41f9ef
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f9e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x290]
call fcn.00402ac0
call fcn.004522e4
test al, al
je 0x41fa1f
mov eax, 0xfb5abe3
mov edi, 0x3f7e5b2b
mov al, byte [0x91ed404f]
xchg ebp, eax
fld qword [ebx - 0x2217b647]
add eax, dword es:[eax]
call fcn.00452101
test al, al
je 0x41fa46
mov byte [0x45524dcc], al
inc edx
xchg dword [edi + 0x62], esi
push ecx
sar edx, 1
mov ah, 0x6b
out dx, eax
cmp byte [edi + 0x3e], bh
sub al, 0xd6
push 0x55e5f8ab
stc
xchg esi, eax
push cs
inc edi
call fcn.004521d0
test al, al
je 0x41fa6e
les ecx, [ebx + 0x34]
salc
push ebx
dec esi
arpl word [ecx], bx
mov ah, 0xf3
pushfd
ror byte [ebp + 0x25d24873], 0x24
int3
cmp dword [ebp - 0x280], 0
jne 0x41fa86
push 0x74
call fcn.004587ef
add esp, 4
jmp 0x41fd66
call fcn.004523f8
test al, al
je 0x41fa9f
inc edx
aad 0x77
mov byte [0xe7be7748], al
adc dh, cl
dec ebp
insd dword es:[edi], dx
inc edi
and edx, dword [ecx]
imul esp, dword [ecx + 0x679464], 0x2f75c085
mov eax, dword [0x679464]
test eax, eax
jne 0x41fad7
push 0x15c
call fcn.0046d554
add esp, 4
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x41facc
mov ecx, eax
call fcn.00443ec0
jmp 0x41face
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x679464], eax
mov ecx, eax
call fcn.00471d04
mov edx, eax
cmp word [edx], 0
jne 0x41faea
xor ecx, ecx
jmp 0x41faff
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41faf0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00402ac0
push 0xc
push str.WWordMgr.exe
lea ecx, [ebp - 0x230]
call fcn.00405c20
mov eax, dword [0x679464]
test eax, eax
jne 0x41fb56
push 0x15c
call fcn.0046d554
add esp, 4
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x41fb4b
mov ecx, eax
call fcn.00443ec0
jmp 0x41fb4d
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x679464], eax
mov ecx, eax
call fcn.00471d04
mov edx, eax
cmp word [edx], 0
jne 0x41fb69
xor ecx, ecx
jmp 0x41fb7f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fb70
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.00402ac0
push 0xc
push str.WWordMgr.dll
lea ecx, [ebp - 0x248]
call fcn.00405c20
call fcn.004523f8
test al, al
je 0x41fbc4
dec edx
pushfd
mov eax, dword [0x3e6c2823]
cmp eax, 0x86c1b291
dec ecx
or ch, byte [esi + edi*4]
lodsb al, byte [esi]
adc dword [edx], edi
lea edx, [ebp - 0x7b3b41f6]
invalid
call fcn.0045250c
test al, al
je 0x41fbeb
or eax, 0xdcb3328b
stc
pop edx
ret 0x4743
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x278]
call fcn.004029a0
push 0xc
push str.WWordMgr.exe
lea ecx, [ebp - 0x278]
call fcn.00405c20
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x260]
call fcn.004029a0
push 0xc
push str.WWordMgr.dll
lea ecx, [ebp - 0x260]
call fcn.00405c20
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41fc7e
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x75
call fcn.004587ef
add esp, 8
jmp 0x41fd66
call fcn.00452551
test al, al
je 0x41fca3
fldenv [ecx]
cmp al, 0x56
push es
xor byte [esi - 0xf20960c], dl
push 0x3c12d1c
in eax, dx
shl byte [esi - 0x57495346], 1
dec ebp
lock xor byte [0x9cbd8336], ch
std
invalid
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x278]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00453528
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.00453528
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x278]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
push 0x76
call fcn.004587ef
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x260]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
push 0x76
call fcn.004587ef
add esp, 0x28
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x41fd84
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00402c10
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x41fdbf
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00402c10
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x41fdfa
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.00402c10
xor eax, eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x250], 0
cmp eax, 8
jb 0x41fe35
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.00402c10
xor eax, eax
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x268], 0
cmp eax, 8
jb 0x41fe70
inc eax
lea ecx, [ebp - 0x290]
push eax
push dword [ebp - 0x290]
call fcn.00402c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046d802
mov esp, ebp
pop ebp
ret