Function at 0x493200
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef48d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x9c
mov eax, dword [0x56f734]
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 dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x54], ax
push 0x3e
push 0
lea ecx, [ebp - 0x52]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x78], 0x40
push 0
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x54]
push eax
push 5
mov ecx, dword [ebp + 8]
call sub.mfc120u.dll_Ordinal_12187
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR120.dll__wtol]
add esp, 4
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x55], 0
mov dword [ebp - 0x6c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x4932a5
push 0x52b588
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCR120.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4932a5
mov byte [ebp - 0x55], 1
movzx eax, byte [ebp - 0x55]
test eax, eax
je 0x4932cc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0043f200
movzx edx, al
test edx, edx
je 0x4932cc
push 0x80
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0xa8]
call sub.mfc120u.dll_Ordinal_500
mov byte [ebp - 4], 1
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x90]
call sub.mfc120u.dll_Ordinal_321
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
movzx ecx, byte [ebp - 0x55]
test ecx, ecx
je 0x493360
push 0
push 0x1021
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0xa8]
call sub.mfc120u.dll_Ordinal_11837
cmp eax, 1
je 0x493360
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.00475450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call sub.mfc120u.dll_Ordinal_1139
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00478b10
mov eax, dword [ebp - 0x94]
jmp 0x49353d
push 0x4000
call sub.mfc120u.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x5c], ecx
push 0x4000
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
call eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jbe 0x493446
movzx ecx, byte [ebp - 0x55]
test ecx, ecx
je 0x4933b6
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xa8]
call sub.mfc120u.dll_Ordinal_14465
jmp 0x4933e8
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x70]
call dword [sym.imp.mfc120u.dll_Ordinal_294]
mov byte [ebp - 4], 4
push 4
lea ecx, [ebp - 0x70]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.004313d0
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 0x68]
mov dword [ebp - 0x60], edx
push 0x4000
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x40]
call eax
mov dword [ebp - 0x68], eax
push 0
lea ecx, [ebp + 0x10]
push ecx
call fcn.00493ab0
add esp, 8
movzx edx, al
test edx, edx
je 0x493441
cmp dword [ebp - 0x64], 0
je 0x493441
imul eax, dword [ebp - 0x60], 0x64
cdq
idiv dword [ebp - 0x64]
push eax
lea ecx, [ebp + 0x10]
call fcn.00493ef0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x493441
jmp 0x493446
jmp 0x49338f
cmp dword [ebp - 0x5c], 0
je 0x49346b
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
push ecx
call sub.mfc120u.dll_Ordinal_266
add esp, 4
mov dword [ebp - 0x5c], 0
movzx edx, byte [ebp - 0x55]
test edx, edx
je 0x49347e
lea ecx, [ebp - 0xa8]
call sub.mfc120u.dll_Ordinal_2843
jmp 0x4934d4
mov dword [ebp - 4], 2
jmp 0x4934e4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.00475450
cmp dword [ebp - 0x64], 0
jne 0x4934ff
cmp dword [ebp - 0x60], 0
jne 0x49350f
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp - 0x64]
je 0x49350f
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
jmp 0x493516
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call sub.mfc120u.dll_Ordinal_1139
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00478b10
mov eax, dword [ebp - 0x7c]
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.004df9ac
mov esp, ebp
pop ebp
ret