Function at 0x451410
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4bb3e6
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x4f36a0]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
mov eax, dword [0x4f36a0]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
cmp byte [0x4fe13a], bl
je 0x45145c
xor eax, eax
jmp 0x45174d
call fcn.0044d570
test al, al
jne 0x451455
call fcn.00453d50
test al, al
je 0x451455
push str.CheckSig1
call fcn.00455de0
add esp, 4
lea ecx, [esp + 0x7c]
call fcn.00448930
mov eax, esi
lea edx, [esp + 0x7c]
call fcn.00448b50
mov dword [esp + 0x1b0], 1
lea eax, [esp + 0x88]
cmp byte [esp + 0x198], bl
jne 0x4514b1
mov eax, dword [esp + 0x84]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4514c9
shr eax, 4
not al
and al, 1
jne 0x4514dc
lea ecx, [esp + 0x7c]
call fcn.004444f0
mov eax, 1
jmp 0x45174d
push str.CheckSig1
call fcn.00455e50
add esp, 4
push str.CheckSig2
call fcn.00455de0
add esp, 4
xor eax, eax
push 0x2c
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea edx, [esp + 0x44]
mov eax, 0x3041
mov ecx, 0x11d1
push ebx
push edx
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x78], 0x189a3842
mov word [esp + 0x7c], ax
mov word [esp + 0x7e], cx
mov byte [esp + 0x80], 0x85
mov byte [esp + 0x81], 0xe1
mov byte [esp + 0x82], bl
mov byte [esp + 0x83], 0xc0
mov byte [esp + 0x84], 0x4f
mov byte [esp + 0x85], 0xc2
mov byte [esp + 0x86], 0x95
mov byte [esp + 0x87], 0xee
call fcn.0049ca10
lea eax, [esp + 0x1c]
add esp, 0xc
lea esi, [esp + 0x20]
mov dword [esp + 0x3c], 0x30
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 2
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 1
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], 0x10
mov dword [esp + 0x54], eax
mov byte [esp + 0x21], bl
mov byte [esp + 0x20], bl
call fcn.00450f20
push str.CheckSig3
call fcn.00455e50
add esp, 4
cmp byte [esp + 0x20], bl
jne 0x4515fe
lea ecx, [esp + 0x7c]
call fcn.004444f0
mov eax, 3
jmp 0x45174d
push str.CheckSig4
call fcn.00455de0
add esp, 4
push str.CheckSig4
call fcn.00455e50
add esp, 4
push str.CheckSig5
call fcn.00455de0
add esp, 4
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x44]
call fcn.00450fa0
push str.CheckSig5
mov esi, eax
call fcn.00455e50
add esp, 4
push str.CheckSig6
call fcn.00455de0
add esp, 4
cmp esi, ebx
je 0x451662
mov esi, 5
jmp 0x451737
push str.CheckSig6
call fcn.00455e50
add esp, 4
push str.CheckSig7
call fcn.00455de0
mov eax, dword [esp + 0x60]
add esp, 4
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00451030
mov esi, eax
cmp esi, ebx
jne 0x451698
mov esi, 6
jmp 0x45170f
push str.CheckSig7
call fcn.00455e50
add esp, 4
push str.CheckSig8
call fcn.00455de0
add esp, 4
push esi
lea edx, [esp + 0x24]
push edx
call fcn.004510b0
push str.CheckSig8
mov esi, eax
call fcn.00455e50
add esp, 4
push str.CheckSig9
call fcn.00455de0
add esp, 4
cmp esi, ebx
jne 0x4516e4
mov esi, 6
jmp 0x45170f
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004511d0
add esp, 4
push str.CheckSig9
mov esi, eax
call fcn.00455e50
add esp, 4
push str.CheckSig10
call fcn.00455de0
add esp, 4
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x44]
mov dword [esp + 0x60], 2
call fcn.00450fa0
push str.CheckSig10
call fcn.00455e50
add esp, 4
lea ecx, [esp + 0x7c]
call fcn.004444f0
mov eax, 0xb
cmp byte [esp + 0x21], bl
jne 0x45174d
mov eax, esi
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00497c58
add esp, 0x1a8
ret