Function at 0x462b37
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x462bb2
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x20], 0xe0648261
mov dword [ebp - 0xa4], 0xfffffff7
mov dword [ebp - 0x20], 0
jmp 0x462b72
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffef
jle 0x462b8e
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x462b8c
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x462b6b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
add eax, 0x20
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
jmp 0x46314d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x18], 0xb110c93b
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc8], 0x35984225
mov dword [ebp - 0x64], 0xfff6
mov dword [ebp - 0x18], 8
jmp 0x462bea
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffff7
jne 0x462d5b
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x30], 0
jmp 0x462c0b
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x462c21
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x11c], 0x59ec1348
jmp 0x462c04
mov dword [ebp - 0xc], 0xa
jmp 0x462c31
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x14
jl 0x462d56
mov dword [ebp - 0xb0], 0
mov eax, 0x72ca
test eax, eax
je 0x462cde
cmp dword [ebp - 0xc], 0
je 0x462cc0
mov eax, dword [ebp - 0xc]
neg eax
imul eax, eax, 0x6c9c
imul ecx, dword [ebp - 0x18], 0
cmp eax, ecx
je 0x462c74
mov dword [ebp - 0x4c], 1
jmp 0x462c78
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xffffffff
jl 0x462c8a
mov dword [ebp - 0x98], 1
jmp 0x462c91
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x98], eax
je 0x462ca5
mov dword [ebp - 0x54], 1
jmp 0x462ca9
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x54]
je 0x462cc0
mov dword [ebp - 0xa0], 1
jmp 0x462cc7
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xc]
jle 0x462cde
mov dword [ebp - 0x5c], 1
jmp 0x462ce2
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x5c], eax
jle 0x462cf9
cmp dword [ebp - 0xc], 0
jne 0x462cf9
and dword [ebp - 0x9c], 0
jmp 0x462d03
mov dword [ebp - 0x9c], 1
mov eax, dword [ebp - 0x9c]
inc eax
je 0x462d15
mov dword [ebp - 0x3c], 1
jmp 0x462d19
and dword [ebp - 0x3c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + eax - 0x11c], ecx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x24], 2
jmp 0x462d42
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x462d51
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
jmp 0x462d3b
jmp 0x462c2a
jmp 0x462be3
push 4
lea ecx, [ebp - 0xe4]
call fcn.00415aed
mov dword [ebp - 4], 0x4a18885c
mov dword [ebp - 0xd8], 0x925d3c09
mov dword [ebp - 0xd4], 0x925d3c09
mov dword [ebp - 0xd0], 0x925d3c09
mov dword [ebp - 0xcc], 0x925d3c09
mov dword [ebp - 0x2c], 0
jmp 0x462da7
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 4
jge 0x462dc3
push dword [ebp - 0x2c]
lea ecx, [ebp - 0xe4]
call fcn.00415bdb
mov dword [eax], 0xb3198a8f
jmp 0x462da0
mov dword [ebp - 4], 0
jmp 0x462dd3
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jg 0x463120
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xa8], 0x4393
mov dword [ebp - 0xc0], 0xffffffff
push 1
lea ecx, [ebp - 0xf0]
call fcn.00415aed
mov dword [ebp - 0x50], 1
mov dword [ebp - 0xb4], 0
mov dword [ebp - 8], 0
jmp 0x462e26
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x462e3c
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x104], 0x69d1fe90
jmp 0x462e1f
mov dword [ebp - 8], 0
jmp 0x462e4c
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x462e68
push dword [ebp - 8]
lea ecx, [ebp - 0xf0]
call fcn.00415bdb
mov dword [eax], 0x9d6b80f4
jmp 0x462e45
mov dword [ebp - 0x10], 0
jmp 0x462e78
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x463110
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x1c], 0xafe497d6
mov eax, dword [ebp - 4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 4], eax
jne 0x462ead
mov dword [ebp - 0x84], 1
jmp 0x462eb4
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x84], eax
jg 0x462ec8
mov dword [ebp - 0x6c], 1
jmp 0x462ecc
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xbf2b8319
ja 0x462ede
mov dword [ebp - 0x34], 1
jmp 0x462ee2
and dword [ebp - 0x34], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x34]
mov dword [ebp + eax - 0xd8], ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x94], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x94]
mov dword [ebp + eax - 0x104], ecx
mov eax, dword [ebp - 0x94]
neg eax
jne 0x462f34
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xd8], 0
jne 0x462f34
and dword [ebp - 0x74], 0
jmp 0x462f3b
mov dword [ebp - 0x74], 1
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x74], eax
je 0x462f5e
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xd8], 0
je 0x462f5e
mov dword [ebp - 0x8c], 1
jmp 0x462f65
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0x50ebf085
je 0x462f7d
mov dword [ebp - 0xb8], 1
jmp 0x462f84
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xf8], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x104]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xc0]
cmp dword [ebp - 0xa8], eax
jne 0x462fbf
mov dword [ebp - 0x58], 1
jmp 0x462fc3
and dword [ebp - 0x58], 0
push dword [ebp - 4]
lea ecx, [ebp - 0xe4]
call fcn.00415bdb
mov ecx, 0x8c53
sub ecx, dword [eax]
mov dword [ebp - 0x44], ecx
push dword [ebp - 4]
lea ecx, [ebp - 0xe4]
call fcn.00415bdb
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
mov eax, dword [ebp - 0x44]
imul eax, dword [ebp - 0x58]
test eax, eax
je 0x463008
cmp dword [ebp - 0x28], 0
je 0x463008
mov dword [ebp - 0x60], 1
jmp 0x46300c
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x60], eax
je 0x46301d
mov dword [ebp - 0x68], 1
jmp 0x463021
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0
jg 0x463033
mov dword [ebp - 0xac], 1
jmp 0x46303a
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x10], eax
jle 0x463054
mov dword [ebp - 0x70], 1
jmp 0x463058
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0x5357
jle 0x46306a
mov dword [ebp - 0x78], 1
jmp 0x46306e
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x78], eax
jge 0x46307f
mov dword [ebp - 0x80], 1
jmp 0x463083
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x80], eax
jge 0x463097
mov dword [ebp - 0x88], 1
jmp 0x46309e
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 4
je 0x4630b0
mov dword [ebp - 0x38], 1
jmp 0x4630b4
and dword [ebp - 0x38], 0
push 0
lea ecx, [ebp - 0xf0]
call fcn.00415bdb
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x38], eax
jle 0x4630da
mov dword [ebp - 0x90], 1
jmp 0x4630e1
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jne 0x4630f8
mov dword [ebp - 0x48], 1
jmp 0x4630fc
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xb4], eax
jmp 0x462e71
lea ecx, [ebp - 0xf0]
call fcn.00415bbf
jmp 0x462dcc
lea ecx, [ebp - 0xe4]
call fcn.00415bbf
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
jge 0x46314d
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
add eax, 0x100
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
jmp 0x463134
mov esp, ebp
pop ebp
ret