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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac062
mov eax, dword fs:[0]
push eax
sub esp, 0x9d8
mov eax, dword [0x4e51f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x9c0], esi
mov dword [ebp - 0x9bc], ecx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x99c]
call fcn.0047a260
mov dword [ebp - 4], 0
cmp dword [ebp - 0x98c], 8
jge 0x43f0f4
mov esi, 4
jmp 0x43f4c8
cmp dword [esi + 0x14], 8
jb 0x43f0fe
mov eax, dword [esi]
jmp 0x43f100
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43f4c3
test al, 0x10
jne 0x43f4c3
xorps xmm0, xmm0
mov dword [ebp - 0x9e4], 0
movlpd qword [ebp - 0x9dc], xmm0
push 0x4c8ce8
lea ecx, [ebp - 0x96c]
mov byte [ebp - 4], 1
call fcn.00433100
lea eax, [ebp - 0x96c]
mov byte [ebp - 4], 2
push eax
push esi
lea ecx, [ebp - 0x9e4]
call fcn.0047d760
test al, al
mov byte [ebp - 4], 1
sete bl
cmp dword [ebp - 0x958], 8
jb 0x43f178
push dword [ebp - 0x96c]
call fcn.0048ccb8
add esp, 4
test bl, bl
je 0x43f186
mov esi, 7
jmp 0x43f499
mov ecx, dword [ebp - 0x9e4]
call fcn.0047d1a0
test al, al
je 0x43f1aa
xorps xmm0, xmm0
mov dword [ebp - 0x9e4], 0
movlpd qword [ebp - 0x9dc], xmm0
mov dword [ebp - 0x9d0], 0
mov dword [ebp - 0x9cc], 0
mov dword [ebp - 0x9c8], 0
lea edx, [ebp - 0x9d0]
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.0047d980
mov edi, dword [ebp - 0x9d0]
test al, al
jne 0x43f1ed
mov esi, 8
jmp 0x43f48c
mov eax, dword [ebp - 0x9cc]
mov edx, eax
sub edx, edi
jne 0x43f201
lea esi, [edx + 9]
jmp 0x43f48c
xor esi, esi
mov ecx, edi
cmp edi, eax
lea eax, [ebp - 0x954]
push eax
lea eax, [ebp - 0x9c4]
cmove ecx, esi
push eax
call fcn.0043ef30
mov esi, eax
add esp, 8
test esi, esi
jne 0x43f48c
push dword [ebp - 0x9c0]
mov edx, 0x4c8cf8
lea ecx, [ebp - 0x9b4]
call fcn.004327d0
add esp, 4
push 0x4c8cf0
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x984]
call fcn.004322b0
add esp, 4
lea ecx, [ebp - 0x9b4]
mov byte [ebp - 4], 6
call fcn.00432b00
cmp dword [ebp - 0x970], 8
lea eax, [ebp - 0x984]
push 0x41
cmovae eax, dword [ebp - 0x984]
push 0x4c8d60
push eax
push dword [ebp - 0x9bc]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 2
jne 0x43f2a0
lea esi, [eax - 1]
jmp 0x43f458
cmp dword [ebp - 0x988], 0x10
lea eax, [ebp - 0x964]
mov edx, dword [ebp - 0x98c]
lea ecx, [ebp - 0x99c]
cmovae ecx, dword [ebp - 0x99c]
push eax
call fcn.0043f8d0
add esp, 4
mov dword [ebp - 0x9b8], 8
lea edi, [ebp - 0x814]
lea esp, [esp]
xor esi, esi
lea ebx, [esi + 5]
call fcn.0048d561
cdq
idiv ebx
test edx, edx
je 0x43f2f5
xor edx, edx
jmp 0x43f302
call fcn.0048d561
cdq
mov ecx, 0xff
idiv ecx
mov byte [edi + esi], dl
inc esi
cmp esi, 0x100
jl 0x43f2e5
add edi, 0x100
dec dword [ebp - 0x9b8]
jne 0x43f2e0
mov al, byte [ebp - 0x95c]
lea ebx, [ebp - 0x814]
mov byte [ebp - 0x7ad], al
mov ecx, 8
mov al, byte [ebp - 0x95e]
mov byte [ebp - 0x6d7], al
mov al, byte [ebp - 0x95f]
mov byte [ebp - 0x5b6], al
mov al, byte [ebp - 0x963]
mov byte [ebp - 0x4cb], al
mov al, byte [ebp - 0x961]
mov byte [ebp - 0x319], al
mov al, byte [ebp - 0x956]
mov byte [ebp - 0x251], al
mov al, byte [ebp - 0x95a]
mov byte [ebp - 0x1d1], al
mov al, byte [ebp - 0x955]
mov byte [ebp - 0xff], al
mov al, byte [ebp - 0x95d]
mov edx, dword [ebp - 0x9c4]
mov byte [ebp - 0x7dc], al
mov al, byte [ebp - 0x962]
mov byte [ebp - 0x671], al
mov al, byte [ebp - 0x959]
mov byte [ebp - 0x524], al
mov al, byte [ebp - 0x964]
mov byte [ebp - 0x496], al
mov al, byte [ebp - 0x957]
mov byte [ebp - 0x40b], al
mov al, byte [ebp - 0x960]
mov byte [ebp - 0x2db], al
mov al, byte [ebp - 0x95b]
mov byte [ebp - 0x157], al
mov al, byte [ebp - 0x958]
mov byte [ebp - 0x8f], al
lea eax, [ebp - 0x954]
mov dword [ebp - 0x9b8], eax
mov dword [ebp - 0x9bc], ecx
nop
test edx, edx
jle 0x43f427
mov edi, dword [eax]
mov ecx, 0x40
lea eax, [eax + 4]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
dec edx
jne 0x43f404
mov eax, dword [ebp - 0x9b8]
mov ecx, dword [ebp - 0x9bc]
mov edx, dword [ebp - 0x9c4]
add eax, 0x28
add ebx, 0x100
dec ecx
mov dword [ebp - 0x9b8], eax
mov dword [ebp - 0x9bc], ecx
jne 0x43f400
mov ecx, dword [ebp - 0x9c0]
lea edx, [ebp - 0x9d0]
call fcn.0047e6c0
mov edi, dword [ebp - 0x9d0]
xor esi, esi
cmp dword [ebp - 0x970], 8
jb 0x43f46f
push dword [ebp - 0x984]
call fcn.0048ccb8
add esp, 4
xor eax, eax
mov dword [ebp - 0x970], 7
mov dword [ebp - 0x974], 0
mov word [ebp - 0x984], ax
test edi, edi
je 0x43f499
push edi
call fcn.0048ccb8
add esp, 4
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x9e4]
call fcn.0047d1a0
test al, al
je 0x43f4c8
xorps xmm0, xmm0
mov dword [ebp - 0x9e4], 0
movlpd qword [ebp - 0x9dc], xmm0
jmp 0x43f4c8
mov esi, 6
cmp dword [ebp - 0x988], 0x10
jb 0x43f4df
push dword [ebp - 0x99c]
call fcn.0048ccb8
add esp, 4
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 - 0x14]
xor ecx, ebp
call fcn.0048cca9
mov esp, ebp
pop ebp
ret