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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x554321
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf94
push ebx
push esi
push edi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x104
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41164c
lea ecx, [ebp - 0x220]
call fcn.0045eaa0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__ld_in_CBrIntr:CADM__s1_n
lea ecx, [ebp - 0x220]
call fcn.0045eb80
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], bl
call fcn.0045eb70
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0xfa0]
lea edx, [ebp - 0xea0]
push ecx
lea eax, [ebp - 0xda0]
push edx
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x118]
push ecx
push edx
call fcn.0052776a
mov esi, dword [ebp + 0xc]
add esp, 0x14
lea eax, [ebp - 0xda0]
lea ecx, [ebp - 0x14]
push esi
push eax
push ecx
lea edx, [ebp - 0x118]
push 0x5a47ec
push edx
call fcn.00527718
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x411891
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x411891
push ebx
lea ecx, [ebp - 0xca0]
call fcn.00424b90
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 2
push ecx
lea ecx, [ebp - 0xc2c]
call fcn.00542347
push esi
lea ecx, [ebp - 0xc30]
call fcn.00542347
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0xc3c]
push edx
call fcn.00542347
lea ecx, [ebp - 0xca0]
mov byte [ebp - 0xc38], bl
mov dword [ebp - 0xc44], 0x5c71e0
call fcn.0053e1a5
cmp eax, 1
jne 0x4117b8
lea ecx, [ebp - 0xbe8]
mov byte [ebp - 4], 0xa
call fcn.004ff780
lea ecx, [ebp - 0xc24]
mov byte [ebp - 4], 9
call fcn.00549f10
lea ecx, [ebp - 0xc28]
mov byte [ebp - 4], 8
call fcn.005421be
lea ecx, [ebp - 0xc2c]
mov byte [ebp - 4], 7
call fcn.005421be
lea ecx, [ebp - 0xc30]
mov byte [ebp - 4], 6
call fcn.005421be
lea ecx, [ebp - 0xc34]
mov byte [ebp - 4], 5
call fcn.005421be
lea ecx, [ebp - 0xc3c]
mov byte [ebp - 4], 4
call fcn.005421be
lea ecx, [ebp - 0xc40]
mov byte [ebp - 4], 3
call fcn.005421be
lea ecx, [ebp - 0xca0]
mov byte [ebp - 4], bl
call fcn.0053dde6
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0xbe8]
mov byte [ebp - 4], 0x12
call fcn.004ff780
lea ecx, [ebp - 0xc24]
mov byte [ebp - 4], 0x11
call fcn.00549f10
lea ecx, [ebp - 0xc28]
mov byte [ebp - 4], 0x10
call fcn.005421be
lea ecx, [ebp - 0xc2c]
mov byte [ebp - 4], 0xf
call fcn.005421be
lea ecx, [ebp - 0xc30]
mov byte [ebp - 4], 0xe
call fcn.005421be
lea ecx, [ebp - 0xc34]
mov byte [ebp - 4], 0xd
call fcn.005421be
lea ecx, [ebp - 0xc3c]
mov byte [ebp - 4], 0xc
call fcn.005421be
lea ecx, [ebp - 0xc40]
mov byte [ebp - 4], 0xb
call fcn.005421be
lea ecx, [ebp - 0xca0]
mov byte [ebp - 4], bl
call fcn.0053dde6
mov eax, 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 2
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8