Function at 0x10032146
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10032444
lea eax, [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x1003243a
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
push 2
mov ecx, dword [ebp - 0x18]
call fcn.1000d926
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
cmp dword [ebp - 0x20], 0
je 0x100323f7
mov eax, 0xe012d2c8
test eax, eax
je 0x1003239c
push 2
mov ecx, dword [ebp - 4]
call fcn.1000d926
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10032277
push 2
mov ecx, dword [ebp - 4]
call fcn.1000d926
cmp dword [eax], 0
jne 0x10032277
push 0xfffffffffffffffa
pop eax
test eax, eax
jne 0x10032277
and dword [ebp - 0x34], 0
jmp 0x1003227e
mov dword [ebp - 0x34], 1
cmp dword [ebp - 0x34], 0x9842
jge 0x10032290
mov dword [ebp - 0x6c], 1
jmp 0x10032294
and dword [ebp - 0x6c], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.1000d926
cmp dword [eax], 0
jne 0x100322b8
push 2
mov ecx, dword [ebp - 0x18]
call fcn.1000d926
cmp dword [eax], 0
jne 0x100322b8
and dword [ebp - 0xc], 0
jmp 0x100322bf
mov dword [ebp - 0xc], 1
push 1
mov ecx, dword [ebp - 0x18]
call fcn.1000d926
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp - 0xc], 0
je 0x100322e5
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
je 0x100322e5
mov dword [ebp - 0x2c], 1
jmp 0x100322e9
and dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0xfc16
jge 0x100322fb
mov dword [ebp - 0x3c], 1
jmp 0x100322ff
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jle 0x10032312
mov dword [ebp - 0x24], 1
jmp 0x10032316
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xfffffffe
jl 0x10032325
mov dword [ebp - 0x28], 1
jmp 0x10032329
and dword [ebp - 0x28], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.1000d926
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax]
jge 0x10032346
mov dword [ebp - 0x84], 1
jmp 0x1003234d
and dword [ebp - 0x84], 0
push 3
mov ecx, dword [ebp - 4]
call fcn.1000d926
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
push 2
mov ecx, dword [ebp - 4]
call fcn.1000d926
cmp dword [eax], 0
jl 0x10032381
mov dword [ebp - 0x10], 1
jmp 0x10032385
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0
je 0x1003239c
mov dword [ebp - 0x14], 1
jmp 0x100323a0
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jle 0x100323c2
xor eax, eax
je 0x100323c2
mov dword [ebp - 0x30], 1
jmp 0x100323c6
and dword [ebp - 0x30], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.1000d926
mov esi, dword [eax]
add esi, dword [ebp - 0x30]
push 0
mov ecx, dword [ebp - 4]
call fcn.1000d926
sub esi, dword [eax]
jne 0x100323eb
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
je 0x100323f7
mov dword [ebp - 0x94], 1
jmp 0x100323fe
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x38]
mov esi, dword [eax]
push 2
mov ecx, dword [ebp - 4]
call fcn.1000d926
cmp esi, dword [eax]
jge 0x10032425
mov dword [ebp - 0x40], 1
jmp 0x10032429
and dword [ebp - 0x40], 0
push 3
mov ecx, dword [ebp - 4]
call fcn.1000d926
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
jmp 0x10032442
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x10032467
push 0
push 0x323c
push 0xa76
push 0x7a5f
push 0x42d3
push 0x2dd7
call fcn.100208af
add esp, 0x18
pop esi
mov esp, ebp
pop ebp
ret