Function at 0x428a70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48b668
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0
mov ebx, dword [esi + 0xc]
push 0x4bd8d0
push eax
call fcn.00409750
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x40], 1
call fcn.0040b8a0
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428b04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x428b5b
mov ebx, dword [esi + 0xc]
lea edx, [esp + 0x20]
push 0x4bd8d4
push edx
call fcn.00409750
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x40], 2
call fcn.0040b8a0
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428b5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
call fcn.00442810
mov ecx, eax
call fcn.00442950
lea edx, [esp + 0x28]
mov edi, eax
push edx
mov dword [esp + 0x20], edi
call fcn.004428b0
test edi, edi
jne 0x428b8c
mov dword [esp + 0x1c], 0x3c8
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x10]
push eax
call fcn.004095c0
mov byte [esp + 0x40], 3
mov edx, dword [esp + 0x10]
mov ebx, dword [edx - 0xc]
test ebx, ebx
jle 0x428c0a
lea edi, [ebx - 1]
test edi, edi
jl 0x428df4
cmp edi, ebx
jg 0x428df4
mov al, byte [edi + edx]
cmp al, 0x5f
je 0x428c0a
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea edi, [ebx + 1]
sub eax, edi
or eax, ecx
jge 0x428be6
mov ecx, edi
lea eax, [esp + 0x10]
call fcn.00410460
mov edx, dword [esp + 0x10]
test edi, edi
mov byte [ebx + edx], 0x5f
jl 0x428df4
mov eax, dword [esp + 0x10]
cmp edi, dword [eax - 8]
jg 0x428df4
mov dword [eax - 0xc], edi
mov ecx, dword [esp + 0x10]
mov byte [edi + ecx], 0
lea edx, [esp + 0x20]
push 0x49a3ec
push edx
lea ecx, [esp + 0x18]
call fcn.00421730
add esp, 8
mov edi, dword [ebp + 0xc]
push 0xa
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 4
mov eax, dword [eax]
push ecx
push edi
mov edx, eax
call fcn.00406260
push eax
call fcn.0046a948
mov dword [esi + 8], eax
mov byte [esp + 0x4c], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428c6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x40], 5
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x40], 6
mov ecx, dword [esp + 0x1c]
cmp dword [esi + 8], ecx
jbe 0x428e2d
lea edx, [esp + 0x24]
push 0x499f88
push edx
lea ecx, [esp + 0x18]
call fcn.00421730
add esp, 8
mov byte [esp + 0x40], 7
mov eax, dword [eax]
push edi
mov edx, eax
call fcn.00406260
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00422ef0
mov byte [esp + 0x40], 9
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428d05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push 0x499f8c
push ecx
lea ecx, [esp + 0x18]
call fcn.00421730
add esp, 8
mov byte [esp + 0x40], 0xa
mov eax, dword [eax]
push edi
mov edx, eax
call fcn.00406260
mov ebx, eax
lea eax, [esi + 4]
call fcn.00422e60
mov byte [esp + 0x40], 9
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428d59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
push str.sign
push ecx
lea ecx, [esp + 0x18]
call fcn.00421730
add esp, 8
mov byte [esp + 0x40], 0xb
mov eax, dword [eax]
push edi
mov edx, eax
call fcn.00406260
mov ebx, eax
lea eax, [esp + 0x20]
call fcn.00422e60
mov byte [esp + 0x40], 9
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428dae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x1c]
lea edi, [esp + 0x18]
call fcn.0040b8a0
mov eax, dword [esi + 4]
mov ecx, dword [eax - 0xc]
lea edi, [esi + 4]
push ecx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004164c0
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, ebx
call fcn.00407770
test eax, eax
je 0x428dfe
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx]
push eax
push esi
call edx
jmp 0x428e08
push 0x80070057
call fcn.00416be0
mov edx, 0x4992cc
call fcn.00416ac0
mov byte [esp + 0x40], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428e2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x40], 5
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428e4e
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [esp + 0x40], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428e73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428e98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428ec0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8