Function at 0x472930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af650
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x4f3168]
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 edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x78], str.CUserDictionary::LoadFromDictFile
call dword [0x4b4258]
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 4], 0
call fcn.004165f0
add esp, 4
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 1
mov edx, dword [eax - 0xc]
test edx, edx
jle 0x4729bc
lea ecx, [edx - 1]
test ecx, ecx
js 0x4729f8
cmp ecx, edx
jg 0x4729f8
cmp word [eax + ecx*2], 0x5c
je 0x4729bc
push 0x5c
lea ecx, [ebp - 0x58]
call fcn.004020b0
push 0x4c9d28
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
xor esi, esi
call fcn.00401ea0
add esp, 0xc
push dword [ebp - 0x5c]
mov byte [ebp - 4], 2
call dword [0x4b42d0]
or ebx, 0xffffffff
test eax, eax
je 0x472a02
push dword [ebp - 0x5c]
mov ecx, edi
call fcn.00472c20
mov ecx, eax
jmp 0x472ba5
push 0x80070057
call fcn.00402400
push str.user.dict
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00401ea0
add esp, 0xc
push dword [ebp - 0x60]
mov byte [ebp - 4], 3
call dword [0x4b42d0]
test eax, eax
je 0x472a54
push str..conv
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00401ea0
add esp, 0xc
push dword [eax]
mov dword [ebp - 0x68], 1
call dword [0x4b42d0]
mov byte [ebp - 0x51], 1
test eax, eax
je 0x472a58
mov byte [ebp - 0x51], 0
test byte [ebp - 0x68], 1
je 0x472a7a
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x472a7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x51], 0
je 0x472a95
push dword [ebp - 0x60]
mov ecx, edi
push dword [ebp - 0x5c]
call fcn.00471650
mov dword [ebp - 0x64], eax
jmp 0x472b82
mov esi, dword [edi + 0x2c]
mov ebx, dword [ebp - 0x5c]
test esi, esi
je 0x472af0
cmp dword [esi], 0
je 0x472ae5
push 0x4b4698
call dword [0x4b42b4]
test eax, eax
jne 0x472ab8
or eax, 0xffffffff
jmp 0x472b09
push str.CreateFileTransactedW
push eax
call dword [0x4b4294]
test eax, eax
je 0x472aeb
push 0
push 0
push dword [esi]
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push ebx
call eax
jmp 0x472b09
cmp dword [esi + 4], 0
jne 0x472af0
or eax, 0xffffffff
jmp 0x472b09
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push ebx
call dword [0x4b42a8]
cmp eax, 0xffffffff
jne 0x472b1b
call fcn.004023e0
mov esi, eax
test esi, esi
js 0x472b7f
jmp 0x472b20
mov dword [edi + 0x28], eax
xor esi, esi
push 0x3c
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.0048d890
add esp, 0xc
lea eax, [ebp - 0x6c]
push 0
push eax
push 0
push dword [edi + 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0x51554432
mov dword [ebp - 0x4c], 3
movlpd qword [ebp - 0x70], xmm0
call dword [0x4b423c]
cmp eax, 0xffffffff
jne 0x472b61
call fcn.004023e0
push 0
lea eax, [ebp - 0x6c]
push eax
push 0x40
lea eax, [ebp - 0x50]
push eax
push dword [edi + 0x28]
call dword [0x4b4230]
test eax, eax
jne 0x472b7f
call fcn.004023e0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x472ba2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x64]
mov eax, dword [edi + 8]
mov byte [eax + 0x18], 1
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x472bb5
mov dword [eax], ecx
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x472bd5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x472bf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [0x4b4258]
mov eax, esi
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.0048caf4
mov esp, ebp
pop ebp
ret 4