Function at 0x100372cc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086263
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push esi
and dword [ebp - 0xbc], 0
lea ecx, [ebp - 0x188]
call fcn.10039c68
and dword [ebp - 4], 0
mov dword [ebp - 0x40], 0xfffffffb
push 1
lea ecx, [ebp - 0x128]
call fcn.100289a7
mov byte [ebp - 4], 1
mov dword [ebp - 0xf0], 1
push 1
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.10036a8b
add esp, 0xc
mov dword [ebp - 0x40], 0xfffffff3
jmp 0x1003734b
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
je 0x100373dd
mov dword [ebp - 0x14], 0x236432a2
mov dword [ebp - 0x14], 0x14
jmp 0x1003736c
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffffa
jg 0x100373a0
mov dword [ebp - 0x100], 0xffffffff
lea eax, [ebp - 0x100]
push eax
push 0x56e8
push 0
push 0x9b6
lea eax, [ebp - 0x128]
push eax
call fcn.10038597
add esp, 0x14
jmp 0x10037365
mov dword [ebp - 0x14], 0
jmp 0x100373b0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x100373d8
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.10037e57
add esp, 0x14
jmp 0x100373a9
jmp 0x10037344
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.10028a0f
mov eax, dword [ebp + 0xc]
shr eax, 1
push eax
lea ecx, [ebp - 0x188]
call fcn.10039d24
mov dword [ebp - 0x15c], 1
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1003742c
push 0x2c84
push 0x52e
push 0x3f43
push 0
call fcn.10036cdc
add esp, 0x10
mov byte [ebp - 0x25], 0
lea eax, [ebp - 0x25]
push eax
push 1
call fcn.10036afc
pop ecx
pop ecx
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0xc]
jae 0x10037c78
push 3
lea ecx, [ebp - 0x110]
call fcn.100289a7
mov byte [ebp - 4], 2
push 2
lea ecx, [ebp - 0x140]
call fcn.100289a7
mov byte [ebp - 4], 3
mov dword [ebp - 0x1c], 0
jmp 0x1003747f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x1003749b
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x110]
call fcn.10028a14
mov dword [eax], 0x2e91a049
jmp 0x10037478
mov dword [ebp - 0x1c], 0
jmp 0x100374ab
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x100374c7
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x140]
call fcn.10028a14
mov dword [eax], 0xa39ed080
jmp 0x100374a4
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x100374e7
push 0
push 0x5b02
push 0x70ab
call fcn.10039b9c
add esp, 0xc
push 1
lea ecx, [ebp - 0x110]
call fcn.10028a14
mov dword [eax], 0xffffffed
jmp 0x10037517
push 1
lea ecx, [ebp - 0x110]
call fcn.10028a14
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x110]
call fcn.10028a14
cmp dword [eax], 2
jl 0x1003755e
mov dword [ebp - 0xf8], 0xffff
mov esi, dword [ebp - 0xf8]
push 0
lea ecx, [ebp - 0x140]
call fcn.10028a14
mov dword [eax], esi
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1003755c
push 0
call fcn.100381e2
pop ecx
jmp 0x100374fc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x140]
call fcn.10028a0f
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.10028a0f
mov dword [ebp - 0x18], 0x32ffab8c
mov dword [ebp - 0x48], 0x14a9bacd
push 2
lea ecx, [ebp - 0x11c]
call fcn.100289a7
mov byte [ebp - 4], 4
mov dword [ebp - 0x58], 0
jmp 0x100375ab
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x100375c4
push dword [ebp - 0x58]
lea ecx, [ebp - 0x11c]
call fcn.10028a14
and dword [eax], 0
jmp 0x100375a4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x18], 0xfffffff8
jne 0x100375df
mov dword [ebp - 0xa0], 1
jmp 0x100375e6
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xa0]
jle 0x100375fd
cmp dword [ebp - 0x18], 0
jne 0x100375fd
and dword [ebp - 0x70], 0
jmp 0x10037604
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x18], eax
jne 0x1003761e
mov dword [ebp - 0xe8], 1
jmp 0x10037625
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x148], eax
push 1
lea ecx, [ebp - 0x11c]
call fcn.10028a14
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
imul esi, dword [ebp - 0x18], 0xfffe
push 0
lea ecx, [ebp - 0x11c]
call fcn.10028a14
cmp esi, dword [eax]
jl 0x1003767f
mov byte [ebp - 0x23], 0
movzx eax, byte [ebp - 0x23]
test eax, eax
je 0x1003767d
push 0
push 0x4251
push 0x6a0f
push 0x6ba6
call fcn.10039bda
add esp, 0x10
jmp 0x100376c7
mov dword [ebp - 0xe4], 0xfffa
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0x6be7
push 0x3d7b
lea eax, [ebp - 0x18]
push eax
push 1
call fcn.10036b55
add esp, 0x1c
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x100376c7
push 0
call fcn.10037dec
pop ecx
mov dword [ebp - 0x48], 0x1b40e11a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11c]
call fcn.10028a0f
lea eax, [ebp - 0x5c]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x2c], 0xffffffff
push 1
lea ecx, [ebp - 0xc8]
call fcn.100289a7
mov byte [ebp - 4], 5
mov dword [ebp - 0xa8], 0xffffffff
mov dword [ebp - 0x150], 5
lea eax, [ebp - 0x144]
push eax
push 1
push 0x3bdb
lea eax, [ebp - 0xc8]
push eax
push 0x55aa
push 0x717
call fcn.10036c3e
add esp, 0x18
mov dword [ebp - 0x2c], 0
jmp 0x10037749
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 7
jg 0x1003792b
mov dword [ebp - 0x34], 0x8470
mov dword [ebp - 0x60], 0xfffffff6
mov dword [ebp - 0xec], 0xffffffff
push 0
lea ecx, [ebp - 0xc8]
call fcn.10028a14
mov esi, eax
push 0
lea ecx, [ebp - 0xc8]
call fcn.10028a14
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x10037796
mov dword [ebp - 0x68], 1
jmp 0x1003779a
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x160], eax
push 0
lea ecx, [ebp - 0xc8]
call fcn.10028a14
cmp dword [eax], 1
jl 0x100377c1
mov dword [ebp - 0x98], 1
jmp 0x100377c8
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x34], eax
je 0x100377e2
mov dword [ebp - 0x78], 1
jmp 0x100377e6
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x78], eax
jg 0x100377fa
mov dword [ebp - 0x9c], 1
jmp 0x10037801
and dword [ebp - 0x9c], 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.10028a14
mov ecx, dword [ebp - 0x9c]
sub ecx, dword [eax]
add ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0xa8]
jg 0x1003782a
mov dword [ebp - 0x80], 1
jmp 0x1003782e
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 6
ja 0x10037840
mov dword [ebp - 0xb0], 1
jmp 0x10037847
and dword [ebp - 0xb0], 0
push 0
lea ecx, [ebp - 0xc8]
call fcn.10028a14
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
jge 0x1003786a
mov dword [ebp - 0x88], 1
jmp 0x10037871
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0xfffffff6
jle 0x10037886
mov dword [ebp - 0x90], 1
jmp 0x1003788d
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x90], eax
jg 0x100378a7
mov dword [ebp - 0xb8], 1
jmp 0x100378ae
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0xb8], eax
jne 0x100378c2
mov dword [ebp - 0x6c], 1
jmp 0x100378c6
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x6c]
je 0x100378da
mov dword [ebp - 0xd8], 1
jmp 0x100378e1
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x34]
cmp eax, 9
jae 0x10037901
or eax, 0xffffffff
jne 0x10037901
and dword [ebp - 0x64], 0
jmp 0x10037908
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x64]
jg 0x10037919
mov dword [ebp - 0x7c], 1
jmp 0x1003791d
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xec], eax
jmp 0x10037742
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.10028a0f
and dword [ebp - 0x50], 0
jmp 0x1003794e
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x50], 2
jae 0x10037abc
mov dword [ebp - 0x30], 0x29bf
mov dword [ebp - 0x84], 0x111d0188
mov dword [ebp - 0x8c], 0xcc9105fa
push 3
lea ecx, [ebp - 0x134]
call fcn.100289a7
mov byte [ebp - 4], 6
push 0x537c
push 0
push 0x6a0d
push 0x6ed9
push 0x62a6
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.10036e33
add esp, 0x1c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x8c]
push eax
push 1
call fcn.10036cdc
add esp, 0x10
mov dword [ebp - 0x30], 0
jmp 0x100379dc
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jg 0x10037a6d
mov dword [ebp - 0x164], 1
mov dword [ebp - 0x104], 0xfffb
mov dword [ebp - 0x4c], 0
jmp 0x10037a0a
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 4
jge 0x10037a20
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x198], 3
jmp 0x10037a03
lea eax, [ebp - 0x84]
push eax
push 1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0x2b47
push 0x441e
call fcn.10036e33
add esp, 0x1c
push 0xe89
push 0x3d3c
push 1
lea eax, [ebp - 0x104]
push eax
call fcn.100370e5
add esp, 0x10
jmp 0x100379d5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.10028a0f
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x44]
xor edx, edx
div dword [0x10676b40]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx eax, byte [eax + edx]
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.1002a0bd
pop ecx
pop ecx
mov ecx, dword [ebp - 0xf4]
add ecx, dword [ebp - 0x50]
mov byte [ecx], al
jmp 0x10037940
mov dword [ebp - 0x10], 0x32ffab8c
mov dword [ebp - 0x38], 0x14a9bacd
push 2
lea ecx, [ebp - 0xd4]
call fcn.100289a7
mov byte [ebp - 4], 7
mov dword [ebp - 0x54], 0
jmp 0x10037aeb
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x10037b04
push dword [ebp - 0x54]
lea ecx, [ebp - 0xd4]
call fcn.10028a14
and dword [eax], 0
jmp 0x10037ae4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x10], 0xfffffff8
jne 0x10037b1f
mov dword [ebp - 0x94], 1
jmp 0x10037b26
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x94]
jle 0x10037b40
cmp dword [ebp - 0x10], 0
jne 0x10037b40
and dword [ebp - 0xa4], 0
jmp 0x10037b4a
mov dword [ebp - 0xa4], 1
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x10], eax
jne 0x10037b67
mov dword [ebp - 0xfc], 1
jmp 0x10037b6e
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x170], eax
push 1
lea ecx, [ebp - 0xd4]
call fcn.10028a14
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
imul esi, dword [ebp - 0x10], 0xfffe
push 0
lea ecx, [ebp - 0xd4]
call fcn.10028a14
cmp esi, dword [eax]
jl 0x10037bc0
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x10037bbb
push 0
push 0x6f69
call fcn.10037e17
pop ecx
pop ecx
jmp 0x10037c42
mov dword [ebp - 0xdc], 0xfffa
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x10037bf4
push 0
lea ecx, [ebp - 0xd4]
call fcn.10028a14
cmp dword [eax], 0
je 0x10037bf4
mov dword [ebp - 0xac], 1
jmp 0x10037bfb
and dword [ebp - 0xac], 0
push 0
lea ecx, [ebp - 0xd4]
call fcn.10028a14
mov ecx, dword [ebp - 0xdc]
cmp dword [eax], ecx
jle 0x10037c1e
mov dword [ebp - 0xb4], 1
jmp 0x10037c25
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xac]
add eax, dword [ebp - 0xb4]
mov dword [ebp - 0x10], eax
push 1
push 0x1268
call fcn.1003715b
pop ecx
pop ecx
lea eax, [ebp - 0x38]
push eax
push 0
call fcn.10039af9
pop ecx
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.10028a0f
lea eax, [ebp - 0x188]
push eax
push 1
lea eax, [ebp - 0x5c]
push eax
call fcn.100371a7
add esp, 0xc
jmp 0x10037441
mov dword [ebp - 0x3c], 0xb3ae3556
mov dword [ebp - 0x3c], 0
jmp 0x10037c8f
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffe5
jle 0x10037cda
mov dword [ebp - 0xe0], 0x83111738
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x24]
test eax, eax
je 0x10037cb9
push 0x6a76
push 1
call fcn.10037216
pop ecx
pop ecx
lea eax, [ebp - 0xe0]
push eax
push 0x5c4d
push 1
push 0x16bb
lea eax, [ebp - 0x3c]
push eax
call fcn.1003724b
add esp, 0x14
jmp 0x10037c88
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10037cee
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [ebp - 0x188]
push eax
mov ecx, dword [ebp + 8]
call fcn.10039c7b
mov eax, dword [ebp - 0xbc]
or eax, 1
mov dword [ebp - 0xbc], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.10039cc5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret