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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff694
push ebx
push esi
push edi
mov dword [ebp - 0x28], eax
mov eax, 0x496334
call fcn.00482ea0
xor ebx, ebx
xor edi, edi
xor esi, esi
jmp 0x43fde4
mov edx, dword [ebp - 0x28]
and eax, 0xff
cmp eax, 0x22
jne 0x43fdb8
test esi, esi
sete cl
and ecx, 1
mov esi, ecx
test esi, esi
jne 0x43fde3
cmp eax, 0x2d
je 0x43fdc6
cmp eax, 0x2f
jne 0x43fde3
mov eax, dword [ebp - 0x28]
mov edx, str.cfg_
add eax, edi
mov ecx, 4
inc eax
call fcn.0040d840
test eax, eax
jne 0x43fde3
mov bl, 1
jmp 0x43fdee
inc edi
mov eax, dword [ebp - 0x28]
mov al, byte [eax + edi]
test al, al
jne 0x43fda1
test bl, bl
jne 0x43fe01
mov eax, 0x4a5e34
call fcn.0042175c
jmp 0x43fe01
inc dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x20
je 0x43fdfe
cmp eax, 9
je 0x43fdfe
mov edx, dword [ebp - 0x28]
cmp byte [edx], 0
je 0x43fedd
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov al, byte [ecx]
cmp eax, 0x22
jne 0x43fe6c
push 0x22
mov edx, dword [ebp - 0x28]
inc edx
push edx
call fcn.00482b3d
add esp, 8
mov ebx, eax
test eax, eax
je 0x43fe6c
mov esi, ebx
sub esi, dword [ebp - 0x28]
dec esi
test esi, esi
jle 0x43fe5e
push esi
mov eax, dword [ebp - 0x28]
inc eax
push eax
lea edx, [ebp - 0x42c]
push edx
call fcn.00482c50
add esp, 0xc
mov byte [ebp + esi - 0x42c], 0
inc ebx
mov dword [ebp - 0x28], ebx
jmp 0x43feac
mov ebx, dword [ebp - 0x28]
jmp 0x43fe72
inc ebx
cmp byte [ebx], 0
je 0x43fe85
xor eax, eax
mov al, byte [ebx]
cmp eax, 0x20
je 0x43fe85
cmp eax, 9
jne 0x43fe71
mov esi, ebx
sub esi, dword [ebp - 0x28]
test esi, esi
jle 0x43fea1
push esi
lea eax, [ebp - 0x42c]
push dword [ebp - 0x28]
push eax
call fcn.00482c50
add esp, 0xc
mov byte [ebp + esi - 0x42c], 0
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x14], 8
lea edx, [ebp - 0x42c]
mov eax, 0x4a5e34
call fcn.00421458
mov word [ebp - 0x14], 0
jmp 0x43fe01
mov eax, 0x4a5e34
call fcn.004216d0
mov esi, 0x4a7778
mov edi, 0x4aaa0c
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4a7794]
mov ecx, 7
mov dword [0x4aaa28], eax
mov esi, 0x4a779c
mov eax, dword [0x4a7798]
mov edi, 0x4aaa30
mov dword [0x4aaa2c], eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4a77b8]
mov esi, 0x4a5e3c
mov dword [0x4aaa4c], eax
mov edi, 0x4a90d0
mov eax, dword [0x4a77bc]
mov dword [0x4aaa50], eax
mov edx, dword [0x4a5e34]
mov dword [0x4a90c8], edx
mov ecx, dword [0x4a5e38]
mov dword [0x4a90cc], ecx
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x100
mov esi, 0x4a623c
mov edi, 0x4a94d0
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x100
mov esi, 0x4a663c
mov edi, 0x4a98d0
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x100
mov esi, 0x4a6a3c
mov edi, 0x4a9cd0
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x100
mov esi, 0x4a6e3c
mov edi, 0x4aa0d0
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x20
mov esi, 0x4a723c
mov edi, 0x4aa4d0
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x4a72bc]
mov ecx, 0x100
mov byte [0x4aa550], al
mov esi, 0x4a72bd
mov edi, 0x4aa551
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4a76c0]
mov esi, 0x4a771b
mov dword [0x4aa954], eax
mov edi, 0x4aa9af
mov dl, byte [0x4a76c4]
mov byte [0x4aa958], dl
mov ecx, dword [0x4a76c8]
mov dword [0x4aa95c], ecx
mov eax, dword [0x4a76cc]
mov dword [0x4aa960], eax
mov edx, dword [0x4a76d0]
mov dword [0x4aa964], edx
mov ecx, dword [0x4a76d4]
mov dword [0x4aa968], ecx
mov al, byte [0x4a76d8]
mov byte [0x4aa96c], al
mov edx, dword [0x4a76dc]
mov dword [0x4aa970], edx
mov ecx, dword [0x4a76e0]
mov dword [0x4aa974], ecx
mov al, byte [0x4a76e4]
mov byte [0x4aa978], al
mov dl, byte [0x4a76e5]
mov byte [0x4aa979], dl
mov cl, byte [0x4a76e6]
mov byte [0x4aa97a], cl
mov al, byte [0x4a76e7]
mov byte [0x4aa97b], al
mov dl, byte [0x4a76e8]
mov byte [0x4aa97c], dl
mov cl, byte [0x4a76e9]
mov byte [0x4aa97d], cl
mov eax, dword [0x4a76ec]
mov dword [0x4aa980], eax
mov edx, dword [0x4a76f0]
mov dword [0x4aa984], edx
mov ecx, dword [0x4a76f4]
mov dword [0x4aa988], ecx
mov ecx, dword [0x4a76f8]
mov dword [0x4aa98c], ecx
mov al, byte [0x4a76fc]
mov byte [0x4aa990], al
mov dl, byte [0x4a76fd]
mov byte [0x4aa991], dl
mov cl, byte [0x4a76fe]
mov byte [0x4aa992], cl
mov eax, dword [0x4a7700]
mov dword [0x4aa994], eax
mov edx, dword [0x4a7704]
mov dword [0x4aa998], edx
mov cl, byte [0x4a7708]
mov byte [0x4aa99c], cl
mov al, byte [0x4a7709]
mov byte [0x4aa99d], al
mov edx, dword [0x4a770c]
mov dword [0x4aa9a0], edx
mov ecx, dword [0x4a7710]
mov dword [0x4aa9a4], ecx
mov al, byte [0x4a7714]
mov byte [0x4aa9a8], al
mov dl, byte [0x4a7715]
mov byte [0x4aa9a9], dl
mov cl, byte [0x4a7716]
mov byte [0x4aa9aa], cl
mov al, byte [0x4a7717]
mov byte [0x4aa9ab], al
mov dl, byte [0x4a7718]
mov byte [0x4aa9ac], dl
mov cl, byte [0x4a7719]
mov byte [0x4aa9ad], cl
mov ecx, 0x14
mov al, byte [0x4a771a]
mov byte [0x4aa9ae], al
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x4a776b]
mov esi, 0x4a77c4
mov byte [0x4aa9ff], al
mov edi, 0x4aaa58
mov dl, byte [0x4a776c]
mov byte [0x4aaa00], dl
mov ecx, dword [0x4a7770]
mov dword [0x4aaa04], ecx
mov eax, dword [0x4a7774]
mov dword [0x4aaa08], eax
mov dl, byte [0x4a77c0]
mov byte [0x4aaa54], dl
mov cl, byte [0x4a77c1]
mov byte [0x4aaa55], cl
mov ecx, 0x30
mov al, byte [0x4a77c2]
mov byte [0x4aaa56], al
mov dl, byte [0x4a77c3]
mov byte [0x4aaa57], dl
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x100
mov esi, 0x4a7884
mov edi, 0x4aab18
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x4a7c84]
mov esi, 0x4a7ca1
mov dword [0x4aaf18], eax
mov edi, 0x4aaf35
mov dl, byte [0x4a7c88]
mov byte [0x4aaf1c], dl
mov cl, byte [0x4a7c89]
mov byte [0x4aaf1d], cl
mov al, byte [0x4a7c8a]
mov byte [0x4aaf1e], al
mov edx, dword [0x4a7c8c]
mov dword [0x4aaf20], edx
mov ecx, dword [0x4a7c90]
mov dword [0x4aaf24], ecx
mov eax, dword [0x4a7c94]
mov dword [0x4aaf28], eax
mov edx, dword [0x4a7c98]
mov dword [0x4aaf2c], edx
mov ecx, dword [0x4a7c9c]
mov dword [0x4aaf30], ecx
mov ecx, 0x100
mov al, byte [0x4a7ca0]
mov byte [0x4aaf34], al
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x4a80a1]
push 0x4a663c
mov byte [0x4ab335], al
mov dl, byte [0x4a80a2]
mov byte [0x4ab336], dl
call fcn.00482a30
pop ecx
test eax, eax
jle 0x4402b7
xor ecx, ecx
mov cl, byte [eax + 0x4a663b]
cmp ecx, 0x5c
jne 0x4402b7
cmp eax, 2
jl 0x4402b0
xor edx, edx
mov dl, byte [eax + 0x4a663a]
cmp edx, 0x3a
je 0x4402b7
mov byte [eax + 0x4a663b], 0
cmp byte [0x4a80a8], 0
je 0x4402eb
cmp byte [0x4a84b8], 0
jne 0x4402eb
cmp byte [0x4b0534], 0
jne 0x4402eb
push 0x4a80a8
push 0x4a84b8
call fcn.00482a00
add esp, 8
mov byte [0x4a80a8], 0
push 0x495ade
push 0x4a84b8
call fcn.004829b4
add esp, 8
test eax, eax
sete bl
and ebx, 1
cmp byte [0x4a84b8], 0
je 0x440432
test bl, bl
jne 0x440432
push 0x4a84b8
call sub.KERNEL32.DLL_GetFileAttributesA
mov esi, eax
cmp esi, 0xffffffff
je 0x440337
test esi, 0x10
je 0x440432
mov eax, 0x4a84b8
call fcn.0040ace4
test eax, eax
jne 0x440432
cmp dword [0x4a7c9c], 0
jne 0x440359
mov edi, 0x495b6f
jmp 0x44035e
mov edi, 0x495b74
cmp dword [0x4a7c9c], 0
jne 0x44036e
mov eax, 0x495b74
jmp 0x440373
mov eax, 0x495b6f
mov dword [ebp - 0x2c], eax
push edi
push 0x4a84b8
push 0x495b79
lea edx, [ebp - 0x82c]
push edx
call fcn.00486578
add esp, 0x10
cmp byte [0x4a7ca0], 0
je 0x4403ac
push edi
push 0x4a84b8
call fcn.00482924
add esp, 8
jmp 0x440432
lea ecx, [ebp - 0x82c]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4403d3
lea eax, [ebp - 0x82c]
push eax
push 0x4a84b8
call fcn.00482a00
add esp, 8
jmp 0x440432
push dword [ebp - 0x2c]
push 0x4a84b8
push 0x495b79
lea edx, [ebp - 0x82c]
push edx
call fcn.00486578
add esp, 0x10
lea ecx, [ebp - 0x82c]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x440416
lea eax, [ebp - 0x82c]
push eax
push 0x4a84b8
call fcn.00482a00
add esp, 8
jmp 0x440432
cmp esi, 0xffffffff
je 0x440424
cmp byte [0x4a80a8], 0
je 0x440432
push edi
push 0x4a84b8
call fcn.00482924
add esp, 8
cmp byte [0x4a80a8], 0
je 0x440461
movzx esi, byte [0x4a80a8]
push esi
call fcn.00489668
pop ecx
cmp eax, 0x49
je 0x440458
mov dword [0x4afc10], 1
test bl, bl
jne 0x440461
call fcn.00436ef3
test bl, bl
jne 0x44049d
lea eax, [ebp - 0x96c]
push eax
push 0x4a84b8
call sub.KERNEL32.DLL_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44049d
lea eax, [ebp - 0x940]
push eax
mov eax, 0x4a84b8
call fcn.0040a924
push eax
call fcn.00482a00
add esp, 8
push ebx
call sub.KERNEL32.DLL_FindClose
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret