Function at 0x433900
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6cdd
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x9c
mov eax, dword [0x572734]
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 0x4339a5
push 0x508f20
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCR120.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4339a5
mov byte [ebp - 0x55], 1
movzx eax, byte [ebp - 0x55]
test eax, eax
je 0x4339cc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00443da0
movzx edx, al
test edx, edx
je 0x4339cc
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 0x433a60
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 0x433a60
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.00434440
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.0047d340
mov eax, dword [ebp - 0x94]
jmp 0x433c32
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 0x433b3b
movzx ecx, byte [ebp - 0x55]
test ecx, ecx
je 0x433ab6
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 0x433ae8
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc120u.dll_Ordinal_294]
mov byte [ebp - 4], 4
push 4
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call fcn.00435f80
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
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.004341a0
add esp, 8
movzx edx, al
test edx, edx
je 0x433b36
cmp dword [ebp - 0x64], 0
je 0x433b36
imul eax, dword [ebp - 0x60], 0x64
cdq
idiv dword [ebp - 0x64]
push eax
lea ecx, [ebp + 0x10]
call fcn.004345a0
jmp 0x433a8f
cmp dword [ebp - 0x5c], 0
je 0x433b60
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 0x433b73
lea ecx, [ebp - 0xa8]
call sub.mfc120u.dll_Ordinal_2843
jmp 0x433bc9
mov dword [ebp - 4], 2
jmp 0x433bd9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.00434440
cmp dword [ebp - 0x64], 0
jne 0x433bf4
cmp dword [ebp - 0x60], 0
jne 0x433c04
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp - 0x64]
je 0x433c04
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
jmp 0x433c0b
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 0x70]
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.0047d340
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.004e11cc
mov esp, ebp
pop ebp
ret