Function at 0x4cb560
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4f8136
mov eax, dword fs:[0]
push eax
sub esp, 0x154
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov dword [esp + 0x170], 0
push 1
call fcn.004c7fa0
mov esi, dword [0x53f2d4]
add esp, 4
neg esi
sbb esi, esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], esi
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x170], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x170], 2
mov eax, dword [esp + 0x178]
push str.wt__ccsUTF_8
push eax
call dword [sym.imp.MSVCR90.dll_fopen]
mov edi, eax
add esp, 8
mov dword [esp + 0x2c], edi
test edi, edi
je 0x4cb938
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x170], 3
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x170], 4
lea ecx, [esp + 0x50]
call sub.mfc90.dll_Ordinal_580
mov byte [esp + 0x170], 5
lea ecx, [esp + 0x3c]
call sub.mfc90.dll_Ordinal_580
mov byte [esp + 0x170], 6
test esi, esi
je 0x4cb7ba
mov esi, dword [sym.imp.mfc90.dll_Ordinal_2539]
mov bl, 7
mov edi, edi
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x58]
call sub.mfc90.dll_Ordinal_6494
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
mov ecx, 0x53f2c8
call fcn.0042d6b0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea eax, [esp + 0x28]
push str._s_s
push eax
call esi
push 0x502ba4
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.00492540
mov ecx, dword [esp + 0x74]
lea eax, [ecx - 1]
add esp, 0x1c
test eax, eax
jl 0x4cb98e
cmp eax, ecx
jge 0x4cb98e
mov ecx, dword [esp + 0x54]
lea eax, [ecx + eax*4]
push 0x502ba4
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00402a60
mov byte [esp + 0x17c], bl
lea ecx, [esp + 0x2c]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
call fcn.004029d0
add esp, 0x18
mov byte [esp + 0x170], 8
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x170], bl
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x170], 6
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x58]
lea eax, [ecx - 1]
test eax, eax
jl 0x4cb98e
cmp eax, ecx
jge 0x4cb98e
mov ecx, dword [esp + 0x54]
lea eax, [ecx + eax*4]
push eax
lea edx, [esp + 0x2c]
push 0x502ba4
push edx
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x170], 9
mov eax, dword [eax]
push 0x5116d8
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
mov byte [esp + 0x170], 6
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp byte [esp + 0x17c], 0
je 0x4cb79c
push 0x51f28c
push 0x51f288
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x44]
call sub.mfc90.dll_Ordinal_6153
cmp dword [esp + 0x30], 0
jne 0x4cb650
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x4cb7d8
mov edx, dword [esp + 0x40]
push 0x496cf0
push 4
push eax
push edx
call dword [sym.imp.MSVCR90.dll_qsort]
add esp, 0x10
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_296]
mov byte [esp + 0x170], 0xa
push 0
push 0
push edi
call dword [sym.imp.MSVCR90.dll_fseek]
mov eax, dword [esp + 0x50]
add esp, 0xc
xor esi, esi
test eax, eax
jle 0x4cb8bd
mov edi, dword [sym.imp.MSVCR90.dll_fputws]
mov ebp, dword [sym.imp.MSVCR90.dll_free]
mov bl, 0xb
test esi, esi
jl 0x4cb98e
cmp esi, eax
jge 0x4cb98e
mov eax, dword [esp + 0x40]
lea eax, [eax + esi*4]
push str._n___
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00402a60
add esp, 0xc
mov byte [esp + 0x170], bl
mov eax, dword [eax]
push 3
lea edx, [esp + 0x6c]
push eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], edx
call fcn.0041cfe0
mov byte [esp + 0x170], 0xc
mov eax, dword [esp + 0x64]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_812]
mov byte [esp + 0x170], bl
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x68]
cmp eax, ecx
je 0x4cb88b
push eax
call ebp
add esp, 4
mov byte [esp + 0x170], 0xa
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push edx
push eax
call edi
mov eax, dword [esp + 0x4c]
inc esi
add esp, 8
cmp esi, eax
jl 0x4cb814
mov edi, dword [esp + 0x2c]
push edi
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
cmp byte [0x103a972], 0
je 0x4cb8e0
mov ecx, dword [esp + 0x178]
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [esp + 0x170], 6
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_600]
mov byte [esp + 0x170], 5
lea ecx, [esp + 0x3c]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x170], 4
lea ecx, [esp + 0x50]
call sub.mfc90.dll_Ordinal_781
mov byte [esp + 0x170], 3
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x170], 2
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x170], 1
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x170], 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x170], 0xffffffff
lea ecx, [esp + 0x178]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x160
ret
call sub.mfc90.dll_Ordinal_1252
int3