Function at 0x4211c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de481
mov eax, dword fs:[0]
push eax
sub esp, 0x670
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
mov dword [ebp - 0x67c], ebx
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00480640
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00480640
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00480640
add esp, 0x24
call fcn.00452603
test al, al
je 0x42125c
mov bl, 0x5e
jmp 0xdc7d98d8
lea eax, [ebp - 0x628]
mov ecx, ebx
push eax
push str.b8421
call int.00420a80
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
push str.84d2e
call int.00420a80
call fcn.00452603
test al, al
je 0x4212ac
popal
loope 0x4212a0
nop
push eax
xor dh, dl
mov dword [0x76b55e89], eax
retf
aad 0x22
int3
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
push str.2c80c
call int.00420a80
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421502
call fcn.00452465
test al, al
je 0x4212ef
invalid
call fcn.00452129
test al, al
je 0x421313
outsb dx, byte [esi]
push es
add byte [ecx - 0xb], 0xc8
mov eax, 0xf07ea48
inc eax
and dword [ebp + 0x69], ebp
shl dword [esi - 0x40a29b5], cl
sbb dh, dl
push esi
jbe 0x421391
call fcn.00452129
test al, al
je 0x421337
fcmovnb st(0), st(7)
mov eax, dword [0xd2ca4585]
xchg byte [eax + 0x5fd25eac], ah
nop
sub eax, dword [edi - 0x57]
loopne 0x4212fe
fld dword [esi - 0x35]
mov al, 0x24
packsswb mm6, qword ds:[ebx]
rol bh, 0x85
aam 0xf9
invalid
xor eax, eax
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
cmp word [ebp - 0x218], ax
jne 0x421361
xor ecx, ecx
jmp 0x42137f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421370
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.00402ad0
cmp dword [ebp - 0x630], 0
inc dword [ebx - 0x62f43]
inc dword [eax]
mov dword [ebp - 4], 0
je 0x421443
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.004559dd
add esp, 8
push 0xc
push str.WWordMgr.dll
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 1
call fcn.00405da0
lea ecx, [ebp - 0x678]
call fcn.00413c40
cmp dword [ebp - 0x62c], 8
lea ecx, [ebp - 0x640]
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 2
cmovae ecx, dword [ebp - 0x640]
cmp dword [ebp - 0x644], 8
push ecx
cmovae eax, dword [ebp - 0x658]
lea ecx, [ebp - 0x678]
push eax
call fcn.004147e0
lea ecx, [ebp - 0x678]
call fcn.00413d50
mov eax, dword [ebp - 0x644]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x421443
inc eax
lea ecx, [ebp - 0x658]
push eax
push dword [ebp - 0x658]
call fcn.00402c20
call fcn.0045205a
test al, al
je 0x42146c
adc al, 0xb3
sub dword [esi], ebp
mov ah, 0x52
push ecx
pop esi
dec esp
salc
jae 0x421494
insd dword es:[edi], dx
pop ds
scasb al, byte es:[edi]
stosb byte es:[edi], al
push cs
cmpsd dword [esi], dword es:[edi]
sub eax, 0x64db17e7
lea ecx, [edi - 0xd63d106]
invalid
call fcn.004524ef
test al, al
je 0x421491
or eax, dword [edi + 0x10d75359]
or eax, 0xc2e6825f
inc esi
invalid
mov ecx, dword [ebp - 0x67c]
call int.0041f830
lea eax, [ebp - 0x628]
push eax
call fcn.00458d60
add esp, 4
call fcn.0045216e
test al, al
je 0x4214c5
stc
invalid
ljmp 0xcdb0:0xc73e23b6
call fcn.004520e4
test al, al
je 0x4214e4
dec edx
out 0xf3, eax
test byte [edx - 0x79], 0x67
pushfd
ret 0xba72
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x421502
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00402c20
xor eax, eax
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.0046d81d
mov esp, ebp
pop ebp
ret