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

Disassembly:
push 0xffffffffffffffff
push 0x4519c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
mov al, byte [0x471b14]
mov ecx, 0x40
mov byte [esp + 0x18], al
xor eax, eax
lea edi, [esp + 0x19]
mov ebp, dword [esp + 0x12c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 4]
mov dword [esp + 0x124], 0
test eax, eax
jne 0x41148a
mov eax, 0x45561c
lea ecx, [esp + 0x18]
push 0
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00401860
test al, al
je 0x4114da
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00401840
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
test esi, esi
mov dword [esp + 0x14], esi
je 0x4116b4
mov edi, 0x467a84
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [edx + 0x418]
mov ebp, ecx
push 1
push ebp
mov ecx, ebx
call fcn.00401860
test al, al
je 0x411544
mov edi, dword [ebx + 4]
mov ecx, ebp
mov eax, ecx
mov esi, 0x467a84
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00401840
mov edi, str..Merge
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str..Merge
mov ecx, ebx
call fcn.00404eb0
mov ecx, dword [esp + 0x10]
mov edi, 0x467a84
xor eax, eax
push 1
lea ebp, [ecx + 0x428]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00401860
test al, al
je 0x4115a9
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x467a84
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00401840
mov edi, str..CopyToMerge
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [0x455554]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4115cd
call fcn.00441cc0
test esi, esi
jbe 0x411609
mov ebx, dword [ebp + 8]
push 0
add ebx, esi
mov ecx, ebp
push ebx
call fcn.00401860
test al, al
je 0x411609
mov edi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add edi, ecx
mov ecx, esi
mov edx, ecx
mov esi, str..CopyToMerge
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00401840
mov al, byte [0x471b14]
mov ecx, 0x40
mov byte [esp + 0x18], al
xor eax, eax
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ecx + 0x418]
mov eax, dword [ecx + 0x41c]
test eax, eax
jne 0x41163b
mov eax, 0x45561c
mov esi, dword [esp + 0x12c]
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x41164e
mov ecx, 0x45561c
lea edx, [esp + 0x18]
push 0x104
push edx
push 0
push eax
push ecx
lea ecx, [esp + 0x144]
call fcn.00419c46
test eax, eax
je 0x4116b0
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x411678
mov ebp, 0x45561c
mov eax, dword [esi + 4]
test eax, eax
jne 0x411684
mov eax, 0x45561c
lea ecx, [esp + 0x18]
push 0x104
push ecx
push 0
push ebp
push eax
lea ecx, [esp + 0x144]
call fcn.00419c46
test eax, eax
je 0x4116b0
mov edx, dword [esp + 0x10]
mov dword [edx + 0x2d8], 1
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1a4]
mov dword [esp + 0x124], 7
call fcn.00404be0
push 1
lea ecx, [esp + 0x194]
mov byte [esp + 0x128], 6
call fcn.004017f0
push 1
lea ecx, [esp + 0x184]
mov byte [esp + 0x128], 5
call fcn.004017f0
push 1
lea ecx, [esp + 0x174]
mov byte [esp + 0x128], 4
call fcn.004017f0
push 1
lea ecx, [esp + 0x164]
mov byte [esp + 0x128], 3
call fcn.004017f0
push 1
lea ecx, [esp + 0x154]
mov byte [esp + 0x128], 2
call fcn.004017f0
mov eax, dword [esp + 0x144]
xor edi, edi
cmp eax, edi
je 0x411763
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x41175a
cmp al, 0xff
je 0x41175a
dec al
mov byte [ecx], al
jmp 0x411763
push ecx
call fcn.00447dfa
add esp, 4
mov ecx, dword [esp + 0x134]
mov dword [esp + 0x144], edi
cmp ecx, edi
mov dword [esp + 0x148], edi
mov dword [esp + 0x14c], edi
je 0x41179f
mov al, byte [ecx - 1]
test al, al
je 0x411795
cmp al, 0xff
je 0x411795
dec al
mov byte [ecx - 1], al
jmp 0x41179f
dec ecx
push ecx
call fcn.00447dfa
add esp, 4
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 0x8c