Function at 0x4210f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de431
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.00480620
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00480620
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00480620
add esp, 0x24
call fcn.00452620
test al, al
je 0x42118c
add al, byte [eax]
add byte [ebp - 0x41f7b], cl
jmp [edx]
jo 0x42113b
add al, 0x68
lcall 0xdc9c, 0xc892ef91
inc ecx
clc
mov ecx, 0xd0c9c246
mov cl, 0x97
mov edx, 0x5c502888
test eax, 0xf9849d8b
invalid
lea eax, [ebp - 0x628]
mov ecx, ebx
push eax
push str.b8421
call fcn.004209b0
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
push str.84d2e
call fcn.004209b0
call fcn.00452620
test al, al
je 0x4211dc
add dword [ecx], esi
mov ecx, 0x223460b2
or dword [ecx], esi
out 0x4c, eax
cdq
push ss
pushal
xchg ecx, eax
mov esp, 0xd1e682ec
xlatb
and dword [esi], edi
invalid
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
push str.2c80c
call fcn.004209b0
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
idiv edi
dec dword [ebp - 0x41f7b]
call dword [eax - 1]
adc eax, sym.imp.SHLWAPI.dll_PathFileExistsW
test eax, eax
je 0x421432
call fcn.00452482
test al, al
je 0x42121f
pop ecx
push eax
adc eax, 0x5486702e
int1
fdivr st(6)
popfd
shl dword [eax], 1
ljmp 0x22e8
call fcn.00452146
test al, al
je 0x421243
xor byte [ebx - 0x25], dh
jnp 0x4211ec
bswap ebp
call 0x7b289bc
fidivr dword [edi]
pop esi
jbe 0x421284
xchg dl, al
inc esi
push 0x6103883
test esi, edi
call fcn.00452146
test al, al
je 0x421267
lahf
sub byte [ebp - 0x65], ch
aam 0x2f
and edx, 0xfffffff1
mov eax, dword [0x261e84b3]
pop ss
das
inc esi
aam 0xcb
cmp eax, 0x564c2eac
popfd
jg 0x42129b
xor eax, eax
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
rol bh, 0x85
aam 0xf9
invalid
cmp word [ebp - 0x218], ax
jne 0x421291
xor ecx, ecx
jmp 0x4212af
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4212a0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.00402ac0
cmp dword [ebp - 0x630], 0
mov dword [ebp - 4], 0
je 0x421373
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.004559e4
add esp, 8
push 0xc
push str.WWordMgr.dll
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 1
call fcn.00405c20
lea ecx, [ebp - 0x678]
call fcn.00413b60
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
aam 0xf9
invalid
dec dword [eax]
push ecx
cmovae eax, dword [ebp - 0x658]
lea ecx, [ebp - 0x678]
push eax
call fcn.00414700
lea ecx, [ebp - 0x678]
call fcn.00413c70
mov eax, dword [ebp - 0x644]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x421373
inc eax
lea ecx, [ebp - 0x658]
push eax
push dword [ebp - 0x658]
call fcn.00402c10
call fcn.00452077
test al, al
je 0x42139c
lahf
jae 0x42130f
in al, dx
pushfd
mov ds, word [esi + 0x23]
cld
xchg edi, eax
enter 0xffffffffffff97d8, 0x4f
sbb edi, dword [ebx]
sbb dl, byte [ebx + 0x34fd8bfc]
test al, 0x22
lodsb al, byte [esi]
mov cl, 0xed
push edx
inc ebx
cld
test eax, 0x116be8c2
add eax, dword [eax]
call fcn.0045250c
test al, al
je 0x4213c1
out dx, eax
inc eax
xor al, 0xee
fstp qword [ecx + 0x6b]
xor ebp, edx
ja 0x421330
or eax, 0xe561b346
cmp dword [eax + edx*2 + 0x620b5458], 0xffffffeb
fbstp tbyte [edi + eax*8 - 0x7b727407]
stc
invalid
mov ecx, dword [ebp - 0x67c]
call fcn.0041f760
lea eax, [ebp - 0x628]
push eax
call fcn.00458d67
add esp, 4
call fcn.0045218b
test al, al
je 0x4213f5
sti
mov dword [0x45ac0110], eax
adc esi, dword [edi + 0x13]
lodsd eax, dword [esi]
ljmp 0x422e
call fcn.00452101
test al, al
je 0x421414
mov edx, 0xeb912385
aaa
cwde
int1
cwde
lds eax, [esi + 0x5cb0140c]
test al, 0xc1
adc eax, 0x6b1202b4
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x421432
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00402c10
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.0046d802
mov esp, ebp
pop ebp
ret