Function at 0x403600
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426991
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4334c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x4036b4
lea eax, [ebp + 8]
mov ecx, 0x434050
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00402140
mov eax, dword [ebp - 0x2c]
mov edx, dword [0x434050]
cmp byte [eax + 0xd], 0
jne 0x403661
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x10]
jae 0x403663
mov eax, edx
cmp eax, edx
jne 0x4036a3
lea eax, [ebp + 8]
mov ecx, 0x434050
push eax
call fcn.00402f90
mov ecx, 0x434050
mov dword [eax], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00402140
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0xd], 0
jne 0x40369e
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x10]
jae 0x4036a3
mov eax, dword [0x434050]
mov edx, dword [eax + 0x14]
lea ecx, [edx + 1]
mov dword [eax + 0x14], ecx
cmp edx, esi
jae 0x403bfe
push edi
lea ecx, [ebp - 0x90]
call fcn.00402640
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x434010
call fcn.004032e0
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x40371c
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403712
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c1f
push edx
push ecx
call fcn.0040e6f9
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 4], 1
nop dword [eax]
cmp dword [0x434028], 0
jne 0x403785
push 0
call fcn.00417428
add esp, 4
sub eax, dword [0x434040]
sbb edx, dword [0x434044]
js 0x403775
jg 0x40376b
cmp eax, dword [0x43404c]
jbe 0x403775
mov ecx, 0x434010
call fcn.00404d30
cmp dword [0x434028], 0
jne 0x403785
xor al, al
jmp 0x40387f
push 0
call fcn.00417428
mov dword [0x434040], eax
add esp, 4
mov eax, dword [0x434024]
mov dword [0x434044], edx
mov esi, dword [eax]
lea eax, [ebp - 0x5c]
add esi, 8
cmp eax, esi
je 0x4037c1
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4037b5
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x5c]
push eax
call fcn.0040ced0
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x1c]
cmp eax, 1
jbe 0x403855
push eax
lea eax, [ebp - 0x28]
push str.___DUP_x_u_
push eax
call fcn.00401250
add esp, 0xc
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 2
jb 0x4037f3
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4037f8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.0040cd70
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x403843
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403839
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c1f
push edx
push ecx
call fcn.0040e6f9
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [0x434024]
mov edx, dword [eax]
push edx
push 0x434024
mov ecx, dword [edx]
dec dword [0x434028]
mov eax, dword [edx + 4]
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.00402190
add esp, 8
mov al, 1
test al, al
je 0x403bce
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 0xa
mov dword [ebp - 0x28], 0
push 0x428c58
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040ced0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 3
push eax
call fcn.00405a00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00409060
add esp, 0x10
mov edx, dword [ebp - 0x78]
mov byte [ebp - 4], 6
cmp edx, 0x10
jb 0x403918
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40390e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c1f
push edx
push ecx
call fcn.0040e6f9
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x403965
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40395b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c1f
push edx
push ecx
call fcn.0040e6f9
add esp, 8
lea eax, [ebp - 0x74]
push eax
call fcn.004076b0
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0xc0]
lea ebx, [ebp - 0x5c]
cmovae ebx, dword [ebp - 0x5c]
push eax
call fcn.004064f0
add esp, 8
mov edi, eax
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 8
jb 0x403996
mov edi, dword [edi]
lea eax, [ebp - 0xa8]
push eax
call fcn.00405e50
add esp, 4
mov esi, eax
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x4039b3
mov esi, dword [esi]
push 0
push 0
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.00407040
add esp, 0x10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x4039d1
mov eax, dword [eax]
push ebx
push edi
push esi
push eax
push dword [ebp - 0xc4]
lea eax, [ebp - 0x40]
push str._u:__s__s___s_____s_n
push eax
call fcn.00401250
add esp, 0x1c
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x403a24
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403a1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c1f
push edx
push ecx
call fcn.0040e6f9
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0x94]
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x403a74
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403a6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c1f
push edx
push ecx
call fcn.0040e6f9
add esp, 8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov edx, dword [ebp - 0xac]
mov byte [ebp - 4], 0xe
cmp edx, 0x10
jb 0x403acd
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403ac3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c1f
push edx
push ecx
call fcn.0040e6f9
add esp, 8
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
test esi, esi
je 0x403c1a
cmp dword [ebp - 0x2c], 0x10
lea ebx, [ebp - 0x40]
lea eax, [ebp - 0x74]
cmovae ebx, dword [ebp - 0x40]
cmp dword [ebp - 0x60], 0x10
push 0x80
cmovae eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
push 0x428d28
cmovae eax, dword [ebp - 0x74]
push eax
call fcn.00404fa0
mov edi, eax
add esp, 8
test edi, edi
je 0x403b47
push edi
push esi
push 1
push ebx
call fcn.004171ab
push edi
call fcn.00416eb6
add esp, 0x14
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x403b7f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403b75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c1f
push edx
push ecx
call fcn.0040e6f9
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x403740
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403bbf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c1f
push edx
push ecx
call fcn.0040e6f9
add esp, 8
jmp 0x403740
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x403bfe
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403bf4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403c1f
push edx
push ecx
call fcn.0040e6f9
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e707
mov esp, ebp
pop ebp
ret
call fcn.0040cc20
call fcn.00411b5f
int3