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

Disassembly:
sub esp, 0x120
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push edi
mov edx, dword [ebp]
mov dword [ebp + 0x2c], 0xffffffff
cmp edx, ebx
je 0x454572
mov al, byte [0x4fbe40]
mov ecx, pe_nt_image_headers32
mov byte [esp + 0x28], al
xor eax, eax
lea edi, [esp + 0x29]
push 0x2e
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
stosb byte es:[edi], al
call fcn.004c82b0
add esp, 8
cmp eax, ebx
je 0x45450f
push 0x4ee760
push eax
call dword [sym.imp.kernel32.dll_lstrcmpi]
test eax, eax
jne 0x45450f
mov edx, dword [ebp]
push ebx
lea ecx, [esp + 0x2c]
push 0x10064
push ecx
push edx
push ebx
call fcn.0044bb70
add esp, 0x14
cmp byte [esp + 0x28], bl
jne 0x454524
mov eax, dword [ebp]
lea ecx, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.kernel32.dll_lstrcpy]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x454547
mov dword [ebp + 0x28], 0x65
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x120
ret
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.004620b0
add esp, 0x18
jmp 0x454601
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x4545a1
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.00462290
add esp, 0x1c
jmp 0x454601
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4545d0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
mov edx, dword [ebp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.00462320
add esp, 0x1c
jmp 0x454601
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x454616
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
push edx
push ecx
lea edx, [esp + 0x24]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push ecx
push eax
call fcn.004621e0
add esp, 0x20
test eax, eax
jne 0x454616
mov dword [ebp + 0x28], 7
pop edi
pop ebp
pop ebx
add esp, 0x120
ret
push esi
mov ecx, dword [ebp + 0x40]
xor eax, eax
mov ax, word [ebp + 0x30]
cmp eax, ecx
jge 0x454634
cmp eax, ebx
jl 0x454634
mov edx, dword [ebp + 0x3c]
cmp dword [edx + eax*4], ebx
jne 0x4546f6
push 0x24
call fcn.004c7e90
add esp, 4
cmp eax, ebx
je 0x454677
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov byte [eax + 0x10], bl
mov byte [eax + 0x11], bl
mov byte [eax + 0x12], bl
mov byte [eax + 0x13], bl
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov byte [eax + 0x20], 1
mov byte [eax + 0x21], 1
mov byte [eax + 0x22], 1
mov byte [eax + 0x23], bl
mov dword [esp + 0x24], eax
jmp 0x45467b
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x24], ebx
je 0x454617
mov eax, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4546dd
add eax, dword [ebp + 0x4c]
lea edx, [eax*4 + 4]
push edx
call fcn.004c7e90
mov ecx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x3c]
mov edi, eax
mov dword [esp + 0x2c], eax
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x3c]
push eax
call fcn.004c7e56
mov edx, dword [ebp + 0x4c]
mov eax, dword [ebp + 0x44]
mov ecx, dword [esp + 0x30]
add esp, 8
add eax, edx
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x3c]
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp + 0x40]
inc eax
mov dword [ebp + 0x40], eax
jmp 0x454617
mov eax, dword [ebp + 0x40]
pop esi
cmp eax, ebx
jle 0x454703
mov eax, dword [ebp + 0x3c]
mov ebx, dword [eax]
mov ecx, dword [esp + 0x18]
mov dword [ebx], ecx
mov edx, dword [esp + 0x14]
mov dword [ebx + 4], edx
mov al, byte [esp + 0x1c]
xor ecx, ecx
mov byte [ebx + 0x10], al
mov eax, dword [ebp + 0x40]
mov cx, word [ebp + 0x32]
cmp ecx, eax
jge 0x454728
mov word [ebp + 0x32], ax
mov edx, dword [esp + 0xc]
mov ax, word [esp + 0x10]
mov dword [ebp + 0x2c], edx
mov word [ebp + 0x32], ax
pop edi
pop ebp
mov eax, 1
pop ebx
add esp, 0x120
ret